plone / blocks-conversion-tool

A tool to convert HTML (as used in Plone Classic) to Blocks (as used on Volto)
7 stars 5 forks source link

convert callouts to slate as well #33

Closed mbarde closed 11 months ago

mbarde commented 1 year ago

<p class="callout"> elements (for example created via DraftJS) are converted to normal text blocks in slate converter. This means callouts get lost when converting.

This PR fixes this, so that slate block of type callout is created in that case.

mbarde commented 11 months ago

Yes, just added tests