Skip to content

feat: rename BOXED_TEXT tool type to COMB_TEXT#35

Merged
bendersej merged 2 commits into
mainfrom
rename-boxed-text-to-comb-text
Jun 2, 2026
Merged

feat: rename BOXED_TEXT tool type to COMB_TEXT#35
bendersej merged 2 commits into
mainfrom
rename-boxed-text-to-comb-text

Conversation

@bendersej
Copy link
Copy Markdown
Member

Background

The editor renamed its BOXED_TEXT comb-field type to COMB_TEXT ("comb" is the Acrobat / PDF-spec term for box-per-character fields like IBAN, dates, CERFA). The embed artifacts still referenced the old name. The editor accepts both values at runtime, so this is a type/naming change, not a runtime break.

Changes

  • Replace BOXED_TEXT with COMB_TEXT in the react ToolType (README + test updated)
  • Add a major changeset for @simplepdf/react-embed-pdf
  • Rename comb references across the copilot (code, schemas, types, tools, toolbar) and all 23 locale keys (boxedText -> combText, en label "Comb text")
  • Update documentation/IFRAME.md and the with-custom-sidebar example
  • Fix the pre-existing copilot biome check failures (formatting + useOptionalChain) and add two justified biome-ignores so check is green

Notes

Runtime is backwards-compatible: the editor still accepts BOXED_TEXT, so already-deployed embeds keep working; only the TypeScript type changes.

bendersej added 2 commits June 2, 2026 18:39
"Comb" is the Acrobat / PDF-spec term for box-per-character fields (IBAN,
dates, CERFA). The react SDK ToolType now exposes COMB_TEXT instead of
BOXED_TEXT, and the copilot, docs, and examples use COMB_TEXT throughout.

Runtime stays backwards-compatible: the editor still accepts the legacy
BOXED_TEXT value, so already-deployed embeds keep working; only the
TypeScript type changes. Ships as a major changeset for
@simplepdf/react-embed-pdf.

Also fixes the pre-existing copilot biome check failures (formatting +
useOptionalChain) and adds two justified biome-ignores, so check is green.
@bendersej bendersej merged commit fd243f0 into main Jun 2, 2026
2 checks passed
@bendersej bendersej deleted the rename-boxed-text-to-comb-text branch June 2, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant