Repository navigation
feat(editor): add selected-text font sizing - #57
Merged
Merged
Conversation
Add a Home ribbon font-size selector and preserve formatting in HTML and CMGFM. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
alientechsw
force-pushed
the
feature/font-size
branch
from
November 8, 2026 23:08
78a5580 to
eea315e
Compare
Collaborator
Author
|
Thanks! I’d suggest finishing this PR first: verify undo/redo and add more selected-text tests, including mixed formatting, Unicode, changing sizes, and save/reopen in both formats. Once that’s merged, let’s add the remaining controls incrementally, with a focused PR for each feature. That should make the changes easier to review and test. |
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What and why
Adds a font-size selector to the Home ribbon, with sizes from 8 to 72 pt. It applies to selected text, updates the live view, and preserves formatting when HTML and CMGFM pages are saved and reopened. Selecting text is required; the UI explains this when there is no selection.
Quality level L3 (see SKILLS/nc-devx/SKILL.md)
mainand has no merge commitscargo xtask cipassescoveragejob's warnings are read;cargo xtask coverage --updateis in this pull request if coverage roseCommandSpecwith a testcargo xtask demo-checkand the format parity test passed throughcargo xtask ci; a side-by-side visual check remainscargo xtask screenshotswas not runassets/ordocs/images/How it was checked
cargo fmt --all- passedcargo test -p notecraft-formats -p notecraft-ui-egui- passedcargo clippy -p notecraft-formats -p notecraft-ui-egui --all-targets -- -D warnings- passedcargo xtask ci- passed, including demo and format parity checksgit diff --check- passedCoverage review and visual review remain outstanding.