fix: applying formatting to header/footer - #2904
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
🎉 This PR is included in @superdoc-dev/react v1.2.0-next.41 The release is available on GitHub release |
|
🎉 This PR is included in vscode-ext v2.3.0-next.43 |
|
🎉 This PR is included in template-builder v1.6.0-next.6 The release is available on GitHub release |
|
🎉 This PR is included in esign v2.3.0-next.43 The release is available on GitHub release |
|
🎉 This PR is included in superdoc v1.28.0-next.6 The release is available on GitHub release |
|
🎉 This PR is included in superdoc-cli v0.8.0-next.6 The release is available on GitHub release |
|
🎉 This PR is included in superdoc-sdk v1.6.0-next.42 |
|
🎉 This PR is included in superdoc v1.29.0 The release is available on GitHub release |
|
🎉 This PR is included in @superdoc-dev/mcp v0.3.0-next.1 The release is available on GitHub release |
|
🎉 This PR is included in superdoc-sdk v1.8.0-next.1 |
|
🎉 This PR is included in esign v2.6.0 The release is available on GitHub release |
|
🎉 This PR is included in template-builder v1.7.0 The release is available on GitHub release |
|
🎉 This PR is included in superdoc-cli v0.8.0 The release is available on GitHub release |
|
🎉 This PR is included in superdoc-sdk v1.8.0 |
|
🎉 This PR is included in @superdoc-dev/mcp v0.3.0 The release is available on GitHub release |
|
🎉 This PR is included in vscode-ext v2.3.0 |
Linear: SD-2618
Fixes inconsistent toolbar formatting in header/footer by removing stale selection restoration and avoiding deferred mark execution in H/F.
What changed
restoreSelection()for header/footer toolbar interactions.pendingMarkCommandsqueue).tr.selection) via a centralized helper.restoreSelectioncall in header/footer toolbar flow,Result
bold/italic/underline/color/highlightnow apply immediately in centered header/footer text.fontFamily/fontSizenow apply immediately without requiring an extra selection change.