-
Bug
-
Resolution: Fixed
-
Blocker
-
2.7, 2.7 regressions
-
MOODLE_27_STABLE
-
MOODLE_27_STABLE
-
MDL-45780-master -
-
13
-
FRONTEND Sprint 13
Both quiz autosave code mod/quiz/yui/src/autosave/js/autosave.js, and lib/yui/src/formchangechecker/js/formchangechecker.js require special code to work with TinyMCE.
It seems that it they will alos need special code to work with Atto, but no-one has written that.
To reproduce (Quiz)
- (Optional) Add $CFG->forced_plugin_settings = array('quiz' => array('autosaveperiod' => 3)); to your config.php to make thes easier to test. (Just a 3 second delay between a change and an auto-save.)
- Ensure you have a default set-up using Atto, not TinyMCE or another editor.
- Create a quiz containing one essay question, that uses the 'HTML editor with file picker' response type.
- Attempt the quiz, and Open the console. (The autosave code outputs useful debug messages to tell you what is going on - assuming you have developer debug on.)
- Type something in Atto, and verify that 3 seconds later (or whatever delay you set) an autosave ajax request happens.
- Add an image to Atto using the filepicker, and verify that cause an autosave too.
To reproduce (Formchangechecker)
- Go to a form, and click to make a new post.
- Type an X in the message box.
- Click the back button. You should get a warning that you are about to leave a page with unsaved data, but you don't.
- has a non-specific relationship to
-
MDL-46830 Atto gets confused about what is empty
-
- Closed
-