Browse Source

fixed it

master
Marius Ciepluch 7 years ago
parent
commit
b98b717be1
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      assets/javascripts/lib/discourse-markdown/span-tag-whitelist.js.es6

+ 15
- 0
assets/javascripts/lib/discourse-markdown/span-tag-whitelist.js.es6

@ -0,0 +1,15 @@
// start point
export default {
name: 'dropcap',
initialize() {
setup(helper);
}
};
export function setup(helper) {
helper.registerOptions((opts, siteSettings)=>{
opts.features['dropcaps'] = true; //!!siteSettings.dropcaps_enabled;
});
helper.whiteList([ 'span.dropcaps', 'span.sclass' ]);
}

Loading…
Cancel
Save