- md5
- 3c399f21271574f23ae8f5c6f458186e
- sha1
- a0bb79f30ae727a848bead1393acac42c8d373f0
- sha256
- 017ecd5ab072353841b7feae08295ed9a0b9b3f1971b0c78afa382a268e31ed7
!function(){"use strict";var e=function(n){var t=n,i=function(){return t};return{get:i,set:function(e){t=e},clone:function(){return e(i())}}},n=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e){return{isFullscreen:function(){return null!==e.get()}}},i=function(e,n){e.fire("FullscreenStateChanged",{state:n})},r=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils").DOM,l=function(e,n){var t,l,o,c,s,u,d=document.body,a=document.documentElement,h=n.get(),f=function(){var e,n,t,i;r.setStyle(o,"height",(t=window,i=document.body,i.offsetWidth&&(e=i.offsetWidth,n=i.offsetHeight),t.innerWidth&&t.innerHeight&&(e=t.innerWidth,n=t.innerHeight),{w:e,h:n}).h-(l.clientHeight-o.clientHeight))},m=function(){r.unbind(window,"resize",f)};if(t=(l=e.getContainer()).style,c=(o=e.getContentAreaContainer().firstChild).style,h)c.width=h.iframeWidth,c.height=h.iframeHeight,h.containerWidth&&(t.width=h.containerWidth),h.containerHeight&&(t.height=h.containerHeight),r.removeClass(d,"mce-fullscreen"),r.removeClass(a,"mce-fullscreen"),r.removeClass(l,"mce-fullscreen"),s=h.scrollPos,window.scrollTo(s.x,s.y),r.unbind(window,"resize",h.resizeHandler),e.off("remove",h.removeHandler),n.set(null),i(e,!1);else{var g={scrollPos:(u=r.getViewPort(),{x:u.x,y:u.y}),containerWidth:t.width,containerHeight:t.height,iframeWidth:c.width,iframeHeight:c.height,resizeHandler:f,removeHandler:m};c.width=c.height="100%",t.width=t.height="",r.addClass(d,"mce-fullscreen"),r.addClass(a,"mce-fullscreen"),r.addClass(l,"mce-fullscreen"),r.bind(window,"resize",f),e.on("remove",m),f(),n.set(g),i(e,!0)}},o=function(e,n){e.addCommand("mceFullScreen",function(){l(e,n)})},c=function(e){return function(n){var t=n.control;e.on("FullscreenStateChanged",function(e){t.active(e.state)})}},s=function(e){e.addMenuItem("fullscreen",{text:"Fullscreen",shortcut:"Ctrl+Shift+F",selectable:!0,cmd:"mceFullScreen",onPostRender:c(e),context:"view"}),e.addButton("fullscreen",{active:!1,tooltip:"Fullscreen",cmd:"mceFullScreen",onPostRender:c(e)})};n.add("fullscreen",function(n){var i=e(null);return n.settings.inline?t(i):(o(n,i),s(n),n.addShortcut("Ctrl+Shift+F","","mceFullScreen"),t(i))})}();
No other release has this exact content. See every version of this file.