You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
  Wednesday, 02 June 2021
  3 Replies
  2K Visits
How can we prevent JCE from clearing unsaved edits?

There seem to be innumerable conditions that cause JCE to reload the page and lose changes not yet saved, while editing the content.

E.g. pressing a wrong control-key sequence,
or dragging the the cursor during a selection outside of the edit pane,
or even just making a selection inside the Code editing pane.

Today I lost the same changes three times in a row when I tried to remove opening and closing double-quotes from a string using the Code mode.
No problem deleting the opening quote, but as soon as I tried to highlight or delete the closing quote, JCE would REVERT the entire page instead!!!
I finally got it done by deleting the ending quote before the opening one.

This nasty behavior is particularly aggravating when one is in a hurry to get something published and does not want to waste the time to save every minute.
more than a month ago
·
#108062
Sometimes it may be caused by a session timeout. E.g. after having answered a phone call, when one comes back to the page that still looks the same -- but as soon as one clicks anywhere, one gets prompted for a new login. After that the work has vanished.


This is Joomla session management at work. Although Joomla does try to keep the session open when editing using a backend process, this will still eventually time out, and log you out.

Other times, just minutes after a login, as little as dragging over a passage to highlight it for overwriting can cause a reload. Usually that goes along with a message that the page was reloaded "because an error occurred," but without any indication of what kind of error that might have been!


I've not been able to reproduce this, but it sounds like the result of a javascript error of some sort. Does this happen in the front-end or admin?

Yoou could try using the AutoBackup plugin (you will need to add this to the editor toolbar in Editor Profiles -> Features & Layout), which will store a copy of the editor contents every 20 seconds, which you can recall at any time by clicking the AutoBackup button (this only works in the Editor tab though).

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#108060
I have watched more carefully for the conditions now.
And I can confirm that it happens under BOTH tabs.

Sometimes it may be caused by a session timeout. E.g. after having answered a phone call, when one comes back to the page that still looks the same -- but as soon as one clicks anywhere, one gets prompted for a new login. After that the work has vanished.

Other times, just minutes after a login, as little as dragging over a passage to highlight it for overwriting can cause a reload. Usually that goes along with a message that the page was reloaded "because an error occurred," but without any indication of what kind of error that might have been!

Also, this happens on a 2018 MacBook Pro under BigSur 11.4 using Safari as well as on an M1 PowerBook Pro using Chrome.

Incidentally in several other window tabs that may include forms with non-JCE edit fields, when we accidentally hit something that loads another page, we can typically just click the browser's "show previous page" button -- without unsaved changes having disappeared there.
more than a month ago
·
#107985
E.g. pressing a wrong control-key sequence,
or dragging the the cursor during a selection outside of the edit pane,
or even just making a selection inside the Code editing pane.

Today I lost the same changes three times in a row when I tried to remove opening and closing double-quotes from a string using the Code mode.
No problem deleting the opening quote, but as soon as I tried to highlight or delete the closing quote, JCE would REVERT the entire page instead!!!
I finally got it done by deleting the ending quote before the opening one.


Does this only happen in the Code tab, or have you experienced this in the Editor tab too?

Just because you're not paranoid doesn't mean everybody isn't out to get you.

  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!