1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-03 13:41:44 +03:00
Files
.github
app
bootstrap
database
dev
lang
public
resources
icons
js
components
markdown
services
wysiwyg
common-events.js
config.js
drop-paste-handling.js
icons.js
plugin-codeeditor.js
plugin-drawio.js
plugins-about.js
plugins-customhr.js
plugins-details.js
plugins-imagemanager.js
plugins-stub.js
plugins-tasklist.js
scrolling.js
shortcuts.js
toolbars.js
util.js
app.js
code.mjs
sass
views
routes
storage
tests
themes
.env.example
.env.example.complete
.gitattributes
.gitignore
LICENSE
artisan
composer.json
composer.lock
crowdin.yml
docker-compose.yml
package-lock.json
package.json
phpcs.xml
phpstan.neon.dist
phpunit.xml
readme.md
version
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'
];