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.

#99498 Bug JCE 2.7.11: Removes figcaption from image if inserting link

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 Ryan on Thursday, 18 April 2019 20:01 BST

Thorbavaria
Hi Ryan, I think there is a bug in the JCE 2.7.11: I insert images like

<figure class="figure-bild-artikel">
				<a href="https://www.joomlacontenteditor.net/joomplu:6764 type=orig"><img src="https://www.joomlacontenteditor.net/index.php?option=com_joomgallery&view=image&format=raw&id=6764&type=thumb" class="jg_photo" alt="Hafenpersenning ZAR Formenti 53" width="350" height="262" /></a>
				<figcaption>Ideal für den Hafen - Befestigung mit RIBhaken<br /></figcaption>
			</figure>
which works without problems. However: whenever I want to post a link inside the <figcaption> the <figcaption> is completely removed from html and the link gets inserted in the <figure> part of the code. I don't think that is the way it is supposed to be, isn't it? Greetings, Björn

Thorbavaria
One more thing - there is always a <br /> inserted within the figcaption - why is that done?

Ryan
However: whenever I want to post a link inside the <figcaption> the <figcaption> is completely removed from html and the link gets inserted in the <figure> part of the code.


Are you selecting all the figcaption content to apply the link to?

Ryan Demmer

Lead Developer / CEO / CTO

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