-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EDITOR LOADING ISSUE #211
Comments
Is there anything of note in the logs when this happens? Seems like the HTML element iframe doesn't initialize properly? |
Hi, Thank you for your reply. The following message appears when the editor is not loaded properly: =========================================== =========================================== And the below message appears every time when the page is loaded. =========================================== Height of Platform View type: [ehCS4r2mA-19sw==] may not be set. Defaulting to =========================================== |
Hi, Below is the detail of how the code is used: final HtmlEditorController htmlEditingController = HtmlEditorController(); and the Editor settings is as below:
|
I noticed the same problem.. At the beginning it was always okay in browsers on a computer, but not okay in browsers on my phone. Now on computer it shows the same problem. Also I've been wondering how to set a height for the editor, it doesn't seem allowing that? |
Same problem on the Chrome browser
|
Hi @tneotia, It's similar error for me too. Is it because somewhere the return value is null/nil? I don't know how to debug Javascript. :( Hope you know how to fix it.
Thanks. |
Apologies, I have been extremely busy recently having started a new job, and currently don't have much time to look into this. I will see if I can find a solution in the near future. |
possible because of CSP header |
Sorry, what's CSP? |
Content security policy, in the package there is an IFrame that loads the editor, on my case I encountered the same issue when I tried to render the index.html in backend to inject some meta-tags, I need to include the script-src 'self' 'unsafe-inline' to load the editor. |
Currently facing the same issue on Chrome. Flutter 2.10.4, latest version of package. No html renderer |
Hi guys, I have the same issues. :-(. It is not possible to use it for the web now because of that. Maybe it would be better to have editor written in dart but I don't know if it is possible. |
#219 may fix this issue, but unfortunately it has merge conflicts and a change that needs to be removed before I can merge it. |
I'm facing the same problem on all of the available browsers. |
Hi, I have fixed it. Simply set "autoAdjustHeight" as "false" and it'll fix the issue.
|
It is sorted ... |
hi @truly6ve, i am running my app in flutter for web, it still raises this error ` Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.19044.1706], locale zh-CN) [X] Android toolchain - develop for Android devices [√] Chrome - develop for the web [X] Visual Studio - develop for Windows [!] Android Studio (not installed) [√] Connected device (3 available) [√] HTTP Host Availability my code : |
Describe the bug
The editor is working all fine and is very good in all respects. The only issue I am facing right now is; When I navigate to the page where this editor is, it doesn't load most of the time. I may need to go back and re-open the page. This is what I have to try most of the time as 70% it doesn't load.
As you can see in the first image it is loaded properly but in the second image, it is not loading the contents area of the Editor.
I am trying this in Chrome and my Flutter version is: 2.8.1.
Hope to hear from you soon regarding its solution.
Screenshots
![Screenshot 2022-01-28 at 19 54 22](https://user-images.githubusercontent.com/72092249/151612805-2265bbc4-a45c-4f2a-9c33-7dfa615778ef.png)
![Screenshot 2022-01-28 at 19 55 16](https://user-images.githubusercontent.com/72092249/151612837-0a330158-7736-4280-b98d-6d71e640cacc.png)
The text was updated successfully, but these errors were encountered: