mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
feat: block ctrl-s shortcut key
This commit is contained in:
parent
a33b917b4a
commit
b60a2abc05
@ -91,7 +91,8 @@ const mutations = {
|
|||||||
const doc = formatDoc(editor.getValue(0))
|
const doc = formatDoc(editor.getValue(0))
|
||||||
localStorage.setItem('__editor_content', doc)
|
localStorage.setItem('__editor_content', doc)
|
||||||
editor.setValue(doc)
|
editor.setValue(doc)
|
||||||
}
|
},
|
||||||
|
'Ctrl-S': function save(editor) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@ -118,7 +119,8 @@ const mutations = {
|
|||||||
}, {
|
}, {
|
||||||
line: totalLines
|
line: totalLines
|
||||||
})
|
})
|
||||||
}
|
},
|
||||||
|
'Ctrl-S': function save(editor) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user