Highlighted

Text(V2) edit in full screen

sreenu539

02-05-2018

Hi,

I am trying to use aem-core-wcm-components/content/src/content/jcr_root/apps/core/wcm/components/text/v2/text at master...

with AEM 6.3 with SP2

If I use inplace editing full screen mode - I am able to see all rte plugins.

When I use Wrench Icon and go full screen mode - I am not able to see all rte plugins.

Is this expected behavior? ( only inplace editing full screen mode display all rte plugins but not wrench icon full screen mode)

If this is not expected behavior for wrench icon full screen mode, is there any configuration or cq-dialog configuration that I need to put in ?

Thanks,

Sri

Replies

Highlighted

sreenu539

03-05-2018

I went through this article Configuring the Rich Text Editor  and aem-core-wcm-components/content/src/content/jcr_root/apps/core/wcm/components/text/v2/text at master... and Configuring Experience Manager Rich Text Editor Plugins in a Touch UI Component Dialog

In these, there is "fullscreen" in adobe help site,  "dialogFullscreen" in github code for uiSettings node. In Ratna Kumar article, there is nothing about fullscreen or dialogfullscreen.

Please guide me.

I copied exactly this aem-core-wcm-components/content/src/content/jcr_root/apps/core/wcm/components/text/v2/text at master... component into my project component folder and seeing following errors when clicked on wrench icon, fullscreen, coming out of fullscreen.

here are the screen shots :

Screen Shot 2018-05-03 at 8.02.12 AM.pngScreen Shot 2018-05-03 at 8.02.33 AM.pngScreen Shot 2018-05-03 at 8.02.51 AM.png

  NOTE: I am talking about wrench icon dialog mode - NOT inplace editing mode.

Highlighted

smacdonald2008

03-05-2018

"When I use Wrench Icon and go full screen mode - I am not able to see all rte plugins."

That is because you did not follow the instructions in Ratna's article. If you install the package from Ratna artilce and open the dialog by clicking the wrench icon - you will see all of the dialog plug-ins appear. (it works here)

ADialog.png

As explained in the article -- to get this results - you need to modify the JCR by adding these nodes.

ADialog2.png

Highlighted

sreenu539

03-05-2018

FYI : I tried the package in Ratna's article. It did not work either. Those nodes are added. Do I need to make any changes to use coral ui 2 vs coral ui3 ? or to use specific richText.js ? why there is dialogFullScreen vs fullscreen nodes in uiSettings ?

Highlighted

smacdonald2008

03-05-2018

Your AEM instance is not working properly then - try installing on a Fresh AEM 6.2/6.3 instance. This has been tested numerous times. Are you getting those JS Errors when you try and run Rantas package?

Highlighted

sreenu539

03-05-2018

Screen Shot 2018-05-03 at 10.27.44 AM.png

RTE.png

Issues:

1) not all rte plugins displayed in wrench icon full screen mode

2) pencil icon full screen mode - close button try it multiple times , hiding some of the rte plugins

3) I am not able to show here but i was not able to close the popup in full screen - wrench icon full screen.

I tried above this on fresh AEM 6.3 - SP2

Issue here is not only Ratna's RTE, out of the box Text(V2) also having issues. ( if features are not enabled in design dialog - wrench icon full screen mode is not closeable) and you can see all js errors in my previous reply.

Highlighted

smacdonald2008

03-05-2018

There is an issue with your AEM Instance (if you used the package exactly as is).

This is how its suppose to work - you will get same results on a Fresh instance.

Highlighted

smacdonald2008

03-05-2018

Having said this -- Ratna package is based on overlaying the /libs/foundation/components/text component - not the core text component. I am doing more testing.

Highlighted

smacdonald2008

03-05-2018

I tested with a core component that I extended. I put the RTE plugins under the core component dialog and it works...

ADialog33.png