Hallo,
wieder mal ckeditor5 in TYPO3 14.3. Ich möchte details und summary im editor verwenden. Wenn ich
<details>
<summary>Details</summary>
Something small enough to escape casual notice.
</details>
in der quelltext-Ansicht einfüge, bekomme ich nach dem Speichern
<details>
<p>
Details
</p>
<p>
Something small enough to escape casual notice.
</p>
<p>
</p>
</details>
Ich habe in meiner processing.yaml schon die beiden tags in die allowTags aufgenommen und in der config
htmlSupport:
allowEmpty:
- ['div', 'details', 'summary']
allow:
- name: 'details'
attributes: true
classes: true
styles: true
- name: 'summary'
attributes: true
classes: true
styles: true
ergänzt. Auch im TS-Setup hilft
lib.parseFunc.allowTags := addToList(summary, details)
lib.parseFunc_RTE.allowTags := addToList(summary, details)
nicht weiter. In meiner Verzweiflung hab ich noch im PageTS
RTE.default.proc {
allowTags := addToList(details, summary)
allowTagsOutside := addToList(details, summary)
entryHTMLparser_db.tags.summary.remap = summary
dontConvBRtoParagraph = 1
}
probiert, leider alles bisher ohne Erfolg, Interessanterweise klappt details auf Anhieb, summary gar nicht.
Falls jemand ne Idee hat - bitte mitteilen.
Schon mal herzlichen Dank