mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Ensured wysiwyg details contents are wrapped in block elements
Fixes issue where inline-only content would disappear when unwrapping a details block element.
This commit is contained in:
@ -235,7 +235,7 @@ export function build(options) {
|
||||
"-doc-root[doc-root|#text]",
|
||||
"-li[details]",
|
||||
"+code-block[pre]",
|
||||
"+doc-root[code-block]"
|
||||
"+doc-root[p|h1|h2|h3|h4|h5|h6|blockquote|code-block|div]"
|
||||
].join(','),
|
||||
plugins: gatherPlugins(options),
|
||||
contextmenu: false,
|
||||
|
Reference in New Issue
Block a user