From 841b2e2ca23355d35a6355649fcf52a6dc5d18c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikel=20Mart=C3=ADn?= Date: Tue, 4 Mar 2025 07:54:30 +0100 Subject: [PATCH] MDL-84705 AI: Fix image model form buttons -After Bootstrap 5 upgrade in MDL-75669 the AI image model form buttons were not working correctly. Fix the related syntax to BS5. - Fix some deprecated 'form-group' usages --- .../templates/imagecontrols.mustache | 87 ++++++++++--------- .../insert_image_modal_details.mustache | 6 +- 2 files changed, 49 insertions(+), 44 deletions(-) diff --git a/lib/editor/tiny/plugins/aiplacement/templates/imagecontrols.mustache b/lib/editor/tiny/plugins/aiplacement/templates/imagecontrols.mustache index 0e6bed5f3f4..be53525aff7 100644 --- a/lib/editor/tiny/plugins/aiplacement/templates/imagecontrols.mustache +++ b/lib/editor/tiny/plugins/aiplacement/templates/imagecontrols.mustache @@ -15,7 +15,7 @@ along with Moodle. If not, see . }} {{! - @template tiny_aiplacement/imagecontrol + @template tiny_aiplacement/imagecontrols Modal to manage AI generated image content within the Tiny Editor. @@ -34,7 +34,7 @@ } }}
-
+
@@ -49,24 +49,26 @@ {{#str}} imagequality, tiny_aiplacement{{/str}}
-
-