Added features don't appear in toolbar for common user



Good morning sir.

I developed a RTE component following Configure the Rich Text Editor , it inherits core/wcm/components/text/v2/text. I added cq:editConfig for it. When editing in inplace editing mode, admin can see added features  in toolbar normally. But for common user, added features don't appear in toolbar.

I noticed the Notes in the page:


Do not name the node under cq:inplaceEditing as config. On cq:inplaceEditing node, define the following properties:

  • Name: configPath
  • Type: String
  • Value: path of the node containing the actual configuration

Do not name the RTE configuration node as config. Otherwise, the RTE configurations take effect for only the administrators and not for the users in the group content-author.

so I have tried following ways but they don't help:

1. place my config to another folder, and added configPath property to point to it

2. tried to rename config to other name e.g myconfig, but got errors

I'm using AEM 6.4.

Anyone can give me some advice? Thanks.