tiptap/tests/cypress
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
..
fixtures move tests 2020-04-17 13:05:43 +02:00
integration feat: error handling of invalid content for a schema (#5178) 2024-06-04 09:32:54 +02:00
plugins React context implementation for Tiptap (#4192) 2023-07-11 18:20:43 +02:00
support Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
tsconfig.json React context implementation for Tiptap (#4192) 2023-07-11 18:20:43 +02:00