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

Atto default button highlighting logic is wrong

    XMLWordPrintable

Details

    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-45403-master
    • Hide
      1. Enter A LOT of text in Atto, and add many styles, lists, images, links, etc...
      2. CTRL + A to select the whole content
      3. Make sure the browser does not freeze, and the buttons are highlighted as you'd expect
      4. Change your selection, and make sure the browser does not freeze
      5. Move your cursor in various places and make sure the buttons are highlighted as you'd expect
      Show
      Enter A LOT of text in Atto, and add many styles, lists, images, links, etc... CTRL + A to select the whole content Make sure the browser does not freeze, and the buttons are highlighted as you'd expect Change your selection, and make sure the browser does not freeze Move your cursor in various places and make sure the buttons are highlighted as you'd expect

    Description

      Some buttons should highlight only when the entire selection matches the button function (bold, underline, strikethrough, italic)

      Other buttons should highlight when any part of the selection matches the button function (link, image).

      The default for tagMatchRequiresAll should be true (it's the fastest, most common option)
      and image and link should override it to be false.

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              damyon Damyon Wiese
              Damyon Wiese Damyon Wiese
              Dan Poltawski Dan Poltawski
              Andrew Lyons Andrew Lyons
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14