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

TinyMCE 6 RTL/LTR button should always inline directionality attribute

    XMLWordPrintable

Details

    • MOODLE_402_STABLE

    Description

      When in LTR mode, and selecting some text, and clicking the RTL button, a DIR=RTL attribute is added to the text (P element surrounding the text)

      When clicking the LTR button, the DIR attribute is removed (probably because the UI is in LTR, and Tiny does not think it is necessary anymore)

      Same goes in RTL mode (only DIR=LTR can be added inline to the P surrounding the text)

      This is not a desirable behaviour, since we have mixed languages texts and we need the directionality to be inlined over different parts of the text, without considering the current UI.

      Clicking the LTR or RTL button, should directly add inline DIR attribute to the selected text, or remove/override previous attribute.

      Also, there is a missing default inline directionality when the editor is initiated, as used to be in ATTO, which is a major regression. MDL-45227

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nadavkav Nadav Kavalerchik
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h

                  Clockify

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