Expand my Community achievements bar.

SOLVED

Special char plugin in CQ's rich text editor

Avatar

Level 2

I have modified the CQ’s rich text editor with the special char plugins. But the issue is, this includes the html source editing plugin also. I don’t want to include that in my rich text editor. Is there any way that I can include special chars but not html source editing. Basically i don’t want the html editing option in RTE.

1 Accepted Solution

Avatar

Correct answer by
Level 10

See this AEM topic:

http://docs.adobe.com/content/docs/en/cq/5-6-1/administering/configuring_rich_text_editor.html#Speci... Characters

You can include only those chars that you want in the JCR.  The doc states:

Under misctools create a node to hold the special character configurations:

  • Name specialCharsConfig
  • Type nt:unstructured

Under specialCharsConfig create another node to hold the list of characters:

  • Name chars
  • Type nt:unstructured

Under chars add a new node to hold an individual character definition.

If you do this and place only those special chars - you should get just special chars and not the other functionality. 

View solution in original post

2 Replies

Avatar

Level 10

when adding misctools node, set property of features as "specialchars" not  "*", use multiple field for adding

Avatar

Correct answer by
Level 10

See this AEM topic:

http://docs.adobe.com/content/docs/en/cq/5-6-1/administering/configuring_rich_text_editor.html#Speci... Characters

You can include only those chars that you want in the JCR.  The doc states:

Under misctools create a node to hold the special character configurations:

  • Name specialCharsConfig
  • Type nt:unstructured

Under specialCharsConfig create another node to hold the list of characters:

  • Name chars
  • Type nt:unstructured

Under chars add a new node to hold an individual character definition.

If you do this and place only those special chars - you should get just special chars and not the other functionality.