Onresize event handle
Plaese press F12, open the develop tools.
state.loaded > bind onresize event > window.onresize, editormd watch/unwatch/fullscreen/fullscreenExit/toolbar show|hide > trigger onresize event handle