-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.4.5
-
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