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

No way to create rtl spans in ATTO

    XMLWordPrintable

    Details

    • Affected Branches:
      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

              Assignee:
              Unassigned Unassigned
              Reporter:
              willylee Willy Lee
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              8 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: