Skip to content

Commit

Permalink
TinyMCE still was not loading when scripts were bundled and minified …
Browse files Browse the repository at this point in the history
…by Smidge. Fixes #678.
  • Loading branch information
sussexrick committed Jan 23, 2025
1 parent 2e78e76 commit 4fcef40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Stoolball.Web/wwwroot/js/tinymce.js
Original file line number Diff line number Diff line change
@@ -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"
);
Expand Down

0 comments on commit 4fcef40

Please sign in to comment.