0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 20:52:40 +00:00

Merge branch 'master' into Issue_241_Part_II

This commit is contained in:
Trevor Buckner
2024-09-06 23:51:14 -04:00
committed by GitHub
21 changed files with 1040 additions and 56 deletions

View File

@@ -175,7 +175,10 @@ const Editor = createClass({
this.props.setMoveArrows(newView === 'text');
this.setState({
view : newView
}, this.updateEditorSize); //TODO: not sure if updateeditorsize needed
}, ()=>{
this.codeEditor.current?.codeMirror.focus();
this.updateEditorSize();
}); //TODO: not sure if updateeditorsize needed
},
getCurrentPage : function(){