Description
Which Umbraco version are you using?
15.4.1
Bug summary
Big thanks to the great work from @leekelleher , great work!
When using the new styleMenu, togheter with only classes, a new paragraph will inherit this class instead of reseting, and there is no good way to clear the class, not even "clear formats" does anything.
{ "label": "Heading 5", "data": { "class": "h5" } }, { "label": "Clear styles", "data": { "class": "p" } }
The last style is only there to perform a clearing of heading styles. (we allow editors to set semantic tags and use different heading styles)
I'm guessing this has more to do with how tiptap works than the actual styleMenu. Idealy you would like to reset all active classes when pressing enter / new paragraph.
Another thing that might be related to the styleMenu, it doesn't flag when an element is active. For example if I have h3 in my rich text, selecting it and going to my styleMenu, it doesn't present itself as active/selected.
Specifics
No response
Steps to reproduce
Create a class selector with styleMenu, and then get stuck with the class until you select another style.
Expected result / actual result
No response
This item has been added to our backlog AB#52927