-
Hello, I'm new in Plate. We want to use the default heading plugin on list items. It is possibly any way ? Now it is not working together only just LI or heading. Thank you so much. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @Kogeer, By default, the list plugin does not accept heading elements as valid children as you can see here. Here's an idea of the top of my head that I haven't tried out myself just yet, but may point you in a direction: You can pass in Hope that helps! |
Beta Was this translation helpful? Give feedback.
Hey @Kogeer,
By default, the list plugin does not accept heading elements as valid children as you can see here.
Here's an idea of the top of my head that I haven't tried out myself just yet, but may point you in a direction:
You can pass in
withOverrides
into the list plugin options, following this example. Then, you can try to usewithList
(found here) and pass it all of thevalidLiChildrenTypes
you'd like to support.Hope that helps!