Publishing Info (#70)

* Restore publishing info
Closes #68

* Prevent document remounting / refetching when changing between edit / read

* Merge master
This commit is contained in:
Tom Moor
2017-05-26 21:58:16 -07:00
committed by GitHub
parent 970bde3e1d
commit 0e293b38c7
8 changed files with 79 additions and 82 deletions

View File

@@ -98,7 +98,7 @@ export default class MarkdownEditor extends Component {
render = () => {
return (
<span className={styles.container}>
<span>
<ClickablePadding onClick={this.focusAtStart} />
<Toolbar state={this.state.state} onChange={this.onChange} />
<Editor

View File

@@ -1,16 +1,3 @@
.container {
display: flex;
flex: 1;
flex-direction: column;
font-weight: 400;
font-size: 1em;
line-height: 1.5em;
padding: 0 3em;
max-width: 50em;
}
.editor {
color: #1b2631;
height: auto;