sjdemartini / mui-tiptap

A Material UI (MUI) styled WYSIWYG rich text editor, using Tiptap
MIT License
319 stars 43 forks source link

Improve "active text color" logic when multiple colors in selection #144

Closed sjdemartini closed 1 year ago

sjdemartini commented 1 year ago

We'll now show no color in the indicator if there are multiple colors within the current selection. This is more in line with how we handle font family and font size, and how other rich text editors behave.

Follow up to @ericdwang's comment here https://github.com/sjdemartini/mui-tiptap/pull/139#issuecomment-1693790578

Demo: mui-tiptap_active_color_multiple