Fix all newly introduced linting issues
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user