diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index cab7eea1..1304df5d 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -96,6 +96,7 @@ const Editor = createClass({ }, handleViewChange : function(newView){ + this.props.setMoveArrows(newView === 'text'); this.setState({ view : newView }, this.updateEditorSize); //TODO: not sure if updateeditorsize needed @@ -232,7 +233,6 @@ const Editor = createClass({ renderEditor : function(){ if(this.isText()){ - this.props.setMoveArrows(true); return <> ; } if(this.isStyle()){ - this.props.setMoveArrows(false); return <> ; } if(this.isMeta()){ - this.props.setMoveArrows(false); return <>