diff --git a/frontend/src/pages/markdown-editor/seafile-editor/index.js b/frontend/src/pages/markdown-editor/seafile-editor/index.js index 2cb2e48b71..9b5bbc4e12 100644 --- a/frontend/src/pages/markdown-editor/seafile-editor/index.js +++ b/frontend/src/pages/markdown-editor/seafile-editor/index.js @@ -40,7 +40,6 @@ class SeafileEditor extends React.Component { const { mode, markdownContent, isDraft } = this.props; const isEditMode = mode === 'editor' || isDraft; const richValue = isEditMode ? deserialize(markdownContent) : deserialize(''); - console.log(richValue); this.state = { initialPlainValue: '', currentContent: markdownContent, @@ -56,7 +55,6 @@ class SeafileEditor extends React.Component { componentWillMount() { if (this.props.editorMode === 'rich') { const document = this.state.richValue; - console.log(document, 'dadad'); const firstNode = document[0]; /** * if the markdown content is empty, the rich value contains