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

Atto: A large selection causes the editor to freeze for some seconds

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.7
    • 2.7
    • HTML Editor (Atto)
    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-44219-master
    • Hide

      Starting with an empty Atto field somewhere (my profile page)

      • Paste or type alot of text with formatting
      • Select small and large blocks of text and verify the correct buttons get highlighted
      • Add an image
      • Either put the cursor directly after the image, or select the image
      • Verify the image button gets highlighted
      • Open the image dialogue and verify the details of the image are populated
      • Save the image details and verify the image is updated (and not duplicated).
      Show
      Starting with an empty Atto field somewhere (my profile page) Paste or type alot of text with formatting Select small and large blocks of text and verify the correct buttons get highlighted Add an image Either put the cursor directly after the image, or select the image Verify the image button gets highlighted Open the image dialogue and verify the details of the image are populated Save the image details and verify the image is updated (and not duplicated).
    • 40
    • FRONTEND Sprint 10

    Description

      A large selection causes the editor to freeze for some seconds.

      This is due to the state checking for button highlighting...
      https://github.com/damyon/atto_27/commit/dfe7bcddb6f49dcbe4c37edf00564f2bd15e883b

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              fred Frédéric Massart
              Andrew Lyons Andrew Lyons
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14