Mac multiline text replacement shortcuts not working #11443
Labels
squad:core
Issue to be handled by the Core team.
support:2
An issue reported by a commercially licensed client.
type:bug
This issue reports a buggy (incorrect) behavior.
Milestone
📝 Provide detailed reproduction steps (if any)
On macs, you can create multiline text replacement shortcuts. (See accepted answer here: https://superuser.com/questions/1541755/multi-line-text-replacement-on-macos-or-ios). When using these shortcuts in CKEditor the shortcuts aren't expanded.
For example, if my shortcut is:
mline
which is replaced with:(Only the first line of the shortcut is displayed)

then when using that shortcut in CKEditor:

the result is:

✔️ Expected result
The shortcut is expanded and all lines are entered into the editor.

❌ Actual result
Only the first line is inserted:

❓ Possible solution
I'm pretty sure Apple doesn't really support multiline shortcuts, however, you can sort've trick the text replacement input field into using a multiline shortcut by seperating lines with soft-breaks. My guess is that something with the soft-break is messing up some logic in CKEditor.
📃 Other details
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: