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

Allow arbitrary TinyMCE setting changes

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4, 2.5
    • 2.4.1
    • HTML Editor (TinyMCE)
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_24_STABLE
    • w51_MDL-37186_m25_tinymceconfig
    • 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

    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

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              sambooth74 Sam Booth
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jan/13