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

The cursor position is not correct when paste HTML in Atto editor

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-71047-master
    • Hide

      Scenario 1:

      1. Copy a text with multiple formats into your clipboard. Example: The text with multiple formats.
      2. Go to your profile page
      3. Edit Profile page
      4. Focus on the Description field
      5. Paste into this field

      Expected result: The cursor should be placed at the end of the text.

      Scenario 2:

      1. Go to your profile page
      2. Edit Profile page
      3. Focus on the Description field
      4. Open popup Emoji picker
      5. Choose any emoji and insert it into the editor

      Expected result: The cursor should be placed at the right side of the emoji

      Test in all supported browsers.

      Show
      Scenario 1: Copy a text with multiple formats into your clipboard. Example: The text with multiple formats. Go to your profile page Edit Profile page Focus on the Description field Paste into this field Expected result: The cursor should be placed at the end of the text. Scenario 2: Go to your profile page Edit Profile page Focus on the Description field Open popup Emoji picker Choose any emoji and insert it into the editor Expected result: The cursor should be placed at the right side of the emoji Test in all supported browsers.

      1. Copy HTML text from an email or other document
      2. Open a page (where text editor screen is opened)
      3. Paste text into the editor field
      4. cursor ends up at the start of the text, not at the end, so this is incorrect behaviour

        1. MDL-71047.jpg
          23 kB
          Anna Carissa Sadia

            nhanvoht Nhan Vo
            nhanvoht Nhan Vo
            Tim Hunt Tim Hunt
            Andrew Lyons Andrew Lyons
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 30 minutes
                2h 30m

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