Reputation: 13
I'm building a rich-text-editor component in vue using lexical and taking a lot of inspiration from the lexical-playground that is using the react plugins and trying to convert them where needed.
I stumbled upon a bug in my implementation when creating lists, styling and formatting was not applied and got that fixed using the code from "registerList".
One thing that still differs from my component and the lexical playground is that in the playground <li>
elements has applied inline-styles (an example where this is needed is to get different sizes on list bullets or different colors etc.). I've searched best I could in the lexical repo but cant seem to find where in the code this is happening...
I think I could solve this with a custom styled ListItemNode but I would much rather dont have to do that.
Anyone that knows how this is done in the playground?
Upvotes: 0
Views: 23