You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#114523 Error with HTML details element

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by UteS on Wednesday, 30 August 2023 22:13 BST

Joomla 3.10.12 and 4.3.4 PHP 8.1 JCE Editor Pro 2.9.41 and 2.9.40 Astroid Framework / Templates by Joomlaplates I want to use the HTML element <details> with <summary>. Because this element is not included in the format select list I write it in code view. Code example

	<summary><strong>Lindemanns Pablo</strong></summary>
	<p><strong>170/17A 73532 SP, </strong>bwB, gew. 09.04.2017,66 cm, sg /v/sg Auge  mittel</p>
Now, a strange incident occurs - you can see it in the video. When I change to editor view (e.g. for editing) and go back to code view (e.g. for inserting another code block) the editor wraps the <details> block with a paragraph element AND also inserts empty paragraphs before and after. What's more, just switching to the editor view will create the wrap and the empty paragraphs. It doesn't happen with the TinyMCE editor AND it doesn't happen when I put each <details> block in a <div> container. I don't expect you to start looking for the error right away. The workaround is easy especially using the great snippets feature. Maybe someday you will have the time or desire to get to the bottom of the problem. (See your answer in /forum/108314-icons-for-using-html);) Ute

Please try JCE Pro 2.9.42 Beta -

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Hello Ryan,

it works.
Thank you very much for the quick help and the perfect solution!