feat: add command shortcut keys to convert text to title (#921)

* feat: add command shortcut keys to convert text to title

* fix: use const values from heading block keys

* chore: add test cases for command

* fix: comments and nomenclature

* chore: add appropriate description
This commit is contained in:
Ahad Patel 2024-12-11 14:37:18 +05:30 • committed by GitHub
commit 8d3f5b904b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -178,5 +178,9 @@
"cmdToggleStrikethrough": "toggle strikethrough",
"cmdToggleTodoList": "toggle the todo list",
"cmdToggleUnderline": "toggle underline",
"cmdUndo": "undo"
"cmdUndo": "undo",
"cmdToggleH1": "toggle H1",
"cmdToggleH2": "toggle H2",
"cmdToggleH3": "toggle H3",
"cmdToggleBody": "toggle body"
}