From defee1626145fe84c170c3e327e7cd6bc910537b Mon Sep 17 00:00:00 2001 From: Navin Karkera Date: Thu, 31 Oct 2024 02:00:49 +0530 Subject: [PATCH] fix: do not open mfe editors automatically on block paste (#35729) (cherry picked from commit c432a8f05091fb1f7f707ccb4c06ad0fd8b989e4) --- .../contentstore/xblock_storage_handlers/view_handlers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py b/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py index df8d8dc6251f..3b9ba5798a01 100644 --- a/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py +++ b/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py @@ -558,6 +558,7 @@ def _create_block(request): "locator": str(created_xblock.location), "courseKey": str(created_xblock.location.course_key), "static_file_notices": asdict(notices), + "upstreamRef": str(created_xblock.upstream), }) category = request.json["category"]