revert: select article

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-23 12:34:12 +08:00
parent a0abd472e0
commit f220db96ed

View File

@@ -16,7 +16,8 @@ Widget htmlRender({
Function(List<String>, int)? callback, Function(List<String>, int)? callback,
}) { }) {
debugPrint('htmlRender'); debugPrint('htmlRender');
return Html( return SelectionArea(
child: Html(
data: htmlContent, data: htmlContent,
onLinkTap: (String? url, Map<String, String> buildContext, attributes) {}, onLinkTap: (String? url, Map<String, String> buildContext, attributes) {},
extensions: [ extensions: [
@@ -123,5 +124,5 @@ Widget htmlRender({
margin: Margins.zero, margin: Margins.zero,
), ),
}, },
); ));
} }