]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
391fb2c
)
Updated WYSIWYG config to allow styles on list elements
author
Dan Brown
<redacted>
Tue, 27 Sep 2022 18:05:03 +0000
(19:05 +0100)
committer
Dan Brown
<redacted>
Tue, 27 Sep 2022 18:05:03 +0000
(19:05 +0100)
resources/js/wysiwyg/config.js
patch
|
blob
|
history
diff --git
a/resources/js/wysiwyg/config.js
b/resources/js/wysiwyg/config.js
index 52c52592cb720fab6a235a5d04ea4902cbf89515..8c85f60e281070f131f33e5b6787af6644e8a833 100644
(file)
--- a/
resources/js/wysiwyg/config.js
+++ b/
resources/js/wysiwyg/config.js
@@
-255,7
+255,7
@@
export function build(options) {
statusbar: false,
menubar: false,
paste_data_images: false,
- extended_valid_elements: 'pre[*],svg[*],div[drawio-diagram],details[*],summary[*],div[*],li[class|checked]',
+ extended_valid_elements: 'pre[*],svg[*],div[drawio-diagram],details[*],summary[*],div[*],li[class|checked
|style
]',
automatic_uploads: false,
custom_elements: 'doc-root,code-block',
valid_children: [