Nick Perez
6a0f4f30f8
fix(react): attempt to cleanup editor instances, on creation #5492 ( #5496 )
...
The core of the change ended up being quite simple, because we can create the editor within the first render, we need to already schedule it's destruction.
Scheduling a destruction, ensures that an instance that was created in that first render pass can be cleaned up.
Waiting one more tick than before ensures that we don't accidentally destroy an editor instance that could actually be valid in the next render pass.
In StrictMode, there will be two editor instances created, the first will be created & quickly destroyed in 2 ticks.
In Normal React, there will only ever be 1 instance created and destroyed only on unmount.
2024-08-15 08:55:42 +02:00
github-actions[bot]
3f5dbbbaad
chore(release): release version v2.6.3 ( #5484 )
2024-08-14 20:52:53 +02:00
Mark Hemmings
c36e4c3afc
fix: Use undefined for type attribute default ( #5491 )
2024-08-14 20:50:11 +02:00
Tom Jenkinson
da76972998
fix(core): resolve text selection issues #2690 #5208 ( #4646 )
2024-08-13 22:46:16 +02:00
github-actions[bot]
b75454e3a4
chore(release): release version 2.6.2 ( #5482 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-13 18:20:54 +02:00
Nick the Sick
d4d99e8ad3
fix(react): the editor passed into EditorContent can be null
2024-08-13 18:19:03 +02:00
Nick the Sick
6d1621c513
chore: rm redundant export
2024-08-13 13:22:27 +02:00
github-actions[bot]
d137c3181f
chore(release): release version 2.6.1 ( #5480 )
2024-08-13 12:49:49 +02:00
Nick Perez
a42692e479
fix(react): update typescript types to be backwards-compatible ( #5479 )
2024-08-13 12:47:04 +02:00
Nick the Sick
b30462a2c6
chore: depend on @tiptap/pm #3746
2024-08-13 10:24:43 +02:00
Nick the Sick
c02da54e3f
chore: package-lock
2024-08-13 10:23:54 +02:00
github-actions[bot]
b2d5c94c4d
chore(release): release version 2.6.0 ( #5458 )
2024-08-13 09:04:51 +02:00
Nick the Sick
af529f9860
chore: name as patch
2024-08-13 08:52:08 +02:00
dependabot[bot]
ef304e3fba
build(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6 ( #5471 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.5...v4.3.6 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 15:22:09 +02:00
Nick the Sick
a3ceec79e8
chore: resolve to root dir
2024-08-12 14:23:11 +02:00
Nick the Sick
f6fc8165ba
chore: package-lock dedupe
2024-08-12 14:14:53 +02:00
Nick the Sick
5270b5c43d
chore: dedupe esbuild
2024-08-12 14:13:46 +02:00
Nick the Sick
157d9d8604
chore: pin esbuild
2024-08-12 14:06:25 +02:00
Nick the Sick
df9f6967c2
docs: fix demos resolution of y-prosemirror
2024-08-12 13:50:19 +02:00
Nick the Sick
fef96a04bb
chore: explicit dep for demos
2024-08-12 12:27:11 +02:00
Nick the Sick
ff19f241a1
chore: bump deps
2024-08-12 11:33:03 +02:00
Nick the Sick
2c6590b3d4
fix: update docs and add tests for collaboration and priority docs
2024-08-12 11:14:41 +02:00
Nick the Sick
e11aa0de22
chore: initialize the collaboration cursor after the collaboration plugin
2024-08-12 11:02:32 +02:00
Nick the Sick
fa17c2374f
chore: update deps to bundle
2024-08-12 10:59:50 +02:00
Nantris
222f2aca62
feat: update splitListItem to allow setting attrs ( #4253 )
2024-08-11 22:38:01 +02:00
Stepan Yurtsiv
08b4319215
fix(link): Do not convert link href
to number or boolean ( #5391 )
2024-08-11 19:48:54 +02:00
Ikko Eltociear Ashimine
84febb29c7
docs: update README.md ( #5331 )
...
inviduals -> individuals
2024-08-10 11:55:38 +02:00
Nick Perez
8ea34e405e
fix(react): event handlers called once per event type #5463 ( #5465 )
2024-08-10 11:54:49 +02:00
Nick the Sick
3efb23be9b
chore: update license year
2024-08-09 14:18:53 +02:00
Bastian Rihm
da7b337c3b
feat(ordered-list): add type
attribute ( #5344 )
2024-08-09 08:00:14 +02:00
Nick Perez
e31673d347
fix(react): resolves React NodeView performance issues ( #5273 )
2024-08-09 07:56:19 +02:00
David Newell
86a855355f
feat(core): add getContent
to nodePasteRules ( #4212 )
2024-08-09 07:34:17 +02:00
Nick Perez
c7fd0f80af
fix(react): update the types to reflect true options #5459 ( #5460 )
2024-08-08 08:27:10 +02:00
Nick the Sick
7280e2931e
docs: onTransaction has an editor prop
2024-08-07 17:50:04 +02:00
Nick the Sick
597c78156a
docs: update types to reflect setting plugin and pluginkey for meta
2024-08-07 17:29:58 +02:00
Nick Perez
c0e631f875
fix: bump priority of text-style extension fixes #4742 ( #5457 )
2024-08-07 15:39:49 +02:00
wagich
be63e59050
fixes vue 3 custom node views when using class components ( #5410 )
2024-08-07 15:08:42 +02:00
github-actions[bot]
535dcccb40
chore(release): publish version v2.5.9 ( #5451 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-06 17:03:26 +02:00
Nick the Sick
c01eccc0ea
chore: make into a patch version
2024-08-06 16:53:31 +02:00
Nick the Sick
273e18bd87
Merge branch 'main' into develop
2024-08-06 16:37:34 +02:00
Nick Perez
d6e56c41e3
fix(extension-code-block-lowlight): use lowlight v3 and update demos ( #5374 )
2024-08-06 13:53:58 +02:00
Nick Perez
4b215f794e
fix(code-block): respect defaultLanguage
on code-block-lowlight add option to code-block
( #5406 )
2024-08-06 12:25:01 +02:00
Nick Perez
174aefe0f1
fix(collaboration): update y-prosemirror, respect onFirstRender
( #5411 )
2024-08-06 11:23:20 +02:00
Nick Perez
ae0254db97
feat(core): add ignoreWhitespace option to isNodeEmpty ( #5446 )
2024-08-06 10:05:50 +02:00
Nick Perez
efb27faf54
fix(core): use correct position for getMarksBetween ( #5412 )
2024-08-05 20:46:23 +02:00
dependabot[bot]
e143fb4ca3
build(deps): bump actions/upload-artifact from 4.3.3 to 4.3.5 ( #5444 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.3 to 4.3.5.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.3...v4.3.5 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 20:35:02 +02:00
dependabot[bot]
3f4e2808bb
build(deps): bump cypress-io/github-action from 6.7.1 to 6.7.2 ( #5443 )
...
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action ) from 6.7.1 to 6.7.2.
- [Release notes](https://github.com/cypress-io/github-action/releases )
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/cypress-io/github-action/compare/v6.7.1...v6.7.2 )
---
updated-dependencies:
- dependency-name: cypress-io/github-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 20:34:39 +02:00
Nick Perez
c1ff1b0d4d
fix(placeholder): add back-compat to deprecated placeholder functionality ( #5409 )
2024-08-05 18:09:10 +02:00
Nick Perez
7c8889a2a6
fix(react): optimize useEditor
and useEditorState
to reduce number of instances created while being performant #5432 ( #5445 )
2024-08-05 17:46:19 +02:00
svenadlung
bde3328ba2
docs: update demo styles
2024-08-01 12:51:45 +02:00