- Upload an image named
xblock-something.png to a Text component in a v2 content library.
- Reference that image in the HTML, as
<img src="/static/xblock-something.png" />
- The image will not display in the preview, due to this code:
https://github.com/openedx/edx-platform/blob/3e43e33eff7038183c4088fe29209ddcb37ab47e/common/djangoapps/static_replace/__init__.py#L116-L119

xblock-something.pngto a Text component in a v2 content library.<img src="/static/xblock-something.png" />https://github.com/openedx/edx-platform/blob/3e43e33eff7038183c4088fe29209ddcb37ab47e/common/djangoapps/static_replace/__init__.py#L116-L119