kfahy / slack-disable-wysiwyg-bookmarklet

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

This bookmarklet is still very relevant because Slack's preference to turn off wysiwyg breaks copy pasting with markup preserved #25

Open dimonomid opened 4 years ago

dimonomid commented 4 years ago

Hi @kfahy , thanks a lot for putting this together.

As of now, the readme of the project says:

The contents of this repository and the remainder of this README are left intact for reference, but should not be used going forward.

However, turns out, it's not quite the case at least for me personally: even though Slack has implemented a preference to turn off wysiwyg, which is cool, but, they broke copypasting with markup preserved!

E.g. I select a text with markup, I copy it, I paste it to the Slack's input, and all the markup is gone. It used to be preserved, and I personally use it a lot.

But the good news is, your bookmarklet does save the day again. With this bookmarklet applied, I select a text with markup, I copy it, I paste it to the Slack's input, and the markup is preserved!

So, just wanted to say that it's probably worth mentioning in the readme.

Thanks again!

localhots commented 4 years ago

Keyboard shortcuts don't work in the new simple editor, e.g. ⌘B to make text bold. Old editor can still be enabled with this script and that makes it still very much useful.