Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/pr-playground-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
mode: append-to-description
github-token: ${{ secrets.GITHUB_TOKEN }}
extra-text: >
⚠️ The embedded eXeLearning editor is not included in this preview.
You can install it from **Modules > eXeLearning Web > Configure**
using the "Download & Install Editor" button.
All other module features (ELPX upload, viewer, preview) work normally.
ℹ️ The eXeLearning editor is fetched from the shared release and
unpacked into the plugin when the playground boots, so the first
load may take a few extra seconds. ELPX upload, viewer and preview
work normally.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# eXeLearning web sites for Moodle

[![Preview in Moodle Playground](https://raw.githubusercontent.com/ateeducacion/action-moodle-playground-pr-preview/refs/heads/main/assets/playground-preview-button.svg)](https://moodle-playground.com/?blueprint-url=https://raw.githubusercontent.com/exelearning/mod_exeweb/refs/heads/main/blueprint.json)
<a href="https://moodle-playground.com/?blueprint-url=https://raw.githubusercontent.com/exelearning/mod_exeweb/refs/heads/main/blueprint.json"><img src="https://raw.githubusercontent.com/ateeducacion/action-moodle-playground-pr-preview/refs/heads/main/assets/playground-preview-button.svg" alt="Preview in Moodle Playground" width="224"></a>

> ℹ️ The eXeLearning editor is fetched from the shared release and unpacked into the plugin when the playground boots, so the first load may take a few extra seconds. ELPX upload, viewer and preview work normally.

Activity-type module to create and edit web sites with eXeLearning inside Moodle.

Expand Down
6 changes: 6 additions & 0 deletions blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
"pluginName": "exeweb",
"url": "https://github.com/exelearning/mod_exeweb/archive/refs/heads/main.zip"
},
{
"step": "unzip",
"comment": "Auto-load the eXeLearning static editor so the playground boots with a working editor. Fetches the shared editor release asset once through the github-proxy (CORS) and extracts it into the plugin's bundled dir. The asset wraps everything in a 'static/' folder, so extracting into 'dist' yields 'dist/static/...', which embedded_editor_source_resolver serves via its 'bundled' precedence (moodledata -> bundled -> none). Pinned to match .editor-version for deterministic previews. embedded_editor_installer stays for production/offline installs.",
"destination": "/www/moodle/mod/exeweb/dist",
"data": { "url": "https://github-proxy.exelearning.dev/?repo=exelearning/exelearning&release=v4.0.0&asset=exelearning-static-v4.0.0.zip" }
},
{
"step": "setConfigs",
"configs": [
Expand Down
Loading