The forums I moderate recently switched to using the new rich text editor, and I immediately noticed that it seems to (somewhat) break OS text replacement features, such as General > Keyboards > Text Replacement on iOS. This is unfortunate because I have several replacements that I use a lot in Discourse. For example, one of my most common moderation tasks is to redirect users to other forums, and so I have e.g. a text replacement that replaces adf
with a link to the Apple developer forums. (I prefer not to use canned replies for this because most of the rest of the post is often less boilerplate, but they always contain that link. Besides, I have several other replacements that don’t fit that model.)
Interestingly, some of my replacements do continue to work; e.g. \tau
seems to turn reliably into τ. And my adf
replacement seems to almost work if I type it between backticks: I’m writing this post on macOS Safari, and [backtick] adf [backtick] [space]
briefly results in [Apple Developer Forums](https://forums.developer.apple.com/)
, although that disappears and turns back into adf
if I interact with the editor in any way afterwards.
I assume the leading backslash must have something to do with why this is working for my other replacements, so I can probably work around this bug by changing my adf
replacement to \adf
. But I shouldn’t really have to.
This is a pretty serious problem for me because it’s interfering with my ability to do this kind of moderation efficiently from the Discourse iOS app. (This is also why I don’t want to have to add a leading backslash: it’s annoying to type a backslash on a phone keyboard.)