Changelog#
1.0.0a6 (2026-06-01)#
Bugfix#
Kept text following a run of consecutive inline elements (e.g. two adjacent
<b>tags) inside its parent paragraph, instead of splitting it out as a sibling block. @ericof #31Preserved underline and strikethrough styling declared on a
<span>via thetext-decorationCSS property, converting them touandsslate elements instead of dropping the formatting. @ericof #32Fixed deeply-nested
<div>structures producing non-renderable Slate blocks: droppednullentries and type-less nodes, stopped emitting<p>inside<p>, and collapsed runs of empty paragraphs into a single one. @ericof #33
1.0.0a5 (2026-05-18)#
Bugfix#
Fixed
<ul>and<ol>elements that contain orphan text without<li>children: the content is now wrapped into a synthetic<li>so it survives conversion instead of being silently dropped. @ericof #29
1.0.0a4 (2026-05-15)#
Feature#
Also publish container images for arm64. @ericof #20
Bugfix#
Better handling of tables. @ericof #22
Fixed conversion of paragraphs starting with an inline element wrapping only whitespace (e.g.
<b> </b>) — the rest of the paragraph text was being silently dropped from the Slate value whileplaintextstayed correct. @ericof #25Normalized whitespace in the Slate
plaintextattribute — non-breaking spaces and runs of consecutive whitespace are now collapsed into a single space, so search and preview behave consistently. The Slatevalue(node text) is left untouched. @ericof #26Fixed conversion of images wrapped in an inline element (e.g.
<b>,<strong>) inside a paragraph — the images are now correctly emitted as Volto image blocks instead of being silently dropped along with the surrounding wrapper. @ericof #27
1.0.0a3 (2025-10-04)#
Bugfix#
Ensure correct type for each item handled in collective.html2blocks.utils.slate.process_top_level_items. @ericof #18
Internal#
Do not package the build documentation with the source package. @ericof
Update vscode settings. @ericof
Documentation#
Documentation: Ignore CHANGELOG.md during vale checks. @ericof
1.0.0a2 (2025-09-12)#
Bugfix#
Fix issue with packaging collective.html2blocks as a wheel. @ericof
Documentation#
Clean up initial documentation. @stevepiercy #15
Deploy documentation to https://collective.github.io/collective.html2blocks. @ericof #16
1.0.0a1 (2025-09-11)#
Feature#
Implemented
collective.html2blocks.converters.volto_blocksfunction [@ericof] #4Initial implementation of collective.volto2blocks [@ericof]
Wrap block elements -- like img, video, table -- in their own paragraph if nested inside an existing paragraph. @ericof
Bugfix#
Handle headers (h1, h2) that contain only an image inside [@ericof] #5
Do not generate a slate block for empty lists. @ericof #6
Top level items in a Slate block should be wrapped in a paragraph. @ericof #8
Better handling of
tags. @ericofFix table rows duplicating the number of cells due to the existence of line breaks or comments @ericof
Internal#
Implement GitHub Actions workflows. @ericof
Documentation#
Base documentation for collective.html2blocks. @ericof #1