tiptap/docs/api
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
..
commands chore(pm): update all prosemirror package dependencies (#4714) 2024-01-02 13:38:28 +01:00
extensions Sync develop with main 2023-09-14 17:33:32 +02:00
marks revert: remove 'whenNotEditable' as option for openOnClick" (#5040) 2024-05-24 16:58:58 +02:00
nodes docs: fix arguments (#5044) 2024-04-09 11:04:48 +02:00
utilities Update suggestion.md 2024-02-29 13:39:55 +01:00
commands.md merge main 2023-11-23 09:28:26 +01:00
editor.md docs: Improve introducing examples in the documentation (#4334) 2023-08-18 10:53:07 -07:00
events.md feat: error handling of invalid content for a schema (#5178) 2024-06-04 09:32:54 +02:00
extensions.md docs: fix nodes list 2023-03-29 18:18:12 +02:00
introduction.md feat(pm): new prosemirror package for dependency resolving 2023-02-02 17:37:33 +01:00
keyboard-shortcuts.md docs: complete hard break shortcuts 2023-09-04 09:48:47 +02:00
marks.md Merge branch 'main' of https://github.com/ueberdosis/tiptap into docs/remove-gridsome 2021-09-17 23:45:04 +02:00
nodepos.md Update Tiptap version in NodePos documentation 2024-01-29 13:50:39 +01:00
nodes.md docs: fix nodes list 2023-03-29 18:18:12 +02:00
schema.md feat: error handling of invalid content for a schema (#5178) 2024-06-04 09:32:54 +02:00