Init preview HTML

(still very buggy)
This commit is contained in:
cyril lopez 2018-03-19 09:47:56 +01:00
parent 644ccd13a0
commit 2098ff1782
2 changed files with 2 additions and 2 deletions

View File

@ -433,7 +433,7 @@ class Wysiwyg extends React.Component {
</div>
</div>
{isPreviewMode? (
<div className={styles.editor} onClick={this.focus}>
<div className={styles.editor}>
<WysiwygEditor
blockStyleFn={getBlockStyle}
editorState={this.previewHTML()}

View File

@ -113,4 +113,4 @@
"webpack-hot-middleware": "^2.18.2",
"whatwg-fetch": "^2.0.3"
}
}
}