implemented Ticker page selection persistence and enhanced ProseMirror table display modes

This commit is contained in:
2026-07-10 19:15:52 +02:00
parent 0d01f6b631
commit 37608e59b3
10 changed files with 827 additions and 131 deletions
+9 -2
View File
@@ -172,8 +172,15 @@ class _PmRichTextState extends State<PmRichText> {
}
@override
Widget build(BuildContext context) =>
Text.rich(_span, textAlign: widget.textAlign);
Widget build(BuildContext context) {
final softWrap = PmCellTextFlow.softWrapOf(context);
return Text.rich(
_span,
textAlign: widget.textAlign,
softWrap: softWrap,
overflow: softWrap ? TextOverflow.clip : TextOverflow.visible,
);
}
}
/// Parses a CSS `#rgb`/`#rrggbb`/`#rrggbbaa` hex or a small set of named colors.