Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34875 TinyMCE improvements in 2.4 - META
  3. MDL-34878

Basic setting for customisation of editor buttons

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1/ Go to tinymce settings and type some button names there, they must be separated by commas (example: preview,table,image).
      2/ Go to a tinymce editor and verify editor instances contain only those buttons which you configured to be shown.
      3/ Add some more buttons on a new line (e.g. bold, italics).
      4/ Verify that they appear on a new line.

      Alternatively test together with MDL-34955, it improves this area a bit more (list of available buttons for each subplugin, link to main TinyMCE docs page, etc.)

      MDL-34990 fixes problems with invalid button separators, please use only valid settings here.

      (note: this is part of a bunch of issues from a META issue MDL-34875. this shouldn't affect tests though)

      Show
      1/ Go to tinymce settings and type some button names there, they must be separated by commas (example: preview,table,image). 2/ Go to a tinymce editor and verify editor instances contain only those buttons which you configured to be shown. 3/ Add some more buttons on a new line (e.g. bold, italics). 4/ Verify that they appear on a new line. Alternatively test together with MDL-34955 , it improves this area a bit more (list of available buttons for each subplugin, link to main TinyMCE docs page, etc.) MDL-34990 fixes problems with invalid button separators, please use only valid settings here. (note: this is part of a bunch of issues from a META issue MDL-34875 . this shouldn't affect tests though)
    • Workaround:
      Hide

      None except editing of PHP files.

      Show
      None except editing of PHP files.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w35_MDL-34878_m24_tinymcebuttons

      Description

      My current idea is to add simple textarea when admins may type rows of buttons they want to have, this may not be suitable for dynamic things but I believe that is the most simple UI we could have.

      Expected use cases:

      • Administrator wants to add more buttons.
      • Administrator wants to remove some buttons.
      • Administrator wants to rearrange toolbar.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/12