mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
fix(editor): replace [] with <>
This commit is contained in:
@@ -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, {
|
||||||
|
|||||||
Reference in New Issue
Block a user