Skip to content

Commit

Permalink
Merge pull request #1507 from creative-commoners/pulls/1.13/fix-tinym…
Browse files Browse the repository at this point in the history
…c-skins-issue

FIX TinyMCE custom config issue
  • Loading branch information
GuySartorelli authored May 3, 2023
2 parents 24e697f + 7849e18 commit 2e2983b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions client/src/legacy/HtmlEditorField.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ ss.editorWrappers.tinyMCE = (function() {
tinymce.EditorManager.baseURL = config.baseURL;
}

config.skin = config.skin || 'silverstripe';

// Bind the floatpanel hide and reposition listener to the closest scrollable panel
tinymce.init(config).then((editors) => {
if(editors.length > 0 && editors[0].container) {
Expand Down

0 comments on commit 2e2983b

Please sign in to comment.