Browse Source

hmh

master
Marius Ciepluch 7 years ago
committed by GitHub
parent
commit
3b565709dd
1 changed files with 1 additions and 9 deletions
  1. +1
    -9
      assets/javascripts/lib/discourse-markdown/dropcaps.js

+ 1
- 9
assets/javascripts/lib/discourse-markdown/dropcaps.js

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

Loading…
Cancel
Save