torchbox / wagtail-wordpress-import

A package for Wagtail CMS to import WordPress blog content from an XML file into Wagtail
MIT License
44 stars 16 forks source link

fix/#80 headings in richtext #73

Closed nickmoreton closed 3 years ago

nickmoreton commented 3 years ago

Removed the default config for the headings h2 - h6. These headings are now parsed into a rich_text block

I have left h1 in the config so that they are built as a separate block.

nickmoreton commented 3 years ago

Thanks Nick I have added a test for a rich text block and it's content which includes the h2 tag