Skip to content

How to synchronize edits between two editor instances? #5829

Closed Answered by nperez0111
punkpeye asked this question in Questions & Help
Discussion options

You must be logged in to vote

Listen for the on update event and then take editor.getJSON() and set the other editor instances with editor.chain().setContent(json).run(). This would synchronize the states between the instances.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nperez0111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants