Hey all,
I was wondering if there is a functionality to set the rootPath of RichTextEdit Link plugin. Analogous to the rootPath functionality of a pathField xtype.
I am using AEM6 with old ExtJs Dialogs. My first guess was to set a setting next to the feature definitions
<links features="[modifylink,unlink]" jcr:primaryType="nt:unstructured" />
I'd be glad if you guys could give me a hint :-)
Regards,
Dim
Solved! Go to Solution.
Hi Dim,
We had similar requirement and we were using AEM version 5.6.1.
These might not be the best approaches but we figured out 2 possible ways of doing it:
1. Overlaying OOTB js file
Steps:
2. Recreating Link Dialog Config via nodes
Steps:
With Approach 2 the issue is; you will need to create entire structure same as default one created in LinkDialog.js with all listener config and other widget nodes e.g. target checkbox. Hence we resorted to Approach 1.
Hope it helps
-Runal
Views
Replies
Total Likes
Hi Dim,
We had similar requirement and we were using AEM version 5.6.1.
These might not be the best approaches but we figured out 2 possible ways of doing it:
1. Overlaying OOTB js file
Steps:
2. Recreating Link Dialog Config via nodes
Steps:
With Approach 2 the issue is; you will need to create entire structure same as default one created in LinkDialog.js with all listener config and other widget nodes e.g. target checkbox. Hence we resorted to Approach 1.
Hope it helps
-Runal
Views
Replies
Total Likes
Hey Runal,
thank you very much I will give it a try in the next days!
@adobe This really should be made configurable somehow :-/
Regards
Dim
Do write back if it works so that others too get benefited.
Thanks
-Runal
Views
Replies
Total Likes
Hello,
I have confirmed this with the developer and the recommended method is:
For example, add the definition as shown in:
[img]RTE-Link-RootPath-01.png[/img]
This would result in:
[img]RTE-Link-RootPath-02.png[/img]
Hope that helps.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies