Skip to content

Commit 915d0fc

Browse files
committed
Merge branch 'master' of github.com:chamilo/chamilo-lms
2 parents f28219c + a94f01e commit 915d0fc

19 files changed

Lines changed: 1680 additions & 474 deletions

File tree

assets/vue/App.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,17 @@ const layout = computed(() => {
106106
return AccessUrlChooserLayout
107107
}
108108
109-
if (route.meta.emptyLayout) {
109+
const queryParams = new URLSearchParams(window.location.search)
110+
const picker = String(queryParams.get("picker") || "").toLowerCase()
111+
112+
// Force EmptyLayout for embedded editor pickers (TinyMCE/CKEditor)
113+
if (picker === "tinymce" || picker === "ckeditor") {
110114
return EmptyLayout
111115
}
112116
113-
const queryParams = new URLSearchParams(window.location.search)
117+
if (route.meta.emptyLayout) {
118+
return EmptyLayout
119+
}
114120
115121
if (
116122
(queryParams.has("lp_id") && "view" === queryParams.get("action")) ||

0 commit comments

Comments
 (0)