-
Notifications
You must be signed in to change notification settings - Fork 1
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
Richtext loses content after saving - Windows #209
Comments
It might happen because the html is not well-formed.
|
This happened to me too on a Mac Firefox, editing a Richtext of Notes/News module - just writing plain text, not importing formatted html. |
Clients keep reporting this issue. |
This is definitely still an issue (across os) that I've been following up but have not found a solution yet (nor a sufficient understanding). In some widgets we handle it like this:
It looks like it works, though doubts remain.
Now I tested this strategy thoroughly and found out that it works "all the time" except when the widget is loaded the first time (first time opened, after logout and clear caches etc.). It feels like it's loaded properly, but then cleared again. Most probably the widget is not prepared yet. For it's simplicity and "semantic correctness" I like this strategy: 1. Prepare, 2. Ensure. Since I don't understand Javascript well enough, here my questions:
|
Naivly speaking: make fill_data (loadData) wait until the - in this case - relevant richtext widget is prepared? |
If texts are pasted into the richtext editor, it happens - for some people frequently - that the content is lost after saving.
It looks like it's related to paste Word content, sometimes with the plugin “Insert as text” or the tool ”remove formats”. We tried to reproduce the problem using our Windows environment on the Mac. It might happen when the editor is not loaded yet properly. Though it's hard to clearly reproduce, a few clients always encounter this problem and find it very bothersome!
Since this problem seems to be a recent one and since we introduced resource consolidation also fairly recently, and since there are issues reported related to resource consolidation (#208), it's good to check and exclude this possibility.
Maybe an update of CKEditor might help too.
The text was updated successfully, but these errors were encountered: