Skip to content

Commit a1309c2

Browse files
committed
MC-38807: Preview Template button does not work in Queue Edit Page
1 parent aa272e6 commit a1309c2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,13 @@ define([
749749
*/
750750
addContentEditableAttributeBackToNonEditableNodes: function () {
751751
jQuery('.mceNonEditable', this.activeEditor().getDoc()).attr('contenteditable', false);
752+
},
753+
754+
/**
755+
* Calls the save method on all editor instances in the collection.
756+
*/
757+
triggerSave: function () {
758+
tinyMCE4.triggerSave();
752759
}
753760
};
754761

0 commit comments

Comments
 (0)