From 6ac42016043c94cabe10261a96c53f968c180e42 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Thu, 16 Oct 2025 15:00:14 -0400 Subject: [PATCH] fix: Drop the image modal on containers. This is only needed to make the legacy editor work on containers. Added originally via https://github.com/openedx/edx-platform/pull/17834 However, now that we use the new MFE text editor even on this legacy page, we don't need to load the old image modal in the old text editor. --- cms/templates/container.html | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/cms/templates/container.html b/cms/templates/container.html index cf523ada4c..36cf84d2b4 100644 --- a/cms/templates/container.html +++ b/cms/templates/container.html @@ -274,25 +274,6 @@ use_new_video_gallery_flow = use_video_gallery_flow() % endif -
- <%static:studiofrontend entry="editImageModal"> - { - "course": { - "id": "${context_course.id | n, js_escaped_string}", - "name": "${context_course.display_name_with_default | n, js_escaped_string}", - "url_name": "${context_course.location.block_id | n, js_escaped_string}", - "org": "${context_course.location.org | n, js_escaped_string}", - "num": "${context_course.location.course | n, js_escaped_string}", - "display_course_number": "${context_course.display_coursenumber | n, js_escaped_string}", - "revision": "${context_course.location.revision | n, js_escaped_string}" - }, - "help_tokens": { - "image_accessibility": "${get_online_help_info('image_accessibility')['doc_url'] | n, js_escaped_string}" - }, - "lang": "${language_code | n, js_escaped_string}" - } - -