tiptap/packages
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
..
core feat: error handling of invalid content for a schema (#5178) 2024-06-04 09:32:54 +02:00
extension-blockquote v2.4.0 2024-05-14 14:45:38 +02:00
extension-bold v2.4.0 2024-05-14 14:45:38 +02:00
extension-bubble-menu v2.4.0 2024-05-14 14:45:38 +02:00
extension-bullet-list v2.4.0 2024-05-14 14:45:38 +02:00
extension-character-count v2.4.0 2024-05-14 14:45:38 +02:00
extension-code v2.4.0 2024-05-14 14:45:38 +02:00
extension-code-block fix(extension-code-block): #3604 paste code from vscode (#3606) 2024-05-17 07:50:14 +02:00
extension-code-block-lowlight v2.4.0 2024-05-14 14:45:38 +02:00
extension-collaboration v2.4.0 2024-05-14 14:45:38 +02:00
extension-collaboration-cursor v2.4.0 2024-05-14 14:45:38 +02:00
extension-color v2.4.0 2024-05-14 14:45:38 +02:00
extension-document v2.4.0 2024-05-14 14:45:38 +02:00
extension-dropcursor v2.4.0 2024-05-14 14:45:38 +02:00
extension-floating-menu v2.4.0 2024-05-14 14:45:38 +02:00
extension-focus v2.4.0 2024-05-14 14:45:38 +02:00
extension-font-family v2.4.0 2024-05-14 14:45:38 +02:00
extension-gapcursor v2.4.0 2024-05-14 14:45:38 +02:00
extension-hard-break v2.4.0 2024-05-14 14:45:38 +02:00
extension-heading v2.4.0 2024-05-14 14:45:38 +02:00
extension-highlight v2.4.0 2024-05-14 14:45:38 +02:00
extension-history v2.4.0 2024-05-14 14:45:38 +02:00
extension-horizontal-rule v2.4.0 2024-05-14 14:45:38 +02:00
extension-image v2.4.0 2024-05-14 14:45:38 +02:00
extension-italic v2.4.0 2024-05-14 14:45:38 +02:00
extension-link revert: remove 'whenNotEditable' as option for openOnClick" (#5040) 2024-05-24 16:58:58 +02:00
extension-list-item v2.4.0 2024-05-14 14:45:38 +02:00
extension-list-keymap v2.4.0 2024-05-14 14:45:38 +02:00
extension-mention fix: types for Suggestion command, allowing generic overrides (#4136) 2024-05-17 05:12:04 +02:00
extension-ordered-list v2.4.0 2024-05-14 14:45:38 +02:00
extension-paragraph v2.4.0 2024-05-14 14:45:38 +02:00
extension-placeholder v2.4.0 2024-05-14 14:45:38 +02:00
extension-strike v2.4.0 2024-05-14 14:45:38 +02:00
extension-subscript v2.4.0 2024-05-14 14:45:38 +02:00
extension-superscript v2.4.0 2024-05-14 14:45:38 +02:00
extension-table v2.4.0 2024-05-14 14:45:38 +02:00
extension-table-cell v2.4.0 2024-05-14 14:45:38 +02:00
extension-table-header v2.4.0 2024-05-14 14:45:38 +02:00
extension-table-row v2.4.0 2024-05-14 14:45:38 +02:00
extension-task-item v2.4.0 2024-05-14 14:45:38 +02:00
extension-task-list v2.4.0 2024-05-14 14:45:38 +02:00
extension-text v2.4.0 2024-05-14 14:45:38 +02:00
extension-text-align fix: parse only available configured text-align values (#5169) 2024-05-30 17:09:44 +02:00
extension-text-style v2.4.0 2024-05-14 14:45:38 +02:00
extension-typography v2.4.0 2024-05-14 14:45:38 +02:00
extension-underline v2.4.0 2024-05-14 14:45:38 +02:00
extension-youtube v2.4.0 2024-05-14 14:45:38 +02:00
html fix: whitespace being stripped from generateJSON (#5158) 2024-05-24 13:55:45 +02:00
pm build(deps): bump prosemirror-trailing-node to 2.0.8 (#4949) 2024-05-27 14:48:33 +02:00
react feat: error handling of invalid content for a schema (#5178) 2024-06-04 09:32:54 +02:00
starter-kit v2.4.0 2024-05-14 14:45:38 +02:00
suggestion fix: types for Suggestion command, allowing generic overrides (#4136) 2024-05-17 05:12:04 +02:00
vue-2 v2.4.0 2024-05-14 14:45:38 +02:00
vue-3 v2.4.0 2024-05-14 14:45:38 +02:00