presscustomizr / nimble-builder

Powerful yet very simple ( and free 😍 ) WordPress page builder using the native WordPress live customizer. Compatible with any WordPress theme. Used by 50k+ websites .
https://wordpress.org/plugins/nimble-builder/
Other
10 stars 3 forks source link

[Rich text module][Astra Theme] tinyMceEditor collapses immediately after expansion #856

Closed ghost closed 3 years ago

ghost commented 3 years ago

reported : https://secure.helpscout.net/conversation/1536239354/226323?folderId=610157

This happens with Astra theme, but can potentially occur with any theme or plugin that triggers a 'click' event when another 'click' is listened too. NB will automatically detect a 'sek-click-on-inactive-zone' and close the tinyMCE editor. Solution => remove the editor closing action on 'sek-click-on-inactive-zone'. This has close to zero consequences because the tinymce editor is closed in almost any other user action ( excluding editor opening ) detected 'sek-add-section', 'sek-add-column', 'sek-add-module', 'sek-remove', 'sek-move', 'sek-duplicate', 'sek-resize-columns', 'sek-add-content-in-new-sektion', 'sek-pick-content', 'sek-edit-options', 'sek-edit-module', 'sek-notify'