1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00
This commit is contained in:
Georges Indrianjafy
2018-02-06 19:12:25 +02:00
parent a676ebf46c
commit dc1b059a9d

View File

@@ -264,7 +264,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)
fetch(pastedTxt, { fetch(pastedTxt, {