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

ATTO align button adds align attribute and not css style

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE

      Description

      In IE 11 while aligning a text in ATTO, align attribute is added which should actually be style element as align attribute is not supported in HTML5.

      Steps to reproduce:

      1. Open atto editor
      2. Enter "Test align" and click right align button
      3. Check html and it adds align attribure.

        <p align="right">Test align<br></p>
        

      It will be nice if it can be made css style, as it's align attribute is not supported by HTML5
      http://www.w3schools.com/tags/att_div_align.asp

      FYI: Failing behat @atto_align in ie11

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rajeshtaneja Rajesh Taneja
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: