mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
f86bb27a83
Fixes issue where inline-only content would disappear when unwrapping a details block element.
19 lines
213 B
JavaScript
19 lines
213 B
JavaScript
|
|
|
|
export const blockElementTypes = [
|
|
'p',
|
|
'h1',
|
|
'h2',
|
|
'h3',
|
|
'h4',
|
|
'h5',
|
|
'h6',
|
|
'div',
|
|
'blockquote',
|
|
'pre',
|
|
'code-block',
|
|
'details',
|
|
'ul',
|
|
'ol',
|
|
'table'
|
|
]; |