We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6511589 commit f1ed024Copy full SHA for f1ed024
src/components/Editor.vue
@@ -721,6 +721,13 @@ export default {
721
return
722
}
723
724
+ if (event.key === 'Tab' && !event.shiftKey && !event.ctrlKey && !event.metaKey && this.$editor.isActive('codeBlock')) {
725
+ this.$editor.commands.insertContent('\t')
726
+ this.$editor.commands.focus()
727
+ event.preventDefault()
728
+ return
729
+ }
730
+
731
if ((event.ctrlKey || event.metaKey) && event.key === 's') {
732
this.$syncService.save()
733
event.preventDefault()
0 commit comments