Open jjanssen opened 7 years ago
T&C
only adds a CSS class (and to make things more complicated, uses a div tag in the editor and a p tag once rendered).
I believe the reason it's still in the configuration example is to show how you can configure blocks (and that editor and render configurations don't have to be the same), but I agree there is probably a simpler, more explicit example to be found.
I've changed the T&C example on https://www.draftail.org/ to "Tiny" text. As Loïc says, it's only meant as an example of how to define/create custom formats.
We'll have to improve this within this repository too.
I am running the
wagtaildraftail
test environment locally and playing around online at: https://springload.github.io/draftail/ Maybe I am bit of a n00b on this matter but I'm having some difficulty in pinpointing what T&C actually does. Is there a better naming for this UX-wise?