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

No way to create rtl spans in ATTO

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 2.7, 3.4.3, 3.5
    • None
    • HTML Editor (Atto)
    • MOODLE_27_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE

    Description

      Atto has no mechanism for creating a span of right to left running text in a left to right running paragraph or vice versa. You would need this if you were quoting another language inline or referencing the title of a book published in another language.

      TinyMCE does this properly.

      1. Enable the rtl button by adding rtl to the toolbar config list in Site Admin > Plugins > Text Editors > Atto HTML Editor > Atto Toolbar Settings
      2. Write some text in an Atto editor
      3. Highlight part of a sentence
      4. Click the RTL button

      Expect: The highlighted text should be wrapped in a span with dir=rtl
      Returns: Paragraph tag of the entire sentence is set to dir=rtl

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              willylee Willy Lee
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              8 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: