BookStack/resources/js/wysiwyg/util.js
Dan Brown f86bb27a83
Ensured wysiwyg details contents are wrapped in block elements
Fixes issue where inline-only content would disappear when unwrapping a
details block element.
2022-07-23 11:18:03 +01:00

19 lines
213 B
JavaScript

export const blockElementTypes = [
'p',
'h1',
'h2',
'h3',
'h4',
'h5',
'h6',
'div',
'blockquote',
'pre',
'code-block',
'details',
'ul',
'ol',
'table'
];