1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

chore(editor): resolve lint issues

This commit is contained in:
Georges Indrianjafy
2018-02-05 11:00:56 +02:00
parent d9d46cda1c
commit c42ac1df1b

View File

@@ -257,7 +257,7 @@ export default class CodeEditor extends React.Component {
} }
} }
handlePasteUrl(e, editor, pastedTxt){ handlePasteUrl (e, editor, pastedTxt) {
e.preventDefault() e.preventDefault()
const taggedUrl = '[' + pastedTxt + ']' const taggedUrl = '[' + pastedTxt + ']'
editor.replaceSelection(taggedUrl) editor.replaceSelection(taggedUrl)