outline / rich-markdown-editor

The open source React and Prosemirror based markdown editor that powers Outline. Want to try it out? Create an account:
https://www.getoutline.com
BSD 3-Clause "New" or "Revised" License
2.87k stars 590 forks source link

feat: add hotkey ctrl+shift+` for converting current block to notice … #588

Closed RuslanGabbasov closed 2 years ago

RuslanGabbasov commented 2 years ago

Our customers ask a lot of ability to set part of the text as a notice block. The currently available way to do it is to add an extra line before the text that you need to convert and select block type from /-menu.

I've added hotkey ctrl+shift+` and one extra item to the formatting menu.

And offer you to consider this code.

tommoor commented 2 years ago

Hi @RuslanGabbasov I don't think we want to add more items to the formatting menu at this time, it's honestly already too long and this command is available from the block menu.

I'd recommend keeping this change on your fork for now.