Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Lexical Editor Issue: Nested Lists Display Incorrectly

default discord avatar
lucas_c7 months ago
3

Found another issue with the lexical editor, nested list are in another list item at the same level of the list item that should be the parent, that causes an extra mark to be displayed

  • discord user avatar
    alessiogr
    8 months ago

    This is normal, you need css in order for nested lists to display normally. See

    https://payloadcms.com/docs/beta/lexical/converters#css

    Nope! You just handle it yourself in the frontend, then you're done. The style prop coming from serialized lexical nodes is unrelated, no need to worry about that

  • default discord avatar
    licf8 months ago

    I copied the class in my global css but is there anything else I should do? in the styles property the API is just sending an empty string





    Thank you!!! now I understood how to use the converter and the css works as it should

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.