mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
Adapt code for eslint-config-standard 17
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
66ab5ab51b
commit
d26dcd04a1
24 changed files with 82 additions and 82 deletions
|
@ -99,7 +99,7 @@ export default class Editor {
|
|||
const ch = match[1].length
|
||||
const pos = {
|
||||
line: cursor.line,
|
||||
ch: ch
|
||||
ch
|
||||
}
|
||||
if (cm.getOption('indentWithTabs')) {
|
||||
cm.replaceRange(tab, pos, pos, '+input')
|
||||
|
@ -618,7 +618,7 @@ export default class Editor {
|
|||
mode: defaultEditorMode,
|
||||
backdrop: defaultEditorMode,
|
||||
keyMap: 'sublime',
|
||||
viewportMargin: viewportMargin,
|
||||
viewportMargin,
|
||||
styleActiveLine: true,
|
||||
lineNumbers: true,
|
||||
lineWrapping: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue