# fix: let new paragraphs leave unspecified formatting to the insertion default · clo/snowbound

[View on GitCafe](https://git.cafe/clo/snowbound/commit/2209a77660d46fe4a034fd72298b65f3201a9118)

Repository: [clo/snowbound](https://git.cafe/clo/snowbound)

Visibility: public

Requested revision: 2209a77660d46fe4a034fd72298b65f3201a9118

Requested commit: 2209a77660d46fe4a034fd72298b65f3201a9118

Commit: 2209a77660d46fe4a034fd72298b65f3201a9118

Tree: 84ddefdc45eea15e7fc982ad0f4a99368ee303b9

Author: clover caruso

Committer: clover caruso

## Message

```
fix: let new paragraphs leave unspecified formatting to the insertion default

A text object the page writer inserts starts with the insertion default style
(Calibri 11), and its formatting pass then compared that stored style with the
model. A model span with unspecified font, size, colour, highlight or boolean
attributes, as a fresh paragraph built from Format::default() or read back
from a writer-minted cell replacement carries, was refused as inherited
formatting the image cannot restore. For a text object this edit inserted an
unspecified value now keeps the insertion default; stored objects still refuse
to lose an explicit value.

Both cases surfaced while re-expressing the notebook tests on page saves: a
new outline had to copy a resolved format from an existing paragraph, and an
edit to an emptied cell's replacement paragraph could not be published once it
was merged against a remote page that lacked the replacement.

Assisted-by: claude-fable-5.1

```

## Parents

- [cc5b6a1bca8a59e2c06208c9086e7b002f0e95df](https://git.cafe/clo/snowbound/commit/cc5b6a1bca8a59e2c06208c9086e7b002f0e95df?format=markdown)

[Source at this commit](https://git.cafe/clo/snowbound/tree/2209a77660d46fe4a034fd72298b65f3201a9118?format=markdown)
