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 1 year 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 1 year ago

Yes, just added tests