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

TinyMCE: make possible to define parameters in the theme

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.3.2
    • Text editor TinyMCE
    • MOODLE_23_STABLE
    • MDL-36059-master
    • Hide
      1. Define some tinymce parameter in the base theme (e.g. you may use the example from description)
      2. Make sure that the setting work in the editor (if example from description is used, then the styles menu in the tables dialogue should contain new styles)
      3. Define the same parameter in the standard theme, but use a different value or set it to null
      4. Make sure that the setting in the standard theme overrides the one set in the base theme.
      Show
      Define some tinymce parameter in the base theme (e.g. you may use the example from description) Make sure that the setting work in the editor (if example from description is used, then the styles menu in the tables dialogue should contain new styles) Define the same parameter in the standard theme, but use a different value or set it to null Make sure that the setting in the standard theme overrides the one set in the base theme.

      Defining TinyMCE options on the theme level could be useful, this adds editor customisation flexibility.

      The suggested syntax:

      $THEME->tinymce_params = array(
          'table_styles' => "Header 1=header1;Header 2=header2;Header 3=header3"
      );

            kabalin Ruslan Kabalin
            kabalin Ruslan Kabalin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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