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

Atto style dropdown button not working if table button is not present

    XMLWordPrintable

Details

    • MOODLE_28_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MDL-50564-master
    • Hide
      1. Go to Site administration ► Plugins ► Text editors ► Atto HTML editor ► Atto toolbar settings
      2. On the "Toolbar config" text area, make sure that its contents are the same as the Default. If not, copy the default values and paste into the "Toolbar config" text area and click on "Save changes"
      3. Go to a page with an Atto editor. (i.e. Edit profile page, by going to Preferences ► User account ► Edit profile)
      4. On the Atto editor, play with the buttons. Confirm that:
        1. All buttons function as expected.
        2. There should be no errors displayed in the JavaScript console.
      5. Go back to to Site administration ► Plugins ► Text editors ► Atto HTML editor ► Atto toolbar settings
      6. On the "Toolbar config" text area, remove the "table" entry which can be found on the "insert" line.
      7. Click "Save changes"
      8. Go to a page with an Atto editor. (i.e. Edit profile page, by going to Preferences ► User account ► Edit profile)
      9. On the Atto editor, play with the buttons. Confirm that:
        1. All buttons function as expected.
        2. There should be no errors displayed in the JavaScript console.
      Show
      Go to Site administration ► Plugins ► Text editors ► Atto HTML editor ► Atto toolbar settings On the "Toolbar config" text area, make sure that its contents are the same as the Default. If not, copy the default values and paste into the "Toolbar config" text area and click on "Save changes" Go to a page with an Atto editor. (i.e. Edit profile page, by going to Preferences ► User account ► Edit profile) On the Atto editor, play with the buttons. Confirm that: All buttons function as expected. There should be no errors displayed in the JavaScript console. Go back to to Site administration ► Plugins ► Text editors ► Atto HTML editor ► Atto toolbar settings On the "Toolbar config" text area, remove the "table" entry which can be found on the "insert" line. Click "Save changes" Go to a page with an Atto editor. (i.e. Edit profile page, by going to Preferences ► User account ► Edit profile) On the Atto editor, play with the buttons. Confirm that: All buttons function as expected. There should be no errors displayed in the JavaScript console.

    Description

      In Atto if you remove table from the list of button, the style dropdown button throws a js error.

      TypeError: Y.M.editor_atto.Menu is not a constructor
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stuartlamour Stuart Lamour
              Jun Pataleta Jun Pataleta
              David Monllaó David Monllaó
              Simey Lameze Simey Lameze
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                21/Dec/15