question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fullscreen issue, mce-fullscreen is removed when inserting image, special char, video, etc that use popup

See original GitHub issue

Hi,

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) fullscreen issue-html

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.

fullscreen issue

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:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
fyrkantcommented, Oct 21, 2016

Yep, a duplicate, and it has already been fixed! Will be included in the next release. ✌️

0reactions
MichaelFromincommented, Oct 31, 2016

@fauzi16 Current plans are to have the next release out in December.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found