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
Describe the bug
Using v. 3.0 (can't upgrade until we update PHP)
This may already be a feature, sorry if it is. Please point me to right place if it is duplicate.
If an element, like an li tag, has multiple formatting attributes assigned in the delta, like alignment, the li tag gets dropped and is replaced by a paragraph element with the alignment style.
Expected behavior
The format is rendered with each of the specified attributes. So a li tag that is formatted to be in the center would have a style attribute added to it. It seems like Quill supports multiple attributes on headers, blockquotes, alignment, lists, and indentation.
Please let me know if I can provide more context. Thanks!
The text was updated successfully, but these errors were encountered:
nadar
linked a pull request
Sep 4, 2024
that will
close
this issue
This is indeed a problem, but i am not yet sure what the best solution would be. Lists elements usually are not "styled", the content inside the list element is. I have prepared add branch and tests if you like to help on this, see #91
Describe the bug
Using v. 3.0 (can't upgrade until we update PHP)
This may already be a feature, sorry if it is. Please point me to right place if it is duplicate.
If an element, like an li tag, has multiple formatting attributes assigned in the delta, like alignment, the li tag gets dropped and is replaced by a paragraph element with the alignment style.
The delta code which generates the Problem
Example:
However the html produced is:
The expected html output the delta should produce
Example:
Expected behavior
The format is rendered with each of the specified attributes. So a li tag that is formatted to be in the center would have a style attribute added to it. It seems like Quill supports multiple attributes on headers, blockquotes, alignment, lists, and indentation.
Please let me know if I can provide more context. Thanks!
The text was updated successfully, but these errors were encountered: