mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +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>
|
||||
{isPreviewMode? (
|
||||
<div className={styles.editor} onClick={this.focus}>
|
||||
<div className={styles.editor}>
|
||||
<WysiwygEditor
|
||||
blockStyleFn={getBlockStyle}
|
||||
editorState={this.previewHTML()}
|
||||
|
||||
@ -113,4 +113,4 @@
|
||||
"webpack-hot-middleware": "^2.18.2",
|
||||
"whatwg-fetch": "^2.0.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user