Skip to content

Commit

Permalink
Unload the WoltlabCode plugin when Code is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
dtdesign committed Aug 8, 2023
1 parent b0b86ff commit cac0d37
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 @@ -169,7 +169,7 @@ class ConfigurationBuilder {
if (this.#features.code) {
this.#toolbar.push("code");
} else {
this.#removePlugins.push("Code");
this.#removePlugins.push("Code", "WoltlabCode");
}

if (this.#features.codeBlock) {
Expand Down

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

0 comments on commit cac0d37

Please sign in to comment.