Skip to content
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

Underline Styles #1917

Closed
1 task done
adrianHerreraa opened this issue Jun 13, 2024 · 2 comments · Fixed by #1955
Closed
1 task done

Underline Styles #1917

adrianHerreraa opened this issue Jun 13, 2024 · 2 comments · Fixed by #1955
Labels
help wanted Extra attention is needed

Comments

@adrianHerreraa
Copy link

Is there an existing issue for this?

The question

Hi, the issue is that when I write styles like underline, it takes it correctly when editing it, when saving the HTML value has something similar to <p><u>Underline</u></p>, but when returning or setting that direct value in the controller does not work, it takes it as a simple paragraph <p> and does not assign the corresponding style. Can anyone guide me please?.

@adrianHerreraa adrianHerreraa added the help wanted Extra attention is needed label Jun 13, 2024
@AtlasAutocode
Copy link
Collaborator

The current code used to import HTML uses html2md which converts html to Markdown and then to Quill Delta.
Since there is no markdown code for underline this style will be ignored.
The only way to solve this problem would be to rewrite the html converter to convert directly to Delta (or json?)
Same answer applies to Issue 1947 sub/sup.

@CatHood0
Copy link
Collaborator

I notice of this behavior, and i trying to solve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants