summernote / summernote

Super simple WYSIWYG editor
https://summernote.org
MIT License
11.4k stars 2.24k forks source link

Cannot apply font size when select all (Ctrl+A) #4616

Open trantantien opened 3 months ago

trantantien commented 3 months ago

Checklist

Steps to reproduce

I copy content from a web include some paragraph and paste to summer note, then select all content to change font size.

Expected behavior

Should be change font size for selected.

Current behavior

Font size is not apply all, only apply for the first paragraph. Need to need to select paragraph by paragraph.

Minimal example reproducing the issue

No response

Environment

DennisSuitters commented 3 months ago

I suspect you tried this one the Summernote home page, which uses the release version of Summernote. However, there have been changes and updated fixes, I know at least one of which addressed this issue, but the changes are not present in the release versions. At this time, you would have to build the project, and use the files out of the created dist/ folder.

That said, I have been discussing with @hackerwins about doing a release soon.

lucasoliveirat commented 1 month ago

I'm having this issue, all versions from 14 to 20.

DennisSuitters commented 1 month ago

Please check the pasted content before making further changes. I'm thinking that there are overriding inline styles within the elements that prevent changes made by the editor.

khoaminhi commented 1 month ago

I'm having a highlight many lines issue when I apply the font family. Only some first line is set in that font. And then, I get the same issue with font size. I use the latest version.