mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-25 10:57:14 -06:00
Over differently formatted paragraphs the dialog showed the caret paragraph's values and OK gave them to every selected paragraph, through para.rtl/ltr, para.align and para.set (three undo steps). It now reads every selected paragraph: a field they share shows as before, a field they differ in shows blank (number boxes empty, alignment empty, check boxes neither on nor off, no direction picked) and OK leaves it as each paragraph has it until the user sets it. OK sends only the fields that changed, as a single para.set. para.set takes "onPage": alignment and indents as seen on the page, which each paragraph turns into its own start and end once `props` is applied, so mixed directions get the right sides in one command. The line spacing and space boxes no longer pull an out-of-range value from the document (line spacing 6) into their range, which counted as an edit. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>