tiptap/tests/cypress/integration
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
extensions fix: disable parsing javascript: links, add tests 2024-05-16 17:10:15 +02:00
html add precommit hook for linting and automatic eslint fixes + update eslint packages (#2862) 2022-06-08 14:10:25 +02:00