So i have recently upgraded to the latest release of Commons and have noticed an issue with embed images using CKeditor.

Once i have inserted an image and embedded within a

tag, i add some custom styles to the

tag so my code looks similar to the following...

When i save the content and inspect the image the code comes out like the following, so it loses all custom styling assigned to the

tag like alignments etc.

I reverted my code back to a previous release of Commons and my output worked as expected.

Comments

devin carlson’s picture

Category: Bug report » Support request
Status: Active » Fixed

Commons is using Entity Embed for embedded files going forward due to similar issues with Media: WYSIWYG. I'd suggest replacing any existing media embeds with entity embeds.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.