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

Add options to enable dark mode in TinyMCE preferences

XMLWordPrintable

    • MOODLE_404_STABLE

      TinyMCE now supports dark mode through js init settings. Can Moodle be updated such that:

      • The system TinyMCE preferences includes a panel to configure additional styles beyond light & dark modes
      • The user's Editor preferences includes a TinyMCE light/dark/auto/custom color mode option

      Color mode options could be:

      • Light (default/no theme applied)
      • Dark (tinymce's dark mode theme config)
      • Auto (light or dark based on system settings)
      • Additional custom themes (custom theme integrating with TinyMCE's color theming support)

      Dark mode announcement & setup instructions: https://www.tiny.cloud/blog/dark-mode-tinymce-rich-text-editor 

      Editor style configuration documentation linked from the announcement page: https://www.tiny.cloud/docs/tinymce/6/add-css-options/#add-css-and-styles-to-the-editor

      This is similar to MDL-76517 but that one appears to be considering a scss/themes only approach instead of using preferences that could then toggle the tinymce init. Thanks for your consideration

            Unassigned Unassigned
            fortiphyd Fortiphyd
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

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