mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-12-07 09:18:06 +00:00
Remove final vestiges of undo/redo buttons
This commit is contained in:
@@ -152,21 +152,6 @@ CodeMirrorEngine.prototype.executeTextOperation = function(operation) {
|
||||
return newText;
|
||||
};
|
||||
|
||||
/*
|
||||
Execute a command
|
||||
*/
|
||||
CodeMirrorEngine.prototype.execCommand = function(command) {
|
||||
this.cm.focus();
|
||||
switch(command) {
|
||||
case "undo":
|
||||
this.cm.execCommand("undo", false, null);
|
||||
break;
|
||||
case "redo":
|
||||
this.cm.execCommand("redo", false, null);
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
exports.CodeMirrorEngine = CodeMirrorEngine;
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user