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

Copying and Pasting within or between Atto boxes adds background color definition in Chrome

XMLWordPrintable

    • MOODLE_29_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • wip-MDL-50795-master
    • Hide
      1. Make sure that you have atto selected as your editor and that you are using Chrome.
      2. Go to a course.
      3. Create a page activity / resource.
      4. Write some content in the description
      5. Write some content in the page content.
      6. Copy and paste the content from the description into the page content.
      7. View the html code of the page content (click the button that looks like '<>' in the atto editor).
      8. The copied text should be surrounded in a span with a long style attribute. Check the style attribute and make sure that background-color: is not present.
      Show
      Make sure that you have atto selected as your editor and that you are using Chrome. Go to a course. Create a page activity / resource. Write some content in the description Write some content in the page content. Copy and paste the content from the description into the page content. View the html code of the page content (click the button that looks like '<>' in the atto editor). The copied text should be surrounded in a span with a long style attribute. Check the style attribute and make sure that background-color: is not present.
    • 3.1 Sprint 6

      Copying and pasting from one Atto box to another on the same page results in this extra span tag:

      <span style="color: rgb(51, 51, 51); font-family: sans-serif; font-size: 14.4399995803833px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: rgb(255, 255, 255);">

      The background color here is the one I particularly object to because it overrides the theme background color and makes it look ugly. I wouldn't expect the background color in particular. I realize there is an easy workaround here but it should be more intuitive.

            abgreeve Adrian Greeve
            worfds91 Joshua Bragg
            Ryan Wyllie Ryan Wyllie
            Dan Poltawski Dan Poltawski
            Frédéric Massart Frédéric Massart
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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