Skip to content

Commit

Permalink
chore: chore
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan committed Oct 28, 2024
1 parent fa5a27b commit ebb7b9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xmodule/html_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def student_view(self, _context):
Return a fragment that contains the html for the student view
"""
fragment = Fragment(self.get_html())
add_css_to_fragment(fragment, 'HtmlBlockDisplay.scss')
add_css_to_fragment(fragment, 'HtmlBlockDisplay.css')
add_webpack_js_to_fragment(fragment, 'HtmlBlockDisplay')
shim_xmodule_js(fragment, 'HTMLModule')
return fragment
Expand Down Expand Up @@ -136,7 +136,7 @@ def studio_view(self, _context):
fragment = Fragment(
self.runtime.service(self, 'mako').render_cms_template(self.mako_template, self.get_context())
)
add_css_to_fragment(fragment, 'HtmlBlockEditor.scss')
add_css_to_fragment(fragment, 'HtmlBlockEditor.css')
add_webpack_js_to_fragment(fragment, 'HtmlBlockEditor')
shim_xmodule_js(fragment, 'HTMLEditingDescriptor')
return fragment
Expand Down

0 comments on commit ebb7b9b

Please sign in to comment.