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
[Bug]-[600]:RichTextEditor not loading at start #11624
Comments
@lublak it seems to be working for me. Can you share an app that reproduces this issue? |
@Nikhil-Nandagopal yes i can. (But i removed the password from the datasource) |
|
@lublak can you reproduce this with our users db? I tried replacing your query with fetch users and was able to get it to work |
I found the issue @Nikhil-Nandagopal Interesting then only that appsmith itself continues to run. It would be more practical to lock the entire app in case of a failed connection in order to avoid erroneous data in case of a faulty connection. |
But after releasing the websocket there is another problem. |
@lublak what you can do here is disable the RTE if the Query is in a loading state to prevent user inputs till the query returns |
@Nikhil-Nandagopal just for a info i can reproduce the issue of non loading data also at your app.appsmith site: |
The thing about protecting because of the delay is a good thing. But unfortunately does not fix the problem that sometimes it is not loaded at all |
@Nikhil-Nandagopal editor.on('init', function (e) {
editor.setContent(content);
}); Alternatively, the html can be set directly in the textarea before the editor is created: |
@lublak we're now able to reproduce the issue. |
Adding an app where this can be reproduced, please check the app in safari |
@lublak can you check and let us know if this is happening? |
@dilippitchika For me the error still occurs: https://app.appsmith.com/applications/6225c53e45ea27345b4970f2/pages/6225c53e45ea27345b4970f5 What I notice is that undo is not set when it remains empty and undo is set when the content is successfully loaded. I have the feeling that setContent is not called. Unfortunately I don't know how cypress is called (setTinyMceContent). https://github.com/appsmithorg/appsmith/blob/release/app/client/cypress/support/commands.js#L2907 |
I can reproduce this on prod as well |
@vivekverma2312 need some help here, we are able to reproduce this in safari in macbooks but the user reported that this is happening in firefox in a different OS. Can we ask someone to check this across browsers and OS and help us with a report before we start triaging this? |
@Tooluloope Able to repro the issue on Windows (Chrome & Firefox) |
@vivekverma2312 is this happening anywhere else in mac? Or we only checked windows? @somangshu whom can we assign this to? I believe this is clearly reproducible in windows machines. |
This is happening on windows and as said above and also on safari on mac. @techbhavin please triage to identify the problem here |
Stats
|
Above estimate is just to rank better, not a real estimate yet |
Is there an existing issue for this?
Current Behavior
Currently i have a RichTextEditor.
The "default text" is filled by a database.
In widget edit mode (where you can place the appsmith widgets) it works fine.
Now I deploy the app and open it it does not work. The editor remains empty.
If I change the page in the same app via the navigation bar of Appsmith and change back again it works.
It can be a disaster if the editor is empty and when changing the data then the current data is completely deleted from the database (onChange).
Steps To Reproduce
{{RichTextData.data[0].data}}
(SELECT data FROM RichTextData;
)Environment
Release
Version
Self-Hosted
The text was updated successfully, but these errors were encountered: