You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure why you thought you needed to create a fiddle for this issue, words would have sufficed.
That said, I'm not sure why that's not working, I'll mark this as a bug.
Looking at the settings.js, there isn't any attribute with the name fontSizeUnit or fontSize. @GreenStorm
Are these two parameters documented somewhere?
Either it is a bug in the documentation or the implementation is missing.
Looking at the settings.js, there isn't any attribute with the name fontSizeUnit or fontSize. @GreenStorm Are these two parameters documented somewhere? Either it is a bug in the documentation or the implementation is missing.
@GreenStorm
Thanks for the link!
It works as documented.
Having a method to set the fontSize doesn't automatically imply, that you can use the same string as an initialization parameter.
This is not implemented (yet). If the mentioned css-style works for you, then there might be no need to implement this.
jsfiddle of issue
https://jsfiddle.net/bt64msr5/3/
Description of your Issue or Request:
Trying to initializing both the font size and line height.
steps to reproduce (Add more if necessary):
What is your Operating System, Browser and Version and Summernote Version you are using:
This can help find and resolve any issues, place an x inside the brackets or if relevant elaborate after each choice.
Operating System:
[x] Microsoft Windows
[ ] Apple
[ ] Linux
[ ] All
Browser and Version:
[ ] Brave
[x] Chrome
[ ] Edge (Old Legacy)
[ ] Edge (Chromium Based)
[x] Firefox
[x] Internet Explorer
[ ] Opera
[ ] Safari
[ ] Other (Specify):
Summernote Type, place an x inside the brackets:
[ ] BS3
[ ] BS4
[ ] Lite
[x] All
the jisfiddle one is lite 0.8.18
jsfiddle of issue
https://jsfiddle.net/bt64msr5/3/
The text was updated successfully, but these errors were encountered: