Browse Source

syntax error fix

master
Marius Ciepluch 6 years ago
committed by GitHub
parent
commit
deed1b77ea
1 changed files with 3 additions and 9 deletions
  1. +3
    -9
      assets/javascripts/span-tag-whitelist.js.es6

+ 3
- 9
assets/javascripts/span-tag-whitelist.js.es6

@ -1,14 +1,8 @@
// start point
export default {
name: 'dropcap',
initialize() {
setup(helper);
]);
// syntax is tag.class in an array
helper.whiteList(['span.dropcaps', 'span.sclass']);
}
};
export function setup(helper) {
helper.whiteList([ 'span.dropcaps',
'span.sclass'
]);

Loading…
Cancel
Save