No Code Attached Yet
avatar olivdee
olivdee
6 Apr 2023

Steps to reproduce the issue

Add inside an article while in scource code view the following:
<details class="accordion-item">
<summary class="accordion-button collapsed"><h3>My Heading</h3></summary>
<p class="accordion-body">Lorem impsum...</p>
</details>

Expected result

...would be to keep all code unchanged, especially when one can use heading elements inside <summary> as explained her:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary#summaries_as_headings

Actual result

<details class="accordion-item">
<h3>My Heading</h3>
<p class="accordion-body">Lorem impsum...</p>
</details>

System information (as much as possible)

J! 4.2.9
PHP 8.1.17

Additional comments

none

avatar olivdee olivdee - open - 6 Apr 2023
avatar joomla-cms-bot joomla-cms-bot - change - 6 Apr 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Apr 2023
avatar brianteeman
brianteeman - comment - 6 Apr 2023

Sorry but there is nothing we can do about this as it is tinymce and not joomla removing the heading. Possibly for the same reasons as the big red warning on the mdn page you linked to

avatar richard67 richard67 - change - 7 Apr 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-04-07 08:48:00
Closed_By richard67
avatar richard67
richard67 - comment - 7 Apr 2023

Closing as not a Joomla issue. Feel free to report your issue here: https://github.com/tinymce/tinymce

avatar richard67 richard67 - close - 7 Apr 2023

Add a Comment

Login with GitHub to post a comment