Files
probo/pkg/coredata/migrations
Sacha Al Himdani 797e3da52f Strip empty ProseMirror text nodes from third-party list documents
The third-party list template emitted a text node for every optional
field even when the value was empty, producing `{"text":""}` nodes that
violate the ProseMirror schema and make Tiptap refuse to render the
document with "Empty text nodes are not allowed".

Add a `default` template helper and substitute "—" for empty values in
third_party_list.json.tmpl, and add a migration that rewrites existing
document_versions.content to drop any empty text nodes (per-row safe,
preserves marks/attrs/ordering, leaves updated_at untouched).

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-05-21 17:30:33 +02:00
..
2026-04-13 14:50:41 +04:00
2026-04-15 10:21:00 +04:00
2026-04-20 15:37:39 +02:00
2026-05-11 14:52:53 +04:00
2026-05-11 14:52:53 +04:00
2026-05-11 14:52:53 +04:00
2026-05-11 14:52:53 +04:00