mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-31 10:52:42 +00:00
So much polish
This commit is contained in:
@@ -55,6 +55,11 @@ var Icons = [
|
||||
icon : 'fa-arrows-v',
|
||||
snippet : "<div style='margin-top:140px'></div>\n\n",
|
||||
tooltip : "Vertical Spacing"
|
||||
},
|
||||
{
|
||||
icon : 'fa-image',
|
||||
snippet : "<img />",
|
||||
tooltip : "Insert Image"
|
||||
}
|
||||
|
||||
|
||||
@@ -68,6 +73,10 @@ var Editor = React.createClass({
|
||||
};
|
||||
},
|
||||
|
||||
componentDidMount: function() {
|
||||
this.refs.textarea.focus();
|
||||
},
|
||||
|
||||
handleTextChange : function(e){
|
||||
this.props.onChange(e.target.value);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user