mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
feat(client/text): provide a way to disable slash commands
This commit is contained in:
@@ -91,6 +91,7 @@ const ALLOWED_OPTIONS = new Set<OptionNames>([
|
||||
"textNoteEditorMultilineToolbar",
|
||||
"textNoteEmojiCompletionEnabled",
|
||||
"textNoteCompletionEnabled",
|
||||
"textNoteSlashCommandsEnabled",
|
||||
"layoutOrientation",
|
||||
"backgroundEffects",
|
||||
"allowedHtmlTags",
|
||||
|
||||
@@ -184,6 +184,7 @@ const defaultOptions: DefaultOption[] = [
|
||||
{ name: "textNoteEditorMultilineToolbar", value: "false", isSynced: true },
|
||||
{ name: "textNoteEmojiCompletionEnabled", value: "true", isSynced: true },
|
||||
{ name: "textNoteCompletionEnabled", value: "true", isSynced: true },
|
||||
{ name: "textNoteSlashCommandsEnabled", value: "true", isSynced: true },
|
||||
|
||||
// HTML import configuration
|
||||
{ name: "layoutOrientation", value: "vertical", isSynced: false },
|
||||
|
||||
Reference in New Issue
Block a user