mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-20 13:11:44 +00:00
CommonMark
This commit is contained in:
@@ -56,7 +56,8 @@ export default class ArticleEditor extends React.Component {
|
||||
}
|
||||
|
||||
render () {
|
||||
if (this.props.mode === 'markdown' && this.state.status === PREVIEW_MODE) {
|
||||
let showPreview = this.props.mode === 'markdown' && this.state.status === PREVIEW_MODE
|
||||
if (showPreview) {
|
||||
return (
|
||||
<div className='ArticleEditor'>
|
||||
<MarkdownPreview
|
||||
|
||||
Reference in New Issue
Block a user