Skip to content

fix: change default line height for header/footer editor#2672

Merged
caio-pizzol merged 3 commits intomainfrom
sd-2235_header-line-height
Apr 3, 2026
Merged

fix: change default line height for header/footer editor#2672
caio-pizzol merged 3 commits intomainfrom
sd-2235_header-line-height

Conversation

@VladaHarbour
Copy link
Copy Markdown
Contributor

It seems that lineHeight multiplier is not applied neither to header rendered with layout engine nor to header in Word. Removing multiplier which is applied to ProseMirror editor we still use for header/footer editing seems to be the most efficient and quick fix

@VladaHarbour VladaHarbour self-assigned this Apr 1, 2026
@linear
Copy link
Copy Markdown

linear bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

@caio-pizzol caio-pizzol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VladaHarbour looks good — fixes the clipping and the value is correct per the spec. Tested locally, all header lines show up fine. Pushed a commit with 4 behavior tests. One small note inline, nothing blocking.

VladaHarbour and others added 3 commits April 3, 2026 16:42
Verify that header/footer editors use lineHeight 1 (matching OOXML
Header style w:line="240"), body editors retain the default 1.2, and
header content is not clipped when entering edit mode.
@VladaHarbour VladaHarbour force-pushed the sd-2235_header-line-height branch from 3b4f830 to f523b99 Compare April 3, 2026 13:43
Copy link
Copy Markdown
Contributor

@caio-pizzol caio-pizzol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VladaHarbour looks good, last round's feedback is addressed. approving.

@caio-pizzol caio-pizzol added this pull request to the merge queue Apr 3, 2026
Merged via the queue into main with commit 312e75d Apr 3, 2026
54 checks passed
@caio-pizzol caio-pizzol deleted the sd-2235_header-line-height branch April 3, 2026 22:07
@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Apr 3, 2026

🎉 This PR is included in vscode-ext v1.1.0-next.64

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Apr 3, 2026

🎉 This PR is included in @superdoc-dev/react v1.0.0-next.18

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Apr 3, 2026

🎉 This PR is included in esign v2.2.0-next.22

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Apr 3, 2026

🎉 This PR is included in template-builder v1.3.0-next.21

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Apr 3, 2026

🎉 This PR is included in superdoc-cli v0.5.0-next.61

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Apr 3, 2026

🎉 This PR is included in superdoc v1.24.0-next.61

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot bot commented Apr 3, 2026

🎉 This PR is included in superdoc-sdk v1.3.0-next.62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants