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

Allow arbitrary TinyMCE setting changes

XMLWordPrintable

    • 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

      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

            skodak Petr Skoda
            sambooth74 Sam Booth
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.