Skip to content
Permalink
Browse files

Fix EZP-21711: Editor scrollbar disappears after zooming in & out in …

…full screen

Backport of the fix introduced in TinyMCE 3.5.5
tinymce/tinymce@59f009d
  • Loading branch information...
dpobel committed Oct 17, 2013
1 parent 9790495 commit 392e1e9fe996a35ff9c4e070d5a473190adc3f30

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -127,7 +127,7 @@
var vp = tinymce.DOM.getViewPort(), fed = t.fullscreenEditor, outerSize, innerSize;

// Get outer/inner size to get a delta size that can be used to calc the new iframe size
outerSize = fed.dom.getSize(fed.getContainer().firstChild);
outerSize = fed.dom.getSize(fed.getContainer().getElementsByTagName('table')[0]);
innerSize = fed.dom.getSize(fed.getContainer().getElementsByTagName('iframe')[0]);

fed.theme.resizeTo(vp.w - outerSize.w + innerSize.w, vp.h - outerSize.h + innerSize.h);

0 comments on commit 392e1e9

Please sign in to comment.
You can’t perform that action at this time.