Skip to content

Commit

Permalink
Use safer selector for finding iframe.
Browse files Browse the repository at this point in the history
  • Loading branch information
engineering-this authored Jun 13, 2019
1 parent cc94e03 commit 53072d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/wysiwygarea/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
detach: function() {
var editor = this.editor,
doc = editor.document,
iframe = editor.container.findOne( 'iframe' ),
iframe = editor.container.findOne( 'iframe.cke_wysiwyg_frame' ),
onResize;

framedWysiwyg.baseProto.detach.call( this );
Expand Down

0 comments on commit 53072d4

Please sign in to comment.