Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.10.6, 3.11.2
-
None
-
MOODLE_310_STABLE, MOODLE_311_STABLE
Description
This appears to affect any form with an Atto editor. When a form field which is not the Atto editor has keyboard focus, then pressing enter should submit the form. Instead it Opens the font menu of the atto editor.
Here are two example steps to reproduce.
- In a forum, start a new discussion (e.g. https://moodle.org/mod/forum/post.php?reply=1714304#mformforum).
- Ensure there is some content in both required fields.
- Get keyboard focus into the Subject field.
- Press enter.
Expected result: The form is submitted
Acutal result: the 'Font' menu in the atto editor opens.
The same happens in the quiz, when manually grading questions (as explained in the forum thread I linked to above.)
- Create, or find a Quiz with some student attempts.
- Go to Results -> Manual grading.
- If necessary, turn on 'Also show automatically graded questions'.
- Click to grade some responses.
- Enter a mark.
- Press the enter key.
Exected/Actual as before.
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-72286 Atto plugin steals default submit action so enter key in other fields no longer submits the form
-
- Closed
-