See parent epic: openedx/openedx-platform#37819
Rollout Position
Step 4 of 8 — Medium footprint (~1,650 LOC). The HTML block has multiple template variants (raw, iframe, LaTeX, zooming-image, announcement, anon_user_id) — confirm all variants are handled correctly in xblocks-contrib before removing.
Block Details
|
|
| Toggle |
USE_EXTRACTED_HTML_BLOCK in openedx/envs/common.py |
| Shim class |
_BuiltInHtmlBlock in xmodule/html_block.py |
| Entrypoint |
html = "xmodule.html_block:HtmlBlock" in pyproject.toml |
Checklist
Pre-condition
Steps (single PR)
See parent epic: openedx/openedx-platform#37819
Rollout Position
Step 4 of 8 — Medium footprint (~1,650 LOC). The HTML block has multiple template variants (raw, iframe, LaTeX, zooming-image, announcement, anon_user_id) — confirm all variants are handled correctly in xblocks-contrib before removing.
Block Details
USE_EXTRACTED_HTML_BLOCKinopenedx/envs/common.py_BuiltInHtmlBlockinxmodule/html_block.pyhtml = "xmodule.html_block:HtmlBlock"inpyproject.tomlChecklist
Pre-condition
Steps (single PR)
USE_EXTRACTED_HTML_BLOCKfromopenedx/envs/common.pyand all usages._BuiltInHtmlBlockclass and thefrom xblocks_contrib.html import HtmlBlock as _ExtractedHtmlBlockimport fromxmodule/html_block.py.html = "xmodule.html_block:HtmlBlock"frompyproject.toml.xmodule/html_block.py(Python class)xmodule/html_checker.pyxmodule/js/src/html/(display.js, edit.js, imageModal.js)xmodule/templates/html/(6 YAML template variants)xmodule/static/css-builtin-blocks/HtmlBlockDisplay.cssxmodule/static/css-builtin-blocks/HtmlBlockEditor.cssHtmlBlockDisplay/HtmlBlockEditorinwebpack.builtinblocks.config.js