#111628usage of details / summary in ckedior5
Description
After details and summery are added to my configuration in processing.yaml
allowTags:
...
- details
- summary
## Tags that are allowed outside of paragraphs
allowTagsOutside: [..., details, summary]
## CONTENT TO DATABASE
HTMLparser_db:
## STRIP ALL ATTRIBUTES FROM THESE TAGS
## If this list of tags is not set, it will default to: b,i,u,br,center,hr,sub,sup,strong,em,li,ul,ol,blockquote,strike,mark,s.
## However, we want to keep xml:lang attribute on most tags and tags from the default list were cleaned on entry.
noAttrib: br
# Can be disabled if you trust ckeditor (If Automatic Content Formatting is enabled, this should be OK)
# allowTags: %default%
denyTags: img
tags:
hr:
allowedAttribs:
- class
- style
...
details:
allowedAttribs:
- class
- style
summary:
allowedAttribs:
- class
- style
and with
htmlSupport:
allowEmpty:
- 'div'
- 'span'
allow:
...
- name: 'details'
attributes: true
classes: true
styles: true
- name: 'summary'
attributes: true
classes: true
styles: true
in my config.yaml I can use
<details>
<summary>Details</summary>
Something small enough to escape casual notice.
</details>
in the source-code window of the editor but after saving the summary-tag is gone (replaced by p-tag). The detail-tag is preseved.
TYPO3 Version 14.3.6
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] usage of details / summary in ckedior5 Resolves: #111628 Releases: main