Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font Size Issue #491

Closed
jasongisstl opened this issue Sep 30, 2015 · 1 comment
Closed

Font Size Issue #491

jasongisstl opened this issue Sep 30, 2015 · 1 comment

Comments

@jasongisstl
Copy link

I think there seems to be an issue with the Font Size with version 0.20.0. I'm unsure as to what is causing it, but hopefully the following JS Fiddle will make it clear.

In the example, the 'Large' font size is selected as the default.

If you run the example and set the Font Size to 'Normal' from the toolbar, as soon as you start typing the toolbar will revert back to 'Large', and the actual size of the inserted text becomes 13px (even though my 'normal' size is 12px).

If I revert back to version 0.19.10, the Toolbar doesn't change back to display 'Large' size as soon as you start typing in 'Normal' size, but it does still insert the text as 13px instead of 12px.

(Reproduced with Chrome, Safari & Firefox)

@jhchen jhchen added this to the Quill 1.0 milestone Dec 15, 2015
@jhchen
Copy link
Member

jhchen commented May 12, 2016

Quill 1.0 now uses classes for font sizes so this should now work: http://jsfiddle.net/s8k3bnLL/1/. If you want 'normal' to be a non-default value, you will have to customize the font size attributor with Parchment.

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

No branches or pull requests

2 participants