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

Right align TEXTAREA "Format selector" listbox, when in RTL mode (theme/standard)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.3
    • 2.3, Future Dev
    • Themes
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • WIP-MDL-36069-master
    • Hide
      1. Add an RTL language package (Hebrew or Arabic or Farsi...) to Moodle (Home / ► Site administration / ► Language / ► Language packs)
      2. Switch to the RTL language you have installed by navigating to Moodle's Front-page and choosing it from the Language menu (or add "&lang=he" to the end of the URL you are currently using. If inside a course, set the RTL language from the course's setting)
      3. In your user profile, disable the html editor (to ensure that the 'format chooser' in long text fields)
      4. Navigate into any "Form page" like the course setting page or the User's profile page
      5. Make sure the Format chooser is properly aligned to the right on text fields
      Show
      Add an RTL language package (Hebrew or Arabic or Farsi...) to Moodle (Home / ► Site administration / ► Language / ► Language packs) Switch to the RTL language you have installed by navigating to Moodle's Front-page and choosing it from the Language menu (or add "&lang=he" to the end of the URL you are currently using. If inside a course, set the RTL language from the course's setting) In your user profile, disable the html editor (to ensure that the 'format chooser' in long text fields) Navigate into any "Form page" like the course setting page or the User's profile page Make sure the Format chooser is properly aligned to the right on text fields

      TEXTAREA form fields that have no pre defined "display format", come with an adjacent "format chooser" listbox field immediately after the textarea field.

      It should be right aligned in RTL mode.

      I have no idea how to switch back to a state in which the "format chooser" can be displayed, if you are already in "HTML Format" mode.
      So if you are testing this patch, try to find a page in Moodle that still has its textarea format unset.

      I have removed an entire RTL CSS rule which was added in the past by me (probably) and i have tested several "Form pages" to see that nothing breaks, and found no regression. so I am not sure what that CSS rule was doing there in the first place. and I hope this fix does not introduce any regressions in any of the "Form pages"

            nadavkav Nadav Kavalerchik
            nadavkav Nadav Kavalerchik
            Dan Poltawski Dan Poltawski
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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