backdrop-contrib / tinymce

Integration for the TinyMCE editor in Backdrop CMS
https://backdropcms.org/project/tinymce
GNU General Public License v2.0
2 stars 1 forks source link

With multiple editor instances on page make sure opening a dialog sets the current toolbar's editor to the active one #110

Closed indigoxela closed 4 weeks ago

indigoxela commented 4 weeks ago

It is possible to click into an editor (that one's the "active" one then), but then opening a dialog via another editor's toolbar. That leads to content inserted in the "wrong" editor (and the progress state to be wrong, too).

Tiny's own dialogs set the focus on the editor, in which the toolbar button was clicked, and that seems reasonable, too, for our ajax dialogs.