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

Allow arbitrary TinyMCE setting changes

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4, 2.5
    • Fix Version/s: 2.4.1
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
    • Testing Instructions:
      Hide

      1/ add new advance tinymce setting such as:

      {"theme": "simple"}

      2/ verify the new setting is in effect when editing anything
      3/ verify green icon next to the setting
      4/ break the JSON somehow and verify red icon next to the textarea

      Show
      1/ add new advance tinymce setting such as: {"theme": "simple"} 2/ verify the new setting is in effect when editing anything 3/ verify green icon next to the setting 4/ break the JSON somehow and verify red icon next to the textarea
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w51_MDL-37186_m25_tinymceconfig

      Description

      TinyMCE supports custom formats (see http://www.tinymce.com/wiki.php/Configuration:formats)

      Users can apply these custom formats using the 'formatselect' item on the editor toolbar.

      Default formats are paragraph, address, preformatted, and headings 1-6.

      It would be nice to be able to edit these custom formats in the same way that you can edit the available font list.

      Possible uses include:

      • Advice that applies to the exam (consistent formatting makes the information more recognizable)
      • 'Stretch and Challenge' material
      • 'Did you know?' boxes

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/Jan/13