Skip to content

Commit 6501852

Browse files
committed
MC-3812: Text/Banner - Stage Inline Editor becomes focused and editable after clicking Save button on Edit Form
- Use correct API for setting content to ensure unexpected focusing doesn’t occur
1 parent 7755eef commit 6501852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ define([
350350
* @param {String} content
351351
*/
352352
setContent: function (content) {
353-
this.get(this.getId()).execCommand('mceSetContent', false, content);
353+
this.get(this.getId()).setContent(content);
354354
},
355355

356356
/**

0 commit comments

Comments
 (0)