kfahy / slack-disable-wysiwyg-bookmarklet

Disables the WYSIWYG editor in Slack.
MIT License
824 stars 23 forks source link

Document usage in the desktop app #1

Closed johansatge closed 4 years ago

johansatge commented 4 years ago

This repository made my day, thank you ❤️

Here is a small doc update to support the desktop app too.

(Unfortunately I don't know how to enable developer mode on Windows, feel free to edit 😃)

Cheers,

steppefox commented 4 years ago

On Mac it's easy to hide it, just press "Aa" button:

image

johansatge commented 4 years ago

Unfortunately @steppefox the toggle button hides the UI, but the feature stays active (wysiwyg as you type your messages)

MitMaro commented 4 years ago

Would it be worth adding that the environment variable can be added to your shell profile to make that step persistent?

adamralph commented 4 years ago

I don't know that we need to go into all the various of methods of setting environment variables in all OS's.

MitMaro commented 4 years ago

Oh I agree with that! There are too many different setups.

I meant just making a single note stating the environment variable can be set in your shell profile to avoid having to run the command from your terminal. For me, on Linux, once it is set I can use the default launcher without needing to run the command from the command line.

lietu commented 4 years ago

On Windows it's View Advanced system settings -> Environment Variables... -> New... (User or System)

Alternatively in Administrator PowerShell:

[System.Environment]::SetEnvironmentVariable("SLACK_DEVELOPER_MENU", "true", "User")
# OR
[System.Environment]::SetEnvironmentVariable("SLACK_DEVELOPER_MENU", "true", "Machine")

Or in cmd.exe (again, as Administrator):

reg add HKEY_CURRENT_USER\Environment /V SLACK_DEVELOPER_MENU /t REG_SZ /d true
rem OR
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment /V SLACK_DEVELOPER_MENU /t REG_SZ /d true
kfahy commented 4 years ago

Here is a small doc update to support the desktop app too.

Brilliant! Thanks a lot for helping out desktop app users too.

And thanks to everyone for the feedback on this functionality. I wrote this hack for fun last night and didn't think anyone would find it useful, but it looks like a lot of us are dissatisifed with the new editor. I hope that Slack takes note of this dissatisfaction, and soon builds a preference to revert back to the old editor. Then, we can delete this repository and live happily ever after.

Until then, if anyone knows of a better approach than removing experiments via redux (also, what is up with their action type naming?), feel free to submit a PR.