From 4fcef40655feeb08c8cfadc9e06e61a284543dac Mon Sep 17 00:00:00 2001 From: Rick Mason Date: Thu, 23 Jan 2025 19:41:47 +0000 Subject: [PATCH] TinyMCE still was not loading when scripts were bundled and minified by Smidge. Fixes #678. --- Stoolball.Web/wwwroot/js/tinymce.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Stoolball.Web/wwwroot/js/tinymce.js b/Stoolball.Web/wwwroot/js/tinymce.js index 385fb566..b30205e6 100644 --- a/Stoolball.Web/wwwroot/js/tinymce.js +++ b/Stoolball.Web/wwwroot/js/tinymce.js @@ -1,6 +1,7 @@ window.addEventListener("DOMContentLoaded", function () { - // URLs are specified for plugins, theme and skin because it makes them work when bundled by ClientDependency - tinymce.PluginManager.load( + // URLs are specified for plugins, theme and skin because it makes them work when bundled by Smidge +tinymce.baseURL = "/umbraco/lib/tinymce"; +tinymce.PluginManager.load( "link", "/umbraco/lib/tinymce/plugins/link/plugin.min.js" );