14

I have a text substitution setup within the System Preferences. This works most places within OS X as far as I can tell, but it does not work in Slack. (Their native app for OS X version 1.1.4 - 2814)

Does anyone know why?

enter image description here

UPDATE
It looks like this is not specific to Slack at all

jordelver
  • 283
  • Are you using a slack application (if so what version and name) or a browser (if so what version and name)? – bmike Oct 08 '15 at 23:29
  • Sorry, I should have mentioned that. I'm using the official Slack client for Mac OS X, version 1.1.4 (2814). – jordelver Oct 08 '15 at 23:36
  • If you have Chrome, does it work there? Slack uses the same engine. – 0942v8653 Oct 09 '15 at 00:09
  • No, it doesn't work in Chrome either, so it looks like it's more likely to be a Chrome issue? – jordelver Oct 09 '15 at 08:42
  • Wow, man. I came here because my substitution of shrugs not working in Slack. :) The only difference is that my shortcut is '/' (two slashes) – okutane May 16 '17 at 16:12
  • 2nd "wow": It looks like the substitution do work in native slack app, only UI part is broken and not shown. I believe if you write &shrug; in slack text area and hit spacebar the replacement will occur. – okutane Aug 04 '17 at 16:09
  • Ok, this is hilarious. I found this post while experiencing the same issue - down to the specific replacement! The only difference is that my input token is :shrug. – Lyndsy Simon Apr 21 '23 at 20:02

3 Answers3

14

Even after following the instructions in the accepted answer, this still did not work for me until I followed these instructions. Basically, run the following in a terminal:

defaults write -g WebAutomaticTextReplacementEnabled -bool true

or to only change Slack's behavior (and not pollute your global domain):

defaults write com.tinyspeck.slackmacgap WebAutomaticTextReplacementEnabled -bool true

hohle
  • 3
  • 2
tbizzle
  • 141
5

Activate the "Text Replacement" option in the edit menu.

option to activate text replacement

carrieje
  • 174
3

So, it seems that Text Substitutions have not been implemented in Chrome so I assume that is the underlying problem I'm having with Slack.

jordelver
  • 283