refactor(create): DRY rule export media + TextBlock row view

This commit is contained in:
adilallo
2026-05-08 21:40:43 -06:00
parent 89fd5f3ade
commit 4595e2648a
4 changed files with 112 additions and 58 deletions
@@ -16,6 +16,7 @@ export function wizardUploadDisplaysAsImage(
if (assetUrl && /\.(jpe?g|png|gif|webp)(\?|#|$)/i.test(assetUrl)) return true;
return false;
}
/**
* Serialize wizard-authored field blocks into Community Rule labeled rows for
* read-only surfaces (completed step, exported views). Matches how those blocks