mirror of
https://github.com/strapi/strapi.git
synced 2025-11-14 17:19:01 +00:00
Init preview HTML
(still very buggy)
This commit is contained in:
parent
644ccd13a0
commit
2098ff1782
@ -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()}
|
||||||
|
|||||||
@ -113,4 +113,4 @@
|
|||||||
"webpack-hot-middleware": "^2.18.2",
|
"webpack-hot-middleware": "^2.18.2",
|
||||||
"whatwg-fetch": "^2.0.3"
|
"whatwg-fetch": "^2.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user