This commit is contained in:
Tom Moor
2017-10-16 22:05:55 -07:00
parent 1adc983a12
commit aa5b3baf27
2 changed files with 27 additions and 13 deletions

View File

@ -10,7 +10,7 @@ import Flex from 'components/Flex';
import ClickablePadding from './components/ClickablePadding';
import Toolbar from './components/Toolbar';
import Placeholder from './components/Placeholder';
import Minimap from './components/Minimap';
import Contents from './components/Contents';
import Markdown from './serializer';
import createSchema from './schema';
import createPlugins from './plugins';
@ -184,7 +184,7 @@ type KeyData = {
<MaxWidth column auto>
<Header onClick={this.focusAtStart} readOnly={this.props.readOnly} />
<Toolbar state={this.editorState} onChange={this.onChange} />
<Minimap state={this.editorState} />
<Contents state={this.editorState} />
<StyledEditor
innerRef={ref => (this.editor = ref)}
placeholder="Start with a title…"