From 1b8803d30d3d06532ade44c3f23570592c2b1187 Mon Sep 17 00:00:00 2001 From: Asad Ali Date: Fri, 17 Jul 2026 18:51:23 +0500 Subject: [PATCH] feat: allow library linked problem edit --- cms/djangoapps/contentstore/views/preview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/views/preview.py b/cms/djangoapps/contentstore/views/preview.py index 1fa81b8694dd..408c5649c8d5 100644 --- a/cms/djangoapps/contentstore/views/preview.py +++ b/cms/djangoapps/contentstore/views/preview.py @@ -304,7 +304,7 @@ def _studio_wrap_xblock(xblock, view, frag, context, display_name_only=False): Wraps the results of rendering an XBlock view in a div which adds a header and Studio action buttons. """ # Allow some imported components to be edited by authors in course. - editable_library_components = ["html"] + editable_library_components = ["html", "problem"] # Only add the Studio wrapper when on the container page. The "Pages" page will remain as is for now. if not context.get('is_pages_view', None) and view in PREVIEW_VIEWS: root_xblock = context.get('root_xblock')