ProseMirror: The ProseMirrorKeyMaps plugin and internal implementation doesn't respect multiple open editors #10139
Labels
bug
Functionality which is not working as intended
text-editor
Issues related to the ProseMirror or legacy TinyMCE text editor
What happened?
The internal handling of the ProseMirrorKeyMaps plugin is always active for the last editor to be opened even if it isn't the current actively selected editor. A quick way to see the symptoms is to open two editors and in the attached video item A is opened before item B. Go back to item A and hit
Ctrl-S
to save and Item B is saved. HitCtrl-S
again and errors will be thrown as Item B is still the target of the internal PM implementation.While this issue pertains to key mapping there may be other internal state aspects to
prosemirror.js
/ PM implementation that doesn't play nice w/ multiple editors open.foundry-pm-bug.mp4
What ways of accessing Foundry can you encounter this issue in?
Reproduction Steps
Described above
What core version are you reporting this for?
v11.313
Relevant log output
No response
Bug Checklist
The text was updated successfully, but these errors were encountered: