mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-28 04:52:40 +00:00
Update client/homebrew/editor/editor.jsx
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user