Nick Perez
df5609cdff
fix: default to rendering the editor immediately, while staying backward compatible ( #5161 )
...
* fix: default to rendering the editor immediately, while staying backward compatible
* feat: add `useEditorWithState` hook for extracting state and editor instance simultaneously
* feat(react): add `useEditorState` hook for subscribing to selected editor state
* docs: add an example to show the concept
* chore: add changeset
2024-07-10 11:41:43 +02:00
github-actions[bot]
5c2f67f44d
chore(release): publish a new pre-release version (pre)
2024-07-03 22:55:13 +02:00
github-actions[bot]
3f5be5ed7e
chore(release): publish a new pre-release version (pre)
2024-07-03 21:30:07 +02:00
github-actions[bot]
1f87cd9411
chore(release): publish a new pre-release version (pre)
2024-07-03 20:56:00 +02:00
github-actions[bot]
a20b18cdf0
chore(release): publish a new pre-release version (pre)
2024-07-03 19:55:20 +02:00
github-actions[bot]
42af7a1b7b
chore: version packages (pre) ( #5308 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-03 19:00:05 +02:00
github-actions[bot]
4cbb09ef6d
chore: version packages
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-02 22:26:28 +02:00
Nick the Sick
c96d332364
Merge branch 'main' into develop
2024-07-02 16:21:06 +02:00
github-actions[bot]
d1c5c97e95
chore: version Packages (pre) ( #5280 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-02 05:31:09 +02:00
Nick the Sick
045d9871f1
chore: update package versions for prosemirror
2024-06-28 08:17:13 +02:00
Dominik Biedebach
6af368e703
chore: removed old rollup plugin sizes plugin
2024-06-27 16:15:04 +02:00
Nick the Sick
05856fbe56
v2.5.0-beta.6
2024-06-26 11:14:55 +02:00
Nick the Sick
0e96a2c35e
v2.5.0-beta.5
2024-06-25 17:00:21 +02:00
Nick the Sick
08125c4000
v2.5.0-beta.4
2024-06-18 08:09:54 +02:00
Nick the Sick
d6dc1e0ccf
v2.5.0-beta.3
2024-06-12 09:17:13 +02:00
Nick the Sick
747985b3a7
chore: update package versions for prosemirror
2024-06-11 23:03:14 +02:00
Nick the Sick
4a01716408
v2.5.0-beta.2
2024-06-07 16:49:52 +02:00
Nick the Sick
52002feeed
v2.5.0-beta.1
2024-06-04 10:39:58 +02:00
Nick the Sick
65a06136ac
Merge branch 'main' into develop
2024-06-04 10:30:30 +02:00
Nick Perez
74bfdc5bef
feat: error handling of invalid content for a schema ( #5178 )
...
This change introduces two new top-level options to the editor: `enableContentCheck` & `onContentError` for dealing with content supplied that does not match the prose-mirror schema generated by the set of tiptap extensions.
`enableContentCheck` allows the app developer to opt into the behavior to check for invalid schemas (this change is otherwise backwards compatible).
When true, this will try to parse the document, and any content that does not match the schema will emit a `contentError` which can be listened to via the `onContentError` callback.
2024-06-04 09:32:54 +02:00
Nick the Sick
d36a7ef1d9
v2.5.0-beta.0
2024-05-29 10:43:43 +02:00
tomi-bigpi
32ed87b409
fix: don't init when editor is already destroyed ( #4029 )
2024-05-17 16:18:47 +02:00
bdbch
6a581153d8
v2.4.0
2024-05-14 14:45:38 +02:00
bdbch
b941eea6da
feat: added jsdocs ( #4356 )
...
* added JSDocs for almost all extensions
* start adding commands jsdocs
* add jsdocs for rest of extensions
* add jsdocs for Extensions
* add js docs for all extensions
* add more jsdocs
* add js docs for node spec definitions
2024-05-11 14:30:44 +02:00
cosine
baff4af39e
fix: fix ts error for BubbleMenu and FloatingMenu in @tiptap/react ( #5126 )
2024-05-10 02:50:12 +02:00
Joel
3a21bc1d2f
Update Context.tsx ( #5102 )
2024-05-09 15:47:28 +02:00
Dominik Biedebach
ca4f13461e
v2.3.2
2024-05-08 17:43:53 +02:00
bdbch
dfd5ff5c6b
v2.3.1
2024-04-30 17:27:07 +02:00
svenadlung
b132d9207d
v2.3.0
2024-04-09 13:17:27 +02:00
bdbch
e79523fb8b
v2.2.6
2024-04-06 17:46:17 +02:00
bdbch
d78f99920d
style(react): fix linting issues
2024-04-06 13:15:34 +02:00
Karol Firmanty
8d5077a1a5
fix editor cleanup ( #4973 )
2024-04-06 04:02:05 +02:00
bdbch
51c5e5fc5c
fix linting issues in react exports
2024-04-06 00:15:52 +02:00
bdbch
0e5af53778
v2.2.5
2024-04-06 00:09:00 +02:00
Laurens Lavaert
82979740a6
Export useReactNodeView ( #4996 )
2024-03-27 19:25:51 +01:00
Dominik Biedebach
9a615643ac
v2.2.4
2024-02-23 13:01:19 +01:00
Dominik Biedebach
f8baf792cf
v2.2.3
2024-02-15 16:41:48 +01:00
svenadlung
d308d7c31f
v2.2.2
2024-02-07 13:47:00 +01:00
Sven Adlung
56a5737ed1
fix(react): use ref instead of state in useEditor to prevent rerenders ( #4856 )
2024-02-06 12:13:09 +01:00
bdbch
1c5c087641
v2.2.1
2024-01-31 09:04:52 +01:00
bdbch
6ad92fbd28
v2.2.0
2024-01-29 13:25:37 +01:00
bdbch
731109b566
merge main
2024-01-10 13:57:46 +01:00
bdbch
23b32f805f
v2.1.16
2024-01-10 13:45:34 +01:00
bdbch
46e391aa9d
merge main
2024-01-08 22:30:06 +01:00
bdbch
412b0b92f0
v2.1.15
2024-01-08 20:25:21 +01:00
bdbch
c2232e74a4
v2.2.0-rc.8
2024-01-08 20:22:38 +01:00
Dominik Biedebach
8c99685545
sync with main
2024-01-08 12:54:37 +01:00
Dominik Biedebach
6c7b27f39b
v2.1.14
2024-01-08 12:49:20 +01:00
Eric Hynds
fd8d4c0901
Forward EditorContent
ref ( #4396 )
...
* forward EditorContent ref
* make ref optional
2024-01-02 12:10:13 +01:00
Dominik Biedebach
e128f6cac0
merge main
2023-12-14 13:00:09 +01:00