implemented Ticker page selection persistence and enhanced ProseMirror table display modes
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user