Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.7' into 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
dew326 committed Jul 6, 2018
2 parents cf9100d + ad7fa65 commit 9d89a51
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Resources/public/js/alloyeditor/plugins/embed.js
Expand Up @@ -94,6 +94,16 @@ YUI.add('ez-alloyeditor-plugin-embed', function (Y) {
this._getEzConfigElement();
this.setWidgetContent('');
this._cancelEditEvents();
this.disableUndo();
},

/**
* Disables the undo in CKEditor.
*
* @method disableUndo
*/
disableUndo: function() {
editor.setKeystroke(CKEDITOR.CTRL + 90, false);
},

/**
Expand Down

0 comments on commit 9d89a51

Please sign in to comment.