mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 00:04:07 +00:00
Fix all newly introduced linting issues
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
parent
49db5bc653
commit
8fe26988d1
@ -80,7 +80,7 @@ export function insertLink(cm, isImage) {
|
||||
cm.setSelections(ranges)
|
||||
} else {
|
||||
cm.replaceRange(symbol + linkEnd, cursor, cursor)
|
||||
cm.setCursor({line: cursor.line, ch: cursor.ch + symbol.length + linkend.length})
|
||||
cm.setCursor({line: cursor.line, ch: cursor.ch + symbol.length + linkEnd.length})
|
||||
}
|
||||
}
|
||||
cm.focus()
|
||||
|
Loading…
x
Reference in New Issue
Block a user