Fullscreen issue, mce-fullscreen is removed when inserting image, special char, video, etc that use popup
See original GitHub issueHi,
When performing some third party product test, I found fullscreen issue. See Attachment, When fullscreen is enabled and inserting image, video, anchor that use popup, they remove mce-fullscreen class (See Attachment)
It means the css rules to control z-index of tinymce container isn’t used in that point and makes other div elements around it which has bigger z-index value will stack on it.
I tested that on https://www.tinymce.com, seems how the website menu stacks on tinyMCE toolbar, and it makes me can’t click any tinymce’s toolbar button.
I have checked fullscreen plugin code and found that it adds mce-fullscreen class for 3 different divs
var body = document.body, documentElement = document.documentElement, editorContainer;
editorContainer = editor.getContainer();
...
DOM.addClass(body, 'mce-fullscreen');
DOM.addClass(documentElement, 'mce-fullscreen');
DOM.addClass(editorContainer, 'mce-fullscreen');
and they (performing insert with popup) remove 2 of them
DOM.addClass(body, 'mce-fullscreen');
DOM.addClass(documentElement, 'mce-fullscreen');
Issue Analytics
- State:
- Created 7 years ago
- Comments:6
Top Results From Across the Web
Elementor popups issue | WordPress.org
I created a fullscreen popup, i added a slider to show 1 slide at a time, then in my main page i went...
Read more >Full Screen plugin | Docs - TinyMCE
The plugin adds a toolbar button and a menu item Fullscreen under the View menu. Full screen mode can be toggled using the...
Read more >Anki 2.1.50 Beta 1 & 2 - Beta Testing - Anki Forums
I am assuming some menu should pop up when you click on the tag icon, because it changes to have a + sign...
Read more >How to get TinyMCE fullscreen mode to work with Bootstrap ...
For "fullscreen" TinyMCE, over the top of the Bootstrap nav bar, you just need to set the z-index of the .mce-fullscreen class to...
Read more >GQview - Version History - SourceForge
Fix occasional crash in icon view when removing files. Always use ... Fix using [Escape] key to close image windows from eventually leading...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep, a duplicate, and it has already been fixed! Will be included in the next release. ✌️
@fauzi16 Current plans are to have the next release out in December.