mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
MESSENGER 4955 disable WYSIWYG commands
This commit is contained in:
+6
-1
@@ -128,7 +128,12 @@ class CompletionSuggestionService: CompletionSuggestionServiceProtocol {
|
||||
items.send([])
|
||||
currentTextTriggerSubject.send(nil)
|
||||
case .slash:
|
||||
currentTextTriggerSubject.send(TextTrigger(key: .slash, text: suggestionPattern.text))
|
||||
// bwi: #4955 disable WYSIWYG commands
|
||||
if BWIBuildSettings.shared.enableWYSIWYGCommands {
|
||||
currentTextTriggerSubject.send(TextTrigger(key: .slash, text: suggestionPattern.text))
|
||||
} else {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user