Run the following command in Terminal.
$ SLACK_DEVELOPER_MENU=true open -a /Applications/Slack.app
Then, Open the DevTools (cmd + opt + I), Run the following script in console.
(() => {
  slackDebug.clientStore.workspaces
    .getAllWorkspaces()
    .forEach((teamId) => {
      const { redux } = slackDebug[teamId];
      const {
        wysiwyg_composer,
        wysiwyg_composer_ios,
        wysiwyg_composer_webapp,
        ...payload
      } = redux.getState().experiments;
      redux.dispatch({
        type: "[19] Bulk add experiment assignments to redux",
        payload
      });
    });
})();
 

 
    
Top comments (8)
One liner to remove it from desktop app:
git clone https://github.com/kfahy/slack-disable-wysiwyg-bookmarklet && ./slack-disable-wysiwyg-bookmarklet/bin/patch-desktop-app && rm -rf slack-disable-wysiwyg-bookmarkletIt downloads with git, executes the patch, then removes whatever you downloaded with git. Clean and fast, takes about 10 seconds to patch.
Hm... didn't work for me.
Uncaught ReferenceError: slackDebug is not definedI found this to work for me:
github.com/kfahy/slack-disable-wys...
Thanks for this. If possible, could you share how to reset Slack back to wysiwyg mode?
CMD+Rdo the trick for me :)THANK YOU! ❤️
How does this work?
This worked for me, but it appears you need to do it anytime you open Slack.
Thank you! This WYSIWYG thing is very annoying