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
Hi!
Firstly, thanks for the great editor. It helped me a lot in my current project.
I have noticed an unexpected behavior when detecting style format. When repeated style value is present, getFormat() returns an empty object.
Dora1604
changed the title
When repeated style value is present, getFormat() returns empty array
When repeated style value is present, getFormat() returns empty object
Apr 15, 2021
woochi
added a commit
to smartlyio/quill
that referenced
this issue
Jun 3, 2022
Hi!
Firstly, thanks for the great editor. It helped me a lot in my current project.
I have noticed an unexpected behavior when detecting style format. When repeated style value is present, getFormat() returns an empty object.
For example, having html like this:
produces getFormat (with selected all html above) output :
Actual behavior
Expected behavior
while html like this:
produces getFormat (with selected all html above) output:
I think repeated style format should either be added multiple times or just once, but should not produce empty object output.
Platform
Windows 10, Edge version 89.0.774.75
Quill version
1.3.7.
The text was updated successfully, but these errors were encountered: