-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Unable to use text-decoration: underline and text-decoration: line-through #2585
Comments
Can someone please confirm this bug? |
I confirm that it is still happening in 2.0.0-dev.3. |
I've made a pull request with the correction for this issue: |
It seem's not work for me. my explame is someone could share solution explame please. |
The original issue is for versions after 2.0.0, you are using version 1.3.6. |
I'm testing and facing the same bug in all the versions I've tested. Is there any workaround we can use here @edhowler @krilllind ? Thanks! |
Quill 2.0 has been released (announcement post) with many changes and fixes. If this is still an issue please create a new issue after reviewing our updated Contributing guide 🙏 |
Steps for Reproduction
<span style="font-style: italic">My test</span>
Expects output to be
<em>My test</em>
(true)<span style="text-decoration: underline">My test</span>
Expects output to be
<b>My test</b>
(false)Expected behavior:
CSS style
text-decoration: underline
andtext-decoration: line-through
should be convertedinto HTML tags
<u>
and<s>
Currently only
font-weight: bold
andfont-style: italic
works.Actual behavior:
<span>
element containing css valuestext-decoration: underline
andtext-decoration: line-through
are not converted, but insted ignored and removed.Platforms:
Tested in Google Chrome v73.0 Windows 10 x64
Version:
Tested in Quill js playground (v1.3.6)
The text was updated successfully, but these errors were encountered: