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.

#112723 Adding a caption to an image adds width: 100%

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 StadtHN on Monday, 02 January 2023 10:39 GMT

StadtHN
Adding a caption to an image adds a width: 100% css attribute and stretches the image. System Information: * Joomla! 4.2.6 Stable * JCE 2.9.32 & 2.9.33-rc4 * Template: Cassiopeia To reproduce: 1. Create an article 2. Add images 3. Save the article - everything fine 4. Add a caption to an image 5. Save the article 6. See that the image with the caption added being oversized and stretch over the whole article width as a width: 100% got added Two indentical pictures in one article, the first one untouched, the second one with a caption added have the following code:

<img src="https://www.joomlacontenteditor.net/files/images/bug_caption.png" alt="bug caption" style="margin: 5px 20px;">
<img src="https://www.joomlacontenteditor.net/files/images/bug_caption.png" alt="bug caption" style="margin: initial; float: none; width: 100%;">
Whole article code:

<p><img src="https://www.joomlacontenteditor.net/files/images/bug_caption.png" alt="bug caption" style="margin: 5px 20px;"></p>
<p><span class="wf_caption" style="margin: 5px 20px; display: inline-block; width: 100%;" role="figure"><img src="https://www.joomlacontenteditor.net/files/images/bug_caption.png" alt="bug caption" style="margin: initial; float: none; width: 100%;"><span style="text-align: left; display: block;">bug caption</span></span></p>
Attached are images to illustrate the steps taken to reproduce.

Attachments

Ryan
Please try JCE Pro 2.9.33 RC5 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

This will address the issue in new captions. Existing captions will need to be updated.

Ryan Demmer

Lead Developer / CEO / CTO

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

StadtHN
[quotePost id="112724"]Please try JCE Pro 2.9.33 RC5 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

This will address the issue in new captions. Existing captions will need to be updated.[/quotePost]
Thank you very much! I can confirm that things appear to work again as expected after a quick test. Though I'm not one of the people actually working with it, I'll report back if the users still experience any issues.