theseus/bundled-addons/pdf-editor
Local Dev c4dbdb25fb fix(pdf-editor): a replaced run is text, so let it be edited like text
Testing 0.3.0 on a real install showed the gap immediately: select a run you
had replaced and the selection bar offered duplicate and delete and nothing
else. The one mark made entirely of words was the one with no way to change
them, double-clicking it did nothing, and the size stepper and the bold and
italic buttons all stayed hidden. Everything else that holds text could be
reopened; this could not.

The cause was three places testing `kind === "text"` where the question was
really "does this mark hold words". A replacement holds words.

Reusing the dialog exposed a second, quieter fault. A run lifted out of a
document is whatever size the document set — 11 pt, 9.5 pt — while the size
picker lists round numbers. Selecting a value the list does not contain leaves
the select empty, and the size on the way out fell back to 12. Editing the
wording of an 11 pt line would silently have resized it. The dialog now adds
the document's own size as an option for as long as it is open, and falls back
to the size it started with rather than to a guess.
2026-09-22 23:09:58 +02:00
..
lib fix(pdf-editor): a replaced run is text, so let it be edited like text 2026-09-22 23:09:58 +02:00
vendor feat(pdf-editor): read, mark up and reshape a PDF without leaving the browser 2026-09-20 20:58:21 +02:00
addon.json feat(pdf-editor): convert a PDF to Word, and say what that costs 2026-09-22 22:06:54 +02:00
editor.css feat(pdf-editor): replace the document's own text, on its own baseline 2026-09-22 21:49:37 +02:00
editor.html feat(pdf-editor): convert a PDF to Word, and say what that costs 2026-09-22 22:06:54 +02:00
editor.js fix(pdf-editor): a replaced run is text, so let it be edited like text 2026-09-22 23:09:58 +02:00
index.js feat(pdf-editor): the dock click is the "open a file" gesture, so answer it with one 2026-09-22 01:44:15 +02:00
VENDOR.md feat(pdf-editor): read, mark up and reshape a PDF without leaving the browser 2026-09-20 20:58:21 +02:00