Đào Hoàng Sơn
Đào Hoàng Sơn
Apparently `SelectionArea` is available in the Flutter 3.1 beta. Have you tried this version?
You will need to put html widget inside a selection area.
I think you can drop the bottom border for TR and just set all TD border. Something like this: ```dart HtmlWidget( html, customStylesBuilder: (element) { switch (element.localName) { case 'table':...
Only inline stylings are being processed (no cascading) so the later rule will just overwrite existing ones. You don't need `!important`.
Hmm, the `customStylesBuilder` runs before the `style` attribute is parsed so the inline value overwrites your borders. You probably need to reset the attribute to achieve this.
Need whitelisting https://medium.com/dartlang/announcing-package-support-for-dartpad-66a4b415970b
https://try.fwfh.dev/ is functional. - [dart-services](https://github.com/flutter-widget-from-html/dart-services) is running in a Cloud Run container with 4GB RAM, 2 CPU - [dart-pad](https://github.com/flutter-widget-from-html/dart-pad) is running with 512MB, 1 CPU - There is only 1...
I think this can be done. It's not possible with the current version though.
You can make your own widget factory and override the `buildText` method, something like this: ```dart class _MyWidgetFactory extends WidgetFactory { @override Widget? buildText(BuildMetadata meta, TextStyleHtml tsh, InlineSpan text) {...
If you don't control the HTML then this kind of customization needs your own `WidgetFactory`. I can provide some guidance if there are more information.