Roo/HtmlEditorCore.js
authorAlan <alan@roojs.com>
Tue, 28 Dec 2021 04:42:43 +0000 (12:42 +0800)
committerAlan <alan@roojs.com>
Tue, 28 Dec 2021 04:42:43 +0000 (12:42 +0800)
Roo/HtmlEditorCore.js

index a16381e..7750c3f 100644 (file)
@@ -658,6 +658,10 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
 
     onEditorEvent : function(e)
     {
+        
+        if (e && (e.ctrlKey || e.metaKey) && e.keyCode === 90) {
+            return; // we do not handle this.. (undo manager does..)
+        }
         this.owner.fireEvent('editorevent', this, e);
       //  this.updateToolbar();
         this.syncValue(); //we can not sync so often.. sync cleans, so this breaks stuff