How to insert prefabricated rich text? #300
Unanswered
greenking19
asked this question in
Q&A
Replies: 1 comment
-
I found two functions, @override
void initState() {
super.initState();
init();
}
void init() async {
String data = await getData();
await Future.delayed(Duration(seconds: 1));
controller.setFocus();
controller.insertHtml(data);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some rich text that needs to be requested back from the backend, then inserted into the HtmlEditor for editing and then saving。
Need to use that method to call it? I can't find it
Beta Was this translation helpful? Give feedback.
All reactions