@ingorichter Oops sorry, should be `editor.getRootElement().ownerDocument.defaultView.$`