0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-25 03:12:40 +00:00

Initial pass at Editor Toolbar - Undo and Redo.

This commit is contained in:
G.Ambatte
2021-09-19 19:26:44 +12:00
parent aec8133046
commit 9bc52b412c
3 changed files with 35 additions and 0 deletions

View File

@@ -112,6 +112,12 @@ const CodeEditor = createClass({
updateSize : function(){
this.codeMirror.refresh();
},
redo : function(){
this.codeMirror.redo();
},
undo : function(){
this.codeMirror.undo();
},
//----------------------//
render : function(){