Styling being added to images within Ektron rich text areas

  • Updated

When working with images in rich text areas of the Ektron CMs it may be seen that sizing is being added to images when editing or publishing as noted in the bellow example. This can be caused by the Aloha editor handling drag and drop images. This is expected functionality within the Ektron CMS.

Original HTML:

<p>Testing text line with image bellow.</p>
<p><img src="/uploadedImages/Testing/93074-AutomaticSizing/AvatarWhiteListUpdate.png" alt="TestingImage" title="TestingImage" class="fancy" draggable="true" /></p>
<p>Testing text with image inline<img src="/uploadedImages/Testing/93074-AutomaticSizing/AvatarWhiteListUpdate.png" alt="TestingImage" title="TestingImage" class="fancy" draggable="true" />.</p>

Updated HTML:
<p>Testing text line with image bellow.</p>
<p><img src="/uploadedImages/Testing/93074-AutomaticSizing/AvatarWhiteListUpdate.png" alt="TestingImage" title="TestingImage" class="fancy" draggable="true" style="height: 81px; width: 71px;" /></p>
<p>Testing text with image inline<img src="/uploadedImages/Testing/93074-AutomaticSizing/AvatarWhiteListUpdate.png" alt="TestingImage" title="TestingImage" class="fancy" draggable="true" style="height: 81px; width: 71px;" />.</p>

This may be able to disable the plugin by remove common/image from the path value of <template><add name ="Content" ...> in ektron.cms.framework.ui.config. This would be considered a customization to the workarea functionality and if there were an issue with the workarea support may request that this change be reverted. Since this is a customization it may be overwritten when applying any updates to the site.