Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-45239

Atto does not focus on the editor after button pushes in Firefox

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-45239-master
    • Testing Instructions:
      Hide

      In:

      • Firefox
      • Chrome
      • Safari
      • IE
      • iOS Safari
      1. Open an editor
      2. Type some text
      3. Press the Bold buton
        • Confirm that focus returns to the text area
      4. Clear the editor content
      5. Click the numbered list button
      6. Immediately attempt to add text
        • Confirm that the text is entered within the list
      7. Try a range of things in the editor (e.g. button presses, keyboard shortcuts, opening menus, opening dialogues, closing dialogues) and confirm that the focus is returned to the editor. Note: The collapse plugin is an exception to this behaviour.
        More...
      8. Select a text (not on the first line)
      9. Shift-Tab to the toolbar
      10. Hit enter on the bold button
      11. The selection becomes bold
      Show
      In: Firefox Chrome Safari IE iOS Safari Open an editor Type some text Press the Bold buton Confirm that focus returns to the text area Clear the editor content Click the numbered list button Immediately attempt to add text Confirm that the text is entered within the list Try a range of things in the editor (e.g. button presses, keyboard shortcuts, opening menus, opening dialogues, closing dialogues) and confirm that the focus is returned to the editor. Note: The collapse plugin is an exception to this behaviour. More... Select a text (not on the first line) Shift-Tab to the toolbar Hit enter on the bold button The selection becomes bold

      Description

      Yay, Firefox likes to be different. Thanks to Marina for pointing this out.

      It seems that when pressing things like the bold button in Firefox, the focus is not being returned to the content editable area. \o/

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Lyons
              Reporter:
              dobedobedoh Andrew Lyons
              Peer reviewer:
              Simey Lameze Simey Lameze
              Integrator:
              Marina Glancy Marina Glancy
              Tester:
              Damyon Wiese Damyon Wiese
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jul/14