jazzband / django-tinymce

TinyMCE integration for Django
http://django-tinymce.readthedocs.org/
MIT License
1.28k stars 317 forks source link

How can I use it with StructBlock #395

Closed hatimmakki closed 2 years ago

hatimmakki commented 2 years ago

Hey, I am using this package with a wagtail Django project. The text following field shows normally:

class FindPage(Page):
    banner_title = HTMLField(blank=True)

but the following, doesn't:

class DirectoryListBlock(blocks.StructBlock):
    title = HTMLField(required=False)

how can I use HTMLField with StructBlock ?

claudep commented 2 years ago

Shouldn't this be asked to Wagtail devs first?