Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3373

RTE buttons don't work when all text is selected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8.1
    • Fix Version/s: 3.8.1
    • Component/s: Rich Text Editor
    • Labels:
    • Sprint:
      Moodle App 3.8.1

      Description

      To reproduce, first add some text to the RTE, adding lists, headings, etc.

      Then select all the text in the editor and click on the toolbar buttons. Specially the Toggle editor, lists, and headings won't work.

      This happens because of the event bubbling and the propagation. When the blur is emitted this cancels the click event. This should not happen because on mousedown the event is not propagated so the focus event is not fired but for any unknown reason this is not correctly done. Check last 30 seconds of the video in MOBILE-3366

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pferre22 Pau Ferrer
              Reporter:
              pferre22 Pau Ferrer
              Peer reviewer:
              Dani Palou
              Integrator:
              Juan Leyva
              Tester:
              Isabel Renedo Rouco
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Mar/20