Added a table of contents snippet

This commit is contained in:
Scott Tolksdorf committed 2016-12-03 15:47:20 -05:00
1 parent d96ac0f3ca
commit be783e5f6b
7 files changed
+137 -7

No files matched your search

+5 -1
View File
@@ -82,7 +82,11 @@ const Editor = React.createClass({
render : function(){
return(
<div className='editor' ref='main'>
<SnippetBar onInject={this.handleInject} onToggle={this.handgleToggle} showmeta={this.state.showMetadataEditor} />
<SnippetBar
brew={this.props.value}
onInject={this.handleInject}
onToggle={this.handgleToggle}
showmeta={this.state.showMetadataEditor} />
{this.renderMetadataEditor()}
<CodeEditor
ref='codeEditor'