jlvandenhout / docusaurus-plugin-docs-editor

54 stars 13 forks source link

Visually differentiate between inline code and code block styling actions #18

Closed jlvandenhout closed 2 years ago

jlvandenhout commented 2 years ago

While in different groups, they are visually indistinguishable and it is not directly clear which does what exactly. An idea is to at least move the inline code action to the dropdown list, as regular text, headings and inline code styles are mutually exclusive anyway.

jlvandenhout commented 2 years ago

Inline code is now moved into the dropdown list, however this is not ideal as in TipTap inline code is a mark and paragraphs and headings are nodes. Might need to be looked at in the future. This solution seems good for now.