|
@ -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' ]); |
|
|
} |
|
|
|
|
|
|
|
|
} |