diff --git a/assets/javascripts/lib/discourse-markdown/bbcode-plugin.js b/assets/javascripts/lib/discourse-markdown/bbcode-plugin.js index 4bdbd3d..7a3438e 100644 --- a/assets/javascripts/lib/discourse-markdown/bbcode-plugin.js +++ b/assets/javascripts/lib/discourse-markdown/bbcode-plugin.js @@ -55,7 +55,9 @@ export function setup(helper) { } helper.registerOptions((opts, siteSettings) => { - opts.features["bbcode-parser"] = siteSettings.bbcode_enabled; + // Key must match this module's basename — that is the id the markdown + // pipeline gates registerPlugin and allowList on. + opts.features["bbcode-plugin"] = siteSettings.bbcode_enabled; if (opts.engine || !siteSettings.bbcode_enabled) { return; }