Create a new article or open an existing article.
Edit the article text. Or change an image etc.
Press the keys Ctrl and S (Ctrl+s).
The edited version of the article is saved. Or no action, so the changed text ist still available.
The page is reloaded. The user is directed to the article list page (com_content, view=articles). The article is checked out. All changes are lost.
Server: Joomla 3.7.2., php 7, Using default tinymce as the editor plugin, standard out of the box Joomla, no plugins for article editing, no K2.
Desktop: Suse Linux, Browser: Firefox.
I have lost multiple edits due to the engrained automatic pressing of Ctrl+s.
Hence the behavior of the Joomla article editor-view has led me to lose hours of my valuable time. So right now the only solution is, not to use the article editor for writing articles (only for entry). Which is the purpose of the editor in the first place.
Status | New | ⇒ | Discussion |
Category | ⇒ | UI/UX |
I can confirm:
Edit the article text.
Press the keys Ctrl and S (Ctrl+s).
The page is reloaded. The user is directed to the article list page (com_content, view=articles). The article is checked out. All changes are lost.
Test in Joomla 3.7.3Dev from Firefox on Linux Ubuntu
3x Firefox, but Issue only on Linux. Can someone test on Windows?
tested chrome on windows
Ctrl-s will close the editor and return to the list view without saving
tested edge on windows
Ctrl-s will close the editor and return to the list view without saving
tested ie11 on windows
Ctrl-s will close the editor and return to the list view without saving
tested firefox on windows
Ctrl-s will close the editor and return to the list view without saving
This only happens when the cursor is in the tinymce editor - if it is anywhere else on the page then cyrl-s will open a browser dialogue to try and save the page locally
@brianteeman you're right: also on Mac using cmd+s and Curser is in TinyMCE-Editor the Page gets reloaded and Article checked-out in List-View without saving Changes.
Related info https://www.tinymce.com/docs/plugins/save/
It's not related to that. I gave the tinymce link that is the cause earlier
@brianteeman following the instructions of the link you pasted above, this can be fixed by adding this:
if (tinyMCE && typeof tinyMCE === 'function') {
button.type = 'submitbtn';
}
here: https://github.com/joomla/joomla-cms/blob/staging/media/system/js/core-uncompressed.js#L70
@ghazal Have you also made changes to https://github.com/joomla/joomla-cms/blob/staging/media/system/js/core.js. If not, the changes will be visible only when system debug mode is enabled
Yes, of course ...
Hi, thanks for taking the time to investigate the problem. Has there been any progress to the issue?
@makermann there is no PR solving this Issue. I understand @brianteeman 's comment as its an Issue at TinyMCE – correct, brian?
Labels |
Added:
J3 Issue
|
I have worked out how to prevent ctrl-s from closing the window and only offering a browser dialog to save. This is by disabling the save plugin in tinymce.php
That will prevent the original report of losing an article but it doesnt make ctrl-s save the article.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-18 18:03:14 |
Closed_By | ⇒ | brianteeman |
I can no longer replicate the issue. I am going to assume it has been resolved elsewhere but if not and someone can replicate it then it can always be reopened
Status | Closed | ⇒ | New |
Closed_Date | 2018-08-18 18:03:14 | ⇒ | |
Closed_By | brianteeman | ⇒ |
Reopened as requested in #26197 (comment)
Status | New | ⇒ | Discussion |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-01-14 14:56:42 |
Closed_By | ⇒ | Quy |
Using cmd+s, alt+s or ctrl+s doesn't reload Page. cmd+s open the Dialog to save as html-Site.Please see Comment.
System information
3.7.3-dev (latest nightly build)
Multilanguage Site
macOS Sierra, 10.12.5
Firefox 53 (64-bit)
MAMP 4.1.1