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

RTE buttons don't work when all text is selected

XMLWordPrintable

    • Hide

      This issue should be tested in one device of each type.

      1. Navigate to a page with a text editor. Ie. new page on a wiki.
      2. Write some text, add headings, add lists.
      3. Select all the text.
      4. Click on any button of the rte, ie. bold.
      5. Check it works.
      6. Note: This may close the keyboard but it's the better solution that we can provide quickly and right now.
      Show
      This issue should be tested in one device of each type. Navigate to a page with a text editor. Ie. new page on a wiki. Write some text, add headings, add lists. Select all the text. Click on any button of the rte, ie. bold. Check it works. Note: This may close the keyboard but it's the better solution that we can provide quickly and right now.
    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • Moodle App 3.8.1

      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

            pferre22 Pau Ferrer
            pferre22 Pau Ferrer
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.