diff --git a/cms/djangoapps/contentstore/config/waffle.py b/cms/djangoapps/contentstore/config/waffle.py index d5707c9eae..0e5de8b0e0 100644 --- a/cms/djangoapps/contentstore/config/waffle.py +++ b/cms/djangoapps/contentstore/config/waffle.py @@ -27,12 +27,6 @@ def waffle_flags(): # Flags -ENABLE_IN_CONTEXT_IMAGE_SELECTION = CourseWaffleFlag( - waffle_namespace=waffle_flags(), - flag_name=u'enable_in_context_image_selection', - flag_undefined_default=False -) - ENABLE_CHECKLISTS_QUALITY = CourseWaffleFlag( waffle_namespace=waffle_flags(), flag_name=u'enable_checklists_quality', diff --git a/cms/djangoapps/contentstore/features/html-editor.py b/cms/djangoapps/contentstore/features/html-editor.py index 06798d8cdb..490e7a0efb 100644 --- a/cms/djangoapps/contentstore/features/html-editor.py +++ b/cms/djangoapps/contentstore/features/html-editor.py @@ -58,22 +58,6 @@ def i_click_on_edit_icon(_step): world.edit_component() -@step('I add an image with static link "(.*)" via the Image Plugin Icon$') -def i_click_on_image_plugin_icon(_step, path): - use_plugin( - '.mce-i-image', - lambda: world.css_fill('.mce-textbox', path, 0) - ) - - -@step('the link is shown as "(.*)" in the Image Plugin$') -def check_link_in_image_plugin(_step, path): - use_plugin( - '.mce-i-image', - lambda: assert_equal(path, world.css_find('.mce-textbox')[0].value) - ) - - @step('I add a link with static link "(.*)" via the Link Plugin Icon$') def i_click_on_link_plugin_icon(_step, path): def fill_in_link_fields(): diff --git a/cms/templates/container.html b/cms/templates/container.html index b2ecac3616..f180c92537 100644 --- a/cms/templates/container.html +++ b/cms/templates/container.html @@ -11,7 +11,6 @@ else: <%! from django.utils.translation import ugettext as _ -from cms.djangoapps.contentstore.config.waffle import ENABLE_IN_CONTEXT_IMAGE_SELECTION from contentstore.views.helpers import xblock_studio_url, xblock_type_display_name from openedx.core.djangolib.js_utils import ( dump_js_escaped_json, js_escaped_string @@ -34,11 +33,9 @@ from openedx.core.djangolib.markup import HTML, Text <%static:include path="common/templates/image-modal.underscore" /> -% if ENABLE_IN_CONTEXT_IMAGE_SELECTION.is_enabled(xblock_locator.course_key): - % if not settings.STUDIO_FRONTEND_CONTAINER_URL: - - - % endif +% if not settings.STUDIO_FRONTEND_CONTAINER_URL: + + % endif %block> @@ -59,11 +56,9 @@ from openedx.core.djangolib.markup import HTML, Text <%block name="content"> -% if ENABLE_IN_CONTEXT_IMAGE_SELECTION.is_enabled(xblock_locator.course_key): - -% endif +