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>
</div> </div>
{isPreviewMode? ( {isPreviewMode? (
<div className={styles.editor} onClick={this.focus}> <div className={styles.editor}>
<WysiwygEditor <WysiwygEditor
blockStyleFn={getBlockStyle} blockStyleFn={getBlockStyle}
editorState={this.previewHTML()} editorState={this.previewHTML()}