| Steps to reproduce: 1. Open any page in wiki mode 2. Click on Maximize icon 3. Click on on Preview 4. Click on Back to Edit Expected results: Maximize icon and “Exit Full Screen” button are displayed on the screen. Actual results: Maximize icon and “Exit Full Screen” button disappear after Preview → Back to Edit Also in JS Console the following error is displayed: ```fullScreen.js:254 Uncaught TypeError: Cannot read properties of undefined (reading 'hide') at klass.makeFullScreen (fullScreen.js:254:9) at klass.initDom (fullScreen.js:69:16) at HTMLTextAreaElement.<anonymous> (fullScreen.js:406:1) at ce.each (jquery.min.js?r=1:2:3129) at e.<computed>.each (jquery.min.js?r=1:2:1594) at HTMLDocument.<anonymous> (fullScreen.js:406:1) at HTMLDocument.dispatch (jquery.min.js?r=1:2:40035) at v.handle (jquery.min.js?r=1:2:38006) at trigger (jquery.min.js?r=1:2:70124) at h.event.trigger (eventsBridge.js:35:18) fullScreen.js:254 Uncaught TypeError: Cannot read properties of undefined (reading 'hide') at klass.makeFullScreen (fullScreen.js:254:9) at klass.initDom (fullScreen.js:69:16) at HTMLDocument.a (fullScreen.js:406:1) at HTMLDocument.<anonymous> (prototype.js?r=1:7282:15) at fireEvent_DOM (prototype.js?r=1:7141:13) at fire (prototype.js?r=1:7130:17) at k (eventsBridge.js:61:26) at HTMLDocument.fire (prototype.js?r=1:456:23) at Object.initialize (xwiki.js:544:16) at HTMLDocument.<anonymous> (prototype.js?r=1:7282:15)``` Please note that I could not reproduce the issue on XWiki 14.10. |