Skip to content

docs: explain custom font sizes and toolbar control - #74

Open
sridharkalaibala wants to merge 1 commit into
summernote:mainfrom
sridharkalaibala:docs/custom-font-sizes
Open

sridharkalaibala wants to merge 1 commit into
summernote:mainfrom
sridharkalaibala:docs/custom-font-sizes

Conversation

@sridharkalaibala

Copy link
Copy Markdown

Document the fontSizes option alongside the existing font and font-size-unit settings. The example includes the fontsize toolbar button so the configured choices are visible, and explains how to retain the rest of an existing toolbar.

Fixes summernote/summernote#4762

Validation: ran the exact new initialization snippet with Summernote Lite in Chromium. The dropdown contained all 15 configured sizes, and selecting the custom 13 entry applied font-size: 13px to selected text. Checked the option against current upstream settings and ran git diff --check. The full Jekyll site build was not run.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fontSizes is missing

1 participant