We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to add a padding around an with this code:
customEdgeInsets: (node){ if(node is dom.Element) { switch(node.localName) { case "img":return const EdgeInsets.symmetric(vertical: 8.0); } } }
but it doesn't work. Looking into the source code I've found that the returned value from here
flutter_html/lib/html_parser.dart
Lines 699 to 702 in 56ba649
Lines 885 to 892 in 56ba649
Is it possible to make it works for other tags too?
The text was updated successfully, but these errors were encountered:
Sorry for the delayed response. customEdgeInsets is ignored by the body, but is supported by all other block elements. Is useRichText set to true?
customEdgeInsets
body
block
useRichText
Sorry, something went wrong.
Closing due to inactivity. Reopen if you encounter this issue again.
No branches or pull requests
I tried to add a padding around an
with this code:
but it doesn't work.
Looking into the source code I've found that the returned value from here
flutter_html/lib/html_parser.dart
Lines 699 to 702 in 56ba649
is ignored for all html tags except for this
flutter_html/lib/html_parser.dart
Lines 885 to 892 in 56ba649
Is it possible to make it works for other tags too?
The text was updated successfully, but these errors were encountered: