Disables the WYSIWYG editor in Slack.
As of 2019-12-02 Slack supports reverting back to its previous editor! Instead of using this repo, please enable this feature via Slack's preferences:
Many thanks to everybody who submitted PRs, discussed issues, and used the tools in this repository. I'd like to think that our efforts played a role in helping Slack recognize the demand for the previous editor. Props to Slack also for ultimately making the right decision in letting us choose which editor to use.
The contents of this repository and the remainder of this README are left intact for reference, but should not be used going forward.
On 2019-11-20 Slack rolled out a new version of the editor. This editor features WYSIWYG functionality, which shows all message formatting inline in the text box.
~As of this time, Slack does not allow users to disable this functionality and revert back to the plaintext markdown editor.~ However, Slack has publicly stated that such a feature is in the works. But in the meantime, you can use these browser extensions, bookmarklets, or scripts to temporarily disable all WYSIWYG A/B tests for your platform, which should restore the old editor functionality.
Find Disable Slack Wysiwyg for both Chrome and Firefox:
For bugs, feedback, and source, visit the extension repo pocc/no-wysiwyg or mention @pocc.
index.js
javascript:
Download and run
bin/patch-desktop-app
, courtesy of @dbalatero.
SLACK_DEVELOPER_MENU=true
is either exported in ~/.profile
or set in the application launcherexport SLACK_DEVELOPER_MENU=true && open -a /Applications/Slack.app
$env:SLACK_DEVELOPER_MENU="true"; & "$($env:LOCALAPPDATA)\Slack\slack.exe"
$env:SLACK_DEVELOPER_MENU="true"; & "$($Env:ProgramFiles)\Slack Deployment\slack.exe"
/usr/share/applications/slack.desktop
Exec=/usr/bin/slack %U
with Exec=env SLACK_DEVELOPER_MENU=true /usr/bin/slack %U
SLACK_DEVELOPER_MENU
environment variable is set to true
before opening the Slack app.index.js
Franz is an Electron-based messaging aggregator application.
With Slack opened inside Franz, use the keyboard shortcut to open up the inspector:
Open up the console tab, and run the following to open up the current Slack instance's dev console:
$(".app__service .is-active webview").openDevTools()
In the newly opened console window, paste in the script from index.js
.