small fix to make sure message text in toolbar is always set
This commit is contained in:
parent
da64ed1506
commit
afb7b5c83b
1 changed files with 4 additions and 0 deletions
|
|
@ -86,6 +86,10 @@ class PangeaRichTextState extends State<PangeaRichText> {
|
|||
}
|
||||
});
|
||||
return widget.pangeaMessageEvent.body;
|
||||
} else {
|
||||
widget.toolbarController.toolbar?.textSelection.setMessageText(
|
||||
repEvent.text,
|
||||
);
|
||||
}
|
||||
|
||||
return repEvent.text;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue