Commit Graph

489 Commits

Author SHA1 Message Date
Nick the Sick
e2787e4736
chore: memoize the editor context value 2024-10-28 16:03:31 +01:00
github-actions[bot]
c206464619
chore(release): release version 2.9.1 (#5757)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-23 11:20:21 +02:00
github-actions[bot]
cbbb8a5d71
chore(release): release version v2.9.0 (#5751)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-22 15:22:38 +02:00
Armando Guarino
304eedb769 fix(react): preserve editable option across renders 2024-10-21 16:38:31 +02:00
github-actions[bot]
5d9b8d0907
chore(release): release version 2.8.0 (#5669) 2024-09-30 16:46:03 +02:00
Nick Perez
6834a7f7d6
build: type defs only emit for a single package's code (#5665) 2024-09-26 14:51:00 +02:00
github-actions[bot]
b2598dc2c2
chore(release): release version 2.7.4 (#5667) 2024-09-26 14:24:01 +02:00
Kartikeya Choudhary
26056aa0c2
feat: add editorContainerProps to EditorProvider (#5661) 2024-09-26 11:47:19 +02:00
github-actions[bot]
e8e4df38d5
chore(release): release version 2.7.3 (#5652)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-25 18:03:01 +02:00
github-actions[bot]
89d5713a62
chore(release): release version 2.7.2 (#5631) 2024-09-19 10:40:48 +02:00
Sven Adlung
cbe06d12db
fix(vue-3): late-registering plugins #5259 (#5616) 2024-09-18 14:46:45 +02:00
github-actions[bot]
20c7c95e54
chore(release): release v2.7.1 (#5627) 2024-09-17 16:03:23 +02:00
Nick the Sick
3809072668
chore: update peer dep versions 2024-09-17 15:43:04 +02:00
Nick the Sick
a170cf4057
chore(release): release v2.7.0 (#5560) 2024-09-17 09:27:38 +02:00
Nick the Sick
5d19e427e9
chore(release): release 2.7.0-pre.0 2024-08-27 15:09:30 +02:00
Nick the Sick
58e91c4175
Merge branch 'main' into develop 2024-08-23 16:28:52 +02:00
github-actions[bot]
ec6121da1c
chore(release): release version 2.6.6 (#5537) 2024-08-23 12:29:35 +02:00
William Park
fafb5adc98
feat: add data attribute on ReactNodeViewContent div (#5539) 2024-08-23 09:28:52 +02:00
bdbch
9e18d243e0
feature(core): add onPaste and onDrop events to editor (#4843) 2024-08-21 18:46:49 +02:00
Nick the Sick
dcffe441c5
Merge branch 'main' into develop 2024-08-21 09:17:27 +02:00
github-actions[bot]
f8d79da29b
chore(release): release version 2.6.5 (#5532) 2024-08-21 09:02:15 +02:00
Nick Perez
7f24a6677b
refactor(core): update typings for NodeViews to be accurate to implementation #5483 (#5526) 2024-08-20 16:25:16 +02:00
Nick the Sick
04bf24aed0
chore: minor docs & renaming 2024-08-20 10:45:36 +02:00
yaokailun
4ff2a4eaa1
feat(react): allow attrs to be a callback 2024-08-18 13:27:30 +02:00
Nick Perez
c99627d7ce
refactor(react): default to using deep equal comparisons (#5512) 2024-08-17 15:27:11 +02:00
github-actions[bot]
ae6cb9d175
chore(release): release version 2.6.4 (#5497) 2024-08-15 10:45:14 +02:00
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
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
github-actions[bot]
b2d5c94c4d
chore(release): release version 2.6.0 (#5458) 2024-08-13 09:04:51 +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 Perez
e31673d347
fix(react): resolves React NodeView performance issues (#5273) 2024-08-09 07:56:19 +02:00
Nick Perez
c7fd0f80af
fix(react): update the types to reflect true options #5459 (#5460) 2024-08-08 08:27:10 +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 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
github-actions[bot]
7d6c9399c6
chore(release): publish a new version 2.5.8 (#5408)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-30 09:13:28 +02:00
Nick Perez
99d7820cbb
fix(react): always cleanup old editor instances (#5414) 2024-07-30 09:06:31 +02:00
bdbch
44e4eca47a
Shared rollup config (#5403)
* add one shared rollup config

* rename to baseConfig
2024-07-27 12:46:39 +02:00
github-actions[bot]
a1c5120a4d
chore: publish a new release version (#5375)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-26 13:58:58 +02:00
Nick the Sick
42dc27aa4b
fix(react): if using a deps array, destroy the previous instance 2024-07-26 13:34:23 +02:00
github-actions[bot]
52f717b3eb chore(release): publish a new release version 2024-07-24 16:58:54 +02:00
github-actions[bot]
22cb038997
chore: release version (#5368)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-22 13:24:28 +02:00
github-actions[bot]
46079c28a6
chore: publish version 2.5.4 (#5361)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-17 15:17:44 +02:00
Nick the Sick
dd7f9ac1c8
build: resolve default exports properly in cjs 2024-07-17 15:11:48 +02:00
github-actions[bot]
e1946c8623
chore(release): publish a new version (#5359)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-17 13:07:59 +02:00
Matic Zavadlal
70eebfdb0c
fix(react): useEditor hook now respects deps array and will re-initialize editor (#5353) 2024-07-17 13:04:39 +02:00