bug "Uncaught TypeError: Cannot read property 'contentWindow' of null editor.html:52" fixed