refactor: remove unused StudioEditableModule
This commit is contained in:
@@ -25,7 +25,7 @@ class StudioEditableBlock(XBlockMixin):
|
||||
if can_reorder:
|
||||
context['reorderable_items'].add(child.location)
|
||||
context['can_add'] = can_add
|
||||
rendered_child = child.render(StudioEditableModule.get_preview_view_name(child), context)
|
||||
rendered_child = child.render(StudioEditableBlock.get_preview_view_name(child), context)
|
||||
fragment.add_fragment_resources(rendered_child)
|
||||
|
||||
contents.append({
|
||||
@@ -48,9 +48,6 @@ class StudioEditableBlock(XBlockMixin):
|
||||
return AUTHOR_VIEW if has_author_view(block) else STUDENT_VIEW
|
||||
|
||||
|
||||
StudioEditableModule = StudioEditableBlock
|
||||
|
||||
|
||||
def has_author_view(descriptor):
|
||||
"""
|
||||
Returns True if the xmodule linked to the descriptor supports "author_view".
|
||||
|
||||
Reference in New Issue
Block a user