Expand my Community achievements bar.

SOLVED

How to add the image option in RTE?

Avatar

Level 4

In RTE, how to add the image plugin,

We need to insert the image with alt text.

1855377_pastedImage_0.png

Thanks,

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

It seems the issue with the plugin.

If you add alt text manually using source edit, the alt attribute is getting added and get populated in the dialog and changeable as well.

chrome-capture (3).gif



Arun Patidar

View solution in original post

8 Replies

Avatar

Level 3

If you're talking just within the Text core component, you need to modify the components policy in the design dialog.

1855472_pastedImage_0.png

Avatar

Level 4

Hi Robinson,

For my case i need to add the icon for RTE component,

i referred this link Experiencing Adobe Experience Manager - Day CQ: AEM 61 - Touch UI Rich Text Editor (RTE) Browse and ...

for me it is not working..

If your comment is the answer for my question, can you please elabrate.

Thanks,

Avatar

Level 3

What version of AEM are you using? That link is quite old, unless the version you're on is 6.1?

Avatar

Community Advisor

You can use rich text image plugin.

Enable Plugins using below settings

rtePlugins - add image node

Screenshot 2019-11-14 at 8.53.33 PM.png

uiSettings/cui/inline set image#imageProps in toolbar property

Screenshot 2019-11-14 at 8.53.55 PM.png

Once you can see the plugin, drag and drop the image from assets selector to RTE, the plugin will be activated and add alt text using the plugin.

Note: You can't add an image using the plugin, you have to drag the image from the asset selector.



Arun Patidar

Avatar

Level 4

Hi Robinsonn,

we are using AEM 6.3

Thanks,

Avatar

Level 4

Hi Arun Patidar,

Thanks for your response.

I tried this one, it is adding the icon in RTE (as expected) . But once i authored the alt text, it is not saving.

I inspected the image there no property added (alt).

Thanks.

Avatar

Correct answer by
Community Advisor

It seems the issue with the plugin.

If you add alt text manually using source edit, the alt attribute is getting added and get populated in the dialog and changeable as well.

chrome-capture (3).gif



Arun Patidar

Avatar

Level 4

Hi Arun Patidar,

Thanks for your answer, it is working as expects.

Thanks,