chore: Follow up selectable text
This commit is contained in:
parent
60bcc6b89f
commit
8148999512
1 changed files with 76 additions and 73 deletions
|
|
@ -74,7 +74,9 @@ class HtmlMessage extends StatelessWidget {
|
||||||
);
|
);
|
||||||
|
|
||||||
// there is no need to pre-validate the html, as we validate it while rendering
|
// there is no need to pre-validate the html, as we validate it while rendering
|
||||||
return Html(
|
return MouseRegion(
|
||||||
|
cursor: SystemMouseCursors.text,
|
||||||
|
child: Html(
|
||||||
data: linkifiedRenderHtml,
|
data: linkifiedRenderHtml,
|
||||||
style: {
|
style: {
|
||||||
'*': Style(
|
'*': Style(
|
||||||
|
|
@ -147,6 +149,7 @@ class HtmlMessage extends StatelessWidget {
|
||||||
'html',
|
'html',
|
||||||
},
|
},
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue