docs: html is unstyled by default

This commit is contained in:
jean-emmanuel 2021-09-20 09:56:20 +02:00
parent 5f9f725310
commit 8a113b5905

View file

@ -81,7 +81,7 @@ class Widget extends EventEmitter {
lineWidth: {type: 'number', value: 'auto', help: 'Stroke width.'},
padding: {type: 'number', value: 'auto', help: 'Inner spacing.'},
html: {type: 'string', value: '', help: [
'Custom html content to be inserted in the widget (before the widget\'s content).',
'Custom html content to be inserted in the widget (before the widget\'s content). Elements are all unstyled by default, `css` should be used to customize their appearance.',
'The code is automatically wrapped in <div class="html"></div>',
'Allowed HTML tags:',
'  h1-6, blockquote, p, a, ul, ol, nl, li,',