From 124e1462bc8576e0edcb5cafc77f582ab355e800 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 16 Feb 2023 08:32:41 +0800 Subject: [PATCH] MDL-77250 editor_tinymce: set base URL and URI --- lib/editor/tinymce/module.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/editor/tinymce/module.js b/lib/editor/tinymce/module.js index e5eb76cac52..e4c41e905cd 100644 --- a/lib/editor/tinymce/module.js +++ b/lib/editor/tinymce/module.js @@ -76,6 +76,8 @@ M.editor_tinymce.init_editor = function(Y, editorid, options) { }); }; + tinyMCE.baseURL = M.cfg.wwwroot + '/lib/editor/tinymce/tiny_mce/3.5.11'; + tinyMCE.baseURI = new tinymce.util.URI(tinyMCE.baseURL); tinyMCE.init(options); var item = document.getElementById(editorid+'_filemanager');