No proper documentation/sample ones for creating RTE plugins in Touch UI
- December 21, 2015
- 6 replies
- 2166 views
Hi Team,
I have come across this link: https://docs.adobe.com/docs/en/aem/6-1/administer/operations/page-authoring/rich-text-editor.html for configuring RTE in touch UI.
But still its not clear in that link, for how to create RTE in touch UI. As they mentioned, we need to create RTE in touch UI under
In-place editing (touch-optimized UI and classic UI):
- .../text/cq:editConfig/cq:inplaceEditing/config/rtePlugins
NOTE
If, for example for backward compatibility reasons, the node under cq:inplaceEditing is called something other than config, then ensure that on the intermediate node:
- cq:inplaceEditing
The following property is defined:
- Name: configPath
- Type: String
- Value: name of the node used for the configuration definitions (i.e. the equivalent ofconfig; e.g. in some previous cases it was defined as inplaceEditingTextConfig)
Editing in a Dialog (classic UI only):
- .../text/dialog/items/tab1/items/text/rtePlugins
But still I am not able to achieve it. As suggested, I created the rtePlugins under
- .../text/cq:editConfig/cq:inplaceEditing/config/rtePlugins
and created plugins(Paraformat, Styles, Misctools, Spellcheck etc) of type node nt:unstructured, But still plugins showing nothing in the RTE touch UI.
And also there are lot of confusions in this link.
Using CRXDE Lite, locate the text component for your project.
Depending on your component you might need to create parent node of <rtePlugins-node> before configuring any RTE plugins:
- Depending on your component the parent nodes:
- config
- as in
.../text/cq:editConfig/cq:inplaceEditing/config
- as in
- an alternative configuration node
- as in
.../text/cq:editConfig/cq:inplaceEditing/inplaceEditingTextConfig
- as in
- text
- as in
.../text/dialog/items/tab1/items/text
- as in
- config
- Are of type:
- jcr:primaryType cq:Widget
- Both have the following property:
- Name name
- Type String
- Value ./text
- Depending on your component the parent nodes:
As far as I know, /text/cq:editConfig/cq:inplaceEditing/config will be used to create rtePlugin for touch UI under config. Then what is the need to give alternative configuration node text/cq:editConfig/cq:inplaceEditing/inplaceEditingTextConfig and what is Are of type:
- jcr:primaryType cq:Widget
We generally don't use cq:widget in AEM6 + versions. Then what is the need to give cq:widget, it must be nt:unstructured.
--> Another thing, Styles(Text) is not clear in this document.(CSS stuff)
The same question, I asked in the forums 3 days back: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__bjpy-hi_may_anyonehe.html,
But I didn't get the proper response, as there is not really proper documentation in Adobe site. As we are referring to sites like
http://experience-aem.blogspot.ca/2013/08/in-blog-experiencing-adobe-experience.html -> Really having some gud stuff, but not having how to create RTE in touch UI(Step by step)
Why don't we have some good stuff on RTE in touch UI on Adobe(docs.day) sites?
Thanks,
Ratna Kumar.