sjdemartini / mui-tiptap

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

Choosen color consistency #203

Closed Shao-fract closed 7 months ago

Shao-fract commented 8 months ago

Hi, Is there a way to prevent the choosen text color to be reseted to default on pressing return?

I find it pretty non intuitive to have to select again the color on each line change.

sjdemartini commented 7 months ago

I can't reproduce the issue you are describing. This is using the CodeSandbox linked from the README https://codesandbox.io/p/devbox/mui-tiptap-demo-3zl2l6

mui-tiptap-color-pressing-return

Am I misunderstanding what you're doing? If you find that are you still experiencing this, you may want to look at issues for Tiptap itself https://github.com/ueberdosis/tiptap, since the Color extension is built into Tiptap and isn't changed by any mui-tiptap functionality. Closing this out since not specific to mui-tiptap and can't repro.

Shao-fract commented 7 months ago

Ok. I m not experiencing the same behaviour as you. I'll search by myself . Tx anyway

Edit: seems to happens only on mobile device