You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When using addExtensions on a custom topNode to include mandatory extensions (like Text), tiptap throws an Error saying: RangeError: Schema is missing its top node type ('doc')
Steps to reproduce the bug
Steps to reproduce the behavior:
Description
When using
addExtensions
on a custom topNode to include mandatory extensions (like Text), tiptap throws an Error saying:RangeError: Schema is missing its top node type ('doc')
Steps to reproduce the bug
Steps to reproduce the behavior:
CodeSandbox
I created a CodeSandbox to help you debug the issue:
https://codesandbox.io/s/tiptap-issue-template-forked-k5xxp?file=/src/components/Tiptap.vue
Expected behavior
I should just work 😄
Additional context
If you remove
addExtensions
fromLetter
and addParagraph
andText
in the editors extensions directly it works.The text was updated successfully, but these errors were encountered: