Multiple instances #1879
Unanswered
fkretlow
asked this question in
Questions & Help
Replies: 1 comment 2 replies
-
Hmm, using multiple instances should be absolutely no problem. Is there any chance you could reproduce this in a codesandbox? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on an app where I need to handle multiple small instances of the editor. I had a weird bug where all but the first editor ever created would gulp trailing whitespace on input, making it impossible to input spaces.
I found out that this was caused by destroying a previous instance of the editor after creating the new one. I can work around this by being really careful with the order in which creation and destruction are triggered, but it makes me wonder:
Does tiptap/ProseMirror even support working with multiple instances at the same time, or do instances share some internal objects so conflicts are likely to happen at some point down the road?
Beta Was this translation helpful? Give feedback.
All reactions