html-editor-enhanced icon indicating copy to clipboard operation
html-editor-enhanced copied to clipboard

[QUESTION] IOS - The editor doesn't load the first time I open it.

Open federicapo opened this issue 1 year ago • 3 comments

I am using version 2.5.1 of the plugin, and I have created a page with the HTML editor to display an email. When I install the app and open it, access the page, the editor loads but without the ability to write anything, and I don't see the content I put in init. If I then close and reopen the app, the HTML is displayed correctly, and I can edit it. On Android, this issue does not occur. If I try to click when it is not displayed, I receive the error: ReferenceError: Can't find variable: $.

Can you help me?

federicapo avatar Jan 10 '24 21:01 federicapo

same with me, i've just close the app,rebuild it and worked fine

RJustoX avatar Jan 12 '24 17:01 RJustoX

have the same bug in flutter web

ahmed-mohsin avatar May 25 '24 10:05 ahmed-mohsin

After wrapping the HtmlEditor Widget with FutureBuilder it works fine in flutter web

FutureBuilder( future: Future.delayed(Duration(milliseconds: 50), () {}), builder: (context, snapshot) { if (snapshot.connectionState == ConnectionState.done) { return HtmlEditor(); } else { return SizedBox.shrink(); } } )

ahmed-mohsin avatar May 29 '24 02:05 ahmed-mohsin