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.
This commit is contained in:
@@ -274,25 +274,6 @@ use_new_video_gallery_flow = use_video_gallery_flow()
|
||||
% endif
|
||||
</aside>
|
||||
</section>
|
||||
<div id="edit-image-modal">
|
||||
<%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}"
|
||||
}
|
||||
</%static:studiofrontend>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user