Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Techaspect_Solu
Techaspect_SoluAccepted solution
Level 7
Jul 20, 2017 8:59 AM UTC

Hi Sammy Kumar,

Add uisettings node to your dialog structure as below to make sourceedit enable in dialog.

Hope it helps..!
Thank you,
Techaspect Solutions.
http://www.techaspect.com/

8 replies

zeeshanKhan0786
Level 5
Jul 19, 2017 7:25 PM UTC

Hi

Source Editor (Html Editor) is a part of misctool in rich text editor.

Miscellaneous tools allow you to enter special characters or edit the HTML source.

This will help you to add plugin in rich text.

Adobe Experience Manager Help | Configuring Adobe Experience Manager Touch UI Rich Text Editors

Thanks

Translate
Sammy_Kumar
Jul 19, 2017 7:30 PM UTC

I appreciate the response! But what you linked shows how to add sourceedit to the In place Editor. Not the TouchUI Dialog.

I'm looking to see what I need to add to _cq_dialog file

Translate
zeeshanKhan0786
Level 5
Jul 19, 2017 7:40 PM UTC

so you have add <rtePlugins jcr:primaryType="nt:unstructured"> node inside your rich-text node Below is the xml

<rtePlugins jcr:primaryType="nt:unstructured">

<misctools

            jcr:primaryType="nt:unstructured"

            features="*">

</misctools>

</rtePlugins>

Translate
Techaspect_Solu
Techaspect_SoluAccepted solution
Level 7
Jul 20, 2017 8:59 AM UTC

Hi Sammy Kumar,

Add uisettings node to your dialog structure as below to make sourceedit enable in dialog.

Hope it helps..!
Thank you,
Techaspect Solutions.
http://www.techaspect.com/

Translate
Ratna_Kumar
Level 10
Jul 20, 2017 12:31 PM UTC

Hi Sammy,

We have the HELPX article on this topic for configuring the RTE plugins in Touch UI Dialog. Please check here: Configuring Experience Manager Rich Text Editor Plugins in a Touch UI Component Dialog

This also have the package so that you can install and check the same.

Hope this helps!!

~Ratna.

Translate
Jun 7, 2018 10:59 AM UTC

Hi,

I am facing an issue with the sourceedit plugin for RTE component in AEM.

If I put a HTML like the code snippet below and publish the page it removes all the inline styles, do you know why?

<div style="background: #f4f4f4 ; border: 2 ; padding: 15 15 15 15 ; box-shadow: 5px 5px #a79d97 ; border-radius: 8px;">

<h3><span class="large">Hello this is test </span></h3>

<p>We are excited to release an update to our product</p>

<p><span class="btn" style="background: #213c60; color: white; border: 1;">Show Me More</span></p>

</div>

Translate
New Member
Aug 8, 2019 4:32 AM UTC

Hi,

Please use context=unsafe in sightly scripts to resolve the issue.

Thanks

Translate
Nikhil-Kumar
Community Advisor
Community Advisor
Nov 29, 2024 10:39 AM UTC