Relevant sling:resourceType for xtype:htmleditor | Community
Skip to main content
DEBAL_DAS
New Member
March 14, 2017

Relevant sling:resourceType for xtype:htmleditor

  • March 14, 2017
  • 2 replies
  • 3296 views

Hi,

I have created one custom component with xtype: htmleditor so, that I can achieve font face like "Arial", "tahoma" etc and font size as well.

 dialog editor with xtype has given here: 

 dialog editor on page while doing authoring have given here: 

The above one for classic UI. But, when I was trying to create cq:dialog for touch UI using dialog converter tool I couldn't get relevant sling:resourceType for "htmleditor ".

As we know that for xtype: textfield , textarea we have relevant resouceType :granite/ui/components/foundation/form/textfield and granite/ui/components/foundation/form/textarea, but here I am not getting relevant sling:resourceType.

  Don't we have relevant sling:resourceType for xtype:htmleditor ? Please confirm.

Thanks,

Debal

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

smacdonald2008
Level 10
March 15, 2017

That looks like the RTE in thouch ui,

daniel_henriqu1
Level 4
March 15, 2017

Scott, I've read somewhere that htmleditor is a RTE that allows inserting HTML tags (and maybe JS/CSS code?), but I'm not sure about that...

Regards,

Daniel.

dinesh_sundaram
Level 3
March 15, 2017
DEBAL_DAS
DEBAL_DASAuthor
New Member
March 16, 2017

dinesh sundaram wrote...

I could see HtmlEditor in extjs doc (http://www.objis.com/formationextjs/lib/extjs-4.0.0/docs/api/Ext.form.field.HtmlEditor.html)

 

Hi Dinesh,

Yes, you are correct. I have referred https://docs.adobe.com/docs/en/aem/6-2/develop/ref/widgets-api/index.html while implementation.

But, when I was trying to create cq:dialog for touch UI using dialog converter tool I couldn't get relevant sling:resourceType for "htmleditor ".

Thanks,

Debal

Debal Das, Senior AEM Consultant