Prevent a custom item from being deleted #3029
Unanswered
kgish
asked this question in
Questions & Help
Replies: 3 comments 1 reply
-
@kgish did you find any solution? |
Beta Was this translation helpful? Give feedback.
1 reply
-
your use case might be different but I am using this and it works good for me. The code goes in the Extension.create settings under 'addProseMirrorPlugins': #181 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can simply add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have created an extension for tiptap and it works fine within the editor window.
However, I want it to be readonly meaning that the user cannot delete it, e.g. backspace, select and delete, etc.
How can I achieve this?
Beta Was this translation helpful? Give feedback.
All reactions