-
Notifications
You must be signed in to change notification settings - Fork 761
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
Html render issue with sup and sub #1947
Comments
The sub- and super-script issue was addressed in version 9.4 - can you update and verify? If you must be on an earlier version, then you will need to use special open-type fonts that implement scripting. |
I already tested it with the last Version in android not ios and html not supported styling and sup and sub not correct sup need to make text in top not only with small text |
I erroneously assumed that the problem was with rendering sub- and super-scripts in the editor. The problem appears to be in the html package (published by the dart language team) used to parse html. |
The current code used to import HTML uses html2md which converts html to Markdown and then to Quill Delta. |
I don't understand but I need to convert it to an html element with all styles |
Yes, I understand what you are trying to do. What you are trying to do is a good and simple idea. I am suggesting a work around.
To:
|
@AtlasAutocode thanks! |
Is there an existing issue for this?
Flutter Quill version
No response
Steps to reproduce
1 - convert data to html and save it
2- return data from html
Expected results
Actual results
Code sample
controller = QuillController(
document: Document.fromHtml(
bloc.questions!.question[bloc.currentQuestion].name),
selection: const TextSelection.collapsed(offset: 0));
and json name: "
Question 72
",H2O
Screenshots or Video
No response
Logs
No response
The text was updated successfully, but these errors were encountered: