Details
-
Bug
-
Resolution: Fixed
-
Minor
-
2.0
-
None
-
None
Description
/* Before going into fullscreen editing, record the element's original dimensions. */ document.observe('xwiki:fullscreen:enter', function(event) { var codeMirror = getCodeMirrorFromFullScreenEvent(event); var editorDiv = codeMirror.getWrapperElement(); ...
and
/* Fullscreen left by pressing the bottom button. */ document.observe('xwiki:fullscreen:exited', function(event) { var codeMirror = getCodeMirrorFromFullScreenEvent(event); toggleFullscreenEditing(codeMirror, false); });
In both cases, codeMirror can be null if the current textarea is a simple one.
However, the exception is a silent one and does not break the functionality.