diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index ce18aa689..5f6a70493 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -70,7 +70,7 @@ const Editor = createClass({ handleInject : function(injectText){ const text = ( this.isText() && this.props.brew.text || - this.isStyle() && (this.props.brew.style || DEFAULT_STYLE_TEXT) + this.isStyle() && (this.props.brew.style ?? DEFAULT_STYLE_TEXT) ); const lines = text.split('\n');