mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 03:39:01 +08:00
74bfdc5bef
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. |
||
---|---|---|
.. | ||
core | ||
extension-blockquote | ||
extension-bold | ||
extension-bubble-menu | ||
extension-bullet-list | ||
extension-character-count | ||
extension-code | ||
extension-code-block | ||
extension-code-block-lowlight | ||
extension-collaboration | ||
extension-collaboration-cursor | ||
extension-color | ||
extension-document | ||
extension-dropcursor | ||
extension-floating-menu | ||
extension-focus | ||
extension-font-family | ||
extension-gapcursor | ||
extension-hard-break | ||
extension-heading | ||
extension-highlight | ||
extension-history | ||
extension-horizontal-rule | ||
extension-image | ||
extension-italic | ||
extension-link | ||
extension-list-item | ||
extension-list-keymap | ||
extension-mention | ||
extension-ordered-list | ||
extension-paragraph | ||
extension-placeholder | ||
extension-strike | ||
extension-subscript | ||
extension-superscript | ||
extension-table | ||
extension-table-cell | ||
extension-table-header | ||
extension-table-row | ||
extension-task-item | ||
extension-task-list | ||
extension-text | ||
extension-text-align | ||
extension-text-style | ||
extension-typography | ||
extension-underline | ||
extension-youtube | ||
html | ||
pm | ||
react | ||
starter-kit | ||
suggestion | ||
vue-2 | ||
vue-3 |