mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
Fix all newly introduced linting issues
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
parent
49db5bc653
commit
8fe26988d1
1 changed files with 10 additions and 10 deletions
|
@ -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…
Reference in a new issue