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

Format dropdown is shown together with editor

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Edit your own profile. (with atto as your editor).
      Verify the description field has no drop down menu for the format.
      Make sure you can save the form and see the changes in the description.

      Change you prefered editor to "Plain text area".
      Edit your profile again.
      Verify you get a menu with 4 options for the formats.
      Make sure you can save the form and see the changes in the description.

      Show
      Edit your own profile. (with atto as your editor). Verify the description field has no drop down menu for the format. Make sure you can save the form and see the changes in the description. Change you prefered editor to "Plain text area". Edit your profile again. Verify you get a menu with 4 options for the formats. Make sure you can save the form and see the changes in the description.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-56621-master

      Description

      Unless I'm wrong this is something that has changed recently. Reproduced under master (32dev) and not in 31_STABLE.

      In the past, the format dropdown only was shown next to the textarea when the plain textarea was being used. Whenever an editor was used (tried with both Atto and Marklar), as far as they use one of the available formats (atto=>html, marklar=>markdown), the format dropdown was not show at all.

      But it seems that that behavior has changed and now the format dropdown is shown next to the editors, no matter they only contain 1 value.

      To reproduce:

      • set any editor (different from plain text area) in your user preferences.
      • go to any form (profile, activity, course...) having editor elements.

      Expected:

      • the format dropdown is not shown together with the editors because there is nothing to select.

      Current:

      • the format dropdown is shown, with just the editor format available.

      Reproduced with BOTH Clean and Boost, so it's not a new theme issue, apparently.

      Ciao

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/16