Add setting for configuring the default block language and language auto detection

This commit is contained in:
Jonatan Heyman
2024-07-12 14:33:26 +02:00
parent e5d4d31ca2
commit d82b3920d7
8 changed files with 89 additions and 25 deletions

View File

@ -35,6 +35,8 @@ const schema = {
"showInMenu": {type: "boolean", default: false},
"alwaysOnTop": {type: "boolean", default: false},
"bracketClosing": {type: "boolean", default: false},
"defaultBlockLanguage": {type: "string"},
"defaultBlockLanguageAutoDetect": {type: "boolean"},
// when default font settings are used, fontFamily and fontSize is not specified in the
// settings file, so that it's possible for us to change the default settings in the