fix: Problem Bank view link incorrectly replacing embedded iframe (#36781)
This commit is contained in:
@@ -512,7 +512,7 @@ class ItemBankBlock(ItemBankMixin, XBlock):
|
||||
# Show a summary message and instructions.
|
||||
summary_html = loader.render_django_template('templates/item_bank/author_view.html', {
|
||||
# Due to template interpolation limitations, we have to pass some HTML for the link here:
|
||||
"view_link": f'<a href="/container/{self.usage_key}">',
|
||||
"view_link": f'<a target="_top" href="/container/{self.usage_key}">',
|
||||
"blocks": [
|
||||
{"display_name": display_name_with_default(child)}
|
||||
for child in self.get_children()
|
||||
|
||||
Reference in New Issue
Block a user