Skip to content

Commit 4b0ff8c

Browse files
committed
chore: drop xmodule mixin support from the xblocks-contrib blocks
1 parent 31fa1db commit 4b0ff8c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

openedx/core/lib/xblock_utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def wrap_xblock(
144144
template_context = {
145145
'content': block.display_name if display_name_only else frag.content,
146146
'classes': css_classes,
147-
'display_name': block.display_name_with_default_escaped, # xss-lint: disable=python-deprecated-display-name
147+
'display_name': block.display_name_with_default, # xss-lint: disable=python-deprecated-display-name
148148
'data_attributes': ' '.join(f'data-{markupsafe.escape(key)}="{markupsafe.escape(value)}"'
149149
for key, value in data.items()),
150150
}

openedx/envs/common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2988,3 +2988,7 @@ def should_send_learning_badge_events(settings):
29882988
# .. setting_description: The name that will appear on the landing page of Studio, as well as in various emails and
29892989
# templates. (Note: set to 'Studio' by default in the LMS).
29902990
STUDIO_NAME: str
2991+
2992+
STANDARD_COMPLIANT_XBLOCKS = [
2993+
"WordCloudBlock",
2994+
]

0 commit comments

Comments
 (0)