Hello everyone , I am using aemaacs local sdk. I tried to use coral icon "lightbulb" icon as rte plugin icon using tbGenerator.registerIcon(pluginname , "lightbulb").
1.why I am able to use other icons but not able to use some icons like lightbulb , fileIdea.?
2. how to use custom icon in aem rte plugin ?
I have seen many online sites , blogs . but not able to find answer.
Views
Replies
Total Likes
Hi @AliSyed1
There are a few reasons why some Coral icons may not work as expected when registered as RTE plugin icons:
Views
Replies
Total Likes
@AliSyed1 : Not sure if you have already seen this: https://experience-aem.blogspot.com/2021/03/aem-cloud-service-css-and-color-picker-plugin-rte-rich-t...
I was able to use stylePicker icon by looking at this. Please try if you not already tried.
thank you.
Views
Replies
Total Likes
Hi @AliSyed1 ,
We can set all the avialable icon mentioned here https://developer.adobe.com/experience-manager/reference-materials/6-5/coral-ui/coralui3/Coral.Icon....
I am able to set the mentioned icons like lightbulb , fileIdea,etc We can register icon with their class name.
tbGenerator.registerIcon(groupFeature, "fileIdea");
or
tbGenerator.registerIcon(groupFeature, "lightbulb");
where groupfeature is like below,
var groupFeature = GROUP + "#" + PLUGIN_FEATURE;
You may refer https://experience-aem.blogspot.com/2021/03/aem-cloud-service-css-and-color-picker-plugin-rte-rich-t... for more details on group, feature & groupFeature.
PFA
Thanks
Views
Likes
Replies