Skip to content

Commit

Permalink
Unload the WoltlabHtmlEmbed plugin when raw HTML is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
dtdesign committed Aug 11, 2023
1 parent b35bc67 commit 174d606
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ts/WoltLabSuite/Core/Component/Ckeditor/Configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class ConfigurationBuilder {
if (this.#features.html) {
this.#toolbar.push("htmlEmbed");
} else {
this.#removePlugins.push("HtmlEmbed");
this.#removePlugins.push("HtmlEmbed", "WoltlabHtmlEmbed");
}
}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 174d606

Please sign in to comment.