Hi, i added a image plugin in RTE but it is not visible Can someone help me with this?
Solved! Go to Solution.
Views
Replies
Total Likes
<rtePlugins jcr:primaryType="nt:unstructured">
... <image jcr:primaryType="nt:unstructured" features="*"/>
... </rtePlugins>
Have you tried adding this to "uiSetting"?
<inline
jcr:primaryType="nt:unstructured"
toolbar="[format#bold,format#italic,format#underline,.....,image#imageProps,...,#paraformat,table#table]">
image#imageProps
needs to be added.
<rtePlugins jcr:primaryType="nt:unstructured">
... <image jcr:primaryType="nt:unstructured" features="*"/>
... </rtePlugins>
Have you tried adding this to "uiSetting"?
<inline
jcr:primaryType="nt:unstructured"
toolbar="[format#bold,format#italic,format#underline,.....,image#imageProps,...,#paraformat,table#table]">
image#imageProps
needs to be added.
Hello @tatrived ,
You can enable it from the page template edit option.
However, you can also enable it from the code for all templates,
In _cq_design_dialog all the following XML,
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:granite="http://www.adobe.com/jcr/granite/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="nt:unstructured">
<content
jcr:primaryType="nt:unstructured">
<items jcr:primaryType="nt:unstructured">
<tabs
jcr:primaryType="nt:unstructured">
<items jcr:primaryType="nt:unstructured">
<plugins
jcr:primaryType="nt:unstructured">
<items jcr:primaryType="nt:unstructured">
<Features
jcr:primaryType="nt:unstructured">
<items jcr:primaryType="nt:unstructured">
<fixedcol
jcr:primaryType="nt:unstructured">
<items jcr:primaryType="nt:unstructured">
<col1
jcr:primaryType="nt:unstructured">
<items jcr:primaryType="nt:unstructured">
<image
jcr:primaryType="nt:unstructured">
<items jcr:primaryType="nt:unstructured">
<image
jcr:primaryType="nt:unstructured"
defaultEnabled="{Boolean}true"/>
</items>
</image>
</items>
</col1>
</items>
</fixedcol>
</items>
</Features>
</items>
</plugins>
</items>
</tabs>
</items>
</content>
</jcr:root>
No it doesn't seems like working, have tried from template level as well as code side
Views
Replies
Total Likes
@tatrived Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies