From 3e3d9e0babba79613b0e5a4e6ad1078f4b4bc595 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 15 Nov 2022 21:36:50 +0800 Subject: [PATCH] MDL-76280 editor_tiny: Disable tiny preview plugin The Atto preview plugin does not support Moodle filters. This commit disables it for now with the intent that in a future release we may replace it with a Moodle version which applies our filters correctly. --- lib/editor/tiny/classes/manager.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/editor/tiny/classes/manager.php b/lib/editor/tiny/classes/manager.php index f2690a78d89..30facc3d3d9 100644 --- a/lib/editor/tiny/classes/manager.php +++ b/lib/editor/tiny/classes/manager.php @@ -496,6 +496,9 @@ class manager { // Disable the Template plugin for now. 'template', + + // Disable the preview plugin as it does not support Moodle filters. + 'preview', ]; }