removed detail.css, added to individual type widgets

This commit is contained in:
zadam
2020-07-01 23:35:00 +02:00
parent 78a2c1753e
commit 46d3160da4
8 changed files with 106 additions and 108 deletions

View File

@@ -8,8 +8,8 @@ function sanitize(dirtyHtml) {
// h1 is removed since that should be note's title
'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol',
'li', 'b', 'i', 'strong', 'em', 'strike', 'abbr', 'code', 'hr', 'br', 'div',
'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre', 'section', 'figure', 'span',
'label', 'input'
'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre', 'section', 'img',
'figure', 'span', 'label', 'input'
],
allowedAttributes: {
'a': [ 'href', 'class' ],