Skip to content

Commit

Permalink
Merge pull request #10 from NullIsNot0/master
Browse files Browse the repository at this point in the history
Allow html tags a and img in accordionList content
  • Loading branch information
pkerspe authored Nov 22, 2017
2 parents b18197f + 348763b commit f231c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CKEDITOR.plugins.add('accordionList', {
editables: {
content: {
selector: 'div.accordion-list-items',
allowedContent: 'div(!collapsible-item*,panel*,collapse)[*];h4(!collapsible-item*,panel*)[*];a(!collapsible-item*,panel*,collapsed,pull-right*)[*];p;br;ul;ol;li;strong;em;u;table[*];tbody;theader;tr;td;th;hr;a;a(!href,*)[*];span(*)[*]'
allowedContent: 'div(!collapsible-item*,panel*,collapse)[*];h4(!collapsible-item*,panel*)[*];a(!collapsible-item*,panel*,collapsed,pull-right*)[*];p;br;ul;ol;li;strong;em;u;table[*];tbody;theader;tr;td;th;hr;a;a(*)[*];span(*)[*];img(*)[*]'
}
},
allowedContent: 'div(!accordion-list*)[*];',
Expand Down

0 comments on commit f231c86

Please sign in to comment.