Skip to content

Commit 48c29dd

Browse files
committed
fix turndown
1 parent 157eb5f commit 48c29dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

browser/components/CodeEditor.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ export default class CodeEditor extends React.Component {
6363

6464
this.formatTable = () => this.handleFormatTable()
6565
this.editorActivityHandler = () => this.handleEditorActivity()
66+
67+
this.turndownService = new TurndownService()
6668
}
6769

6870
handleSearch (msg) {
@@ -550,6 +552,7 @@ export default class CodeEditor extends React.Component {
550552
}
551553

552554
const pastedHtml = clipboardData.getData('text/html')
555+
console.log(pastedHtml)
553556
if (pastedHtml !== '') {
554557
this.handlePasteHtml(e, editor, pastedHtml)
555558
} else if (dataTransferItem.type.match('image')) {

0 commit comments

Comments
 (0)