Hello everyone,
I’m new to Open edX and currently working on extending the ORA2 XBlock. My goal is to modify its HTML, CSS, and JS code, and also change some parts of the TinyMCE editor configuration defined inside the JavaScript files (like oa_editor_tinymce.js).
I’m exploring the platform plugin approach, but I’m unsure if it will work since the ORA2 XBlock is loaded inside the authoring MFE through an iframe.
I was able to override the TinyMCE config using a window variable, but I’d like to understand how to achieve this properly through the platform plugin system.
My questions are:
-
Is the platform plugin approach the right way to extend the ORA2 XBlock frontend (HTML/JS/CSS)?
-
If not, what’s the recommended approach for customizing XBlock. (e.g., by overriding templates or static files)?
-
Are there any examples for customizing TinyMCE config or any other config used in XBlocks like ORA2?
Any guidance, examples, or references to relevant repos would be very helpful.
Thanks in advance!