In RTE dialog after switching to SourceEditMode, then clicking outside of the dialog RTE-toolbar dissapears | Community
Skip to main content
Level 2
May 23, 2018

In RTE dialog after switching to SourceEditMode, then clicking outside of the dialog RTE-toolbar dissapears

  • May 23, 2018
  • 2 replies
  • 9986 views

Is this a known issue for AEM? Are there maybe some fixes for it or ideas on the best solution?

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
May 23, 2018

Does the toolbar disppear if you do not do this action?  I would avoid that action and you can file a support ticket so this can be fixed.

Level 3
March 28, 2019

Hi,

We are facing one issue similar to this.When we add a rich Text editor  and Number Field in a single dialog,First time while authoring  it's working fine but when we re-open the dialog  it's not allowing to edit the number field/Rich text editor  and If there are any other drop-down fields, all are coming blank.Throwing below error.

Uncaught TypeError: Cannot read property 'sourceEditMode' of undefined

Level 3
April 8, 2024

Hi, I'm currently facing a similar error on the browser console. However, the scenario is different. We are using a custom RTE plugin in a multifield text area. There is no issue while attempting to use these plugin on the dialog in normal dialog screen. However when the dialog is expanded to fill screen, the RTE plugin do not work after the first click, meaning nothing happens when we click the plugin from the second time. 

The error that you attached, is coming up whenever I click "Add" for adding a new entry on the multifield.

Let me know if you've any inputs on this issue pertaining to my scenario.

Techaspect_Solu
Level 7
May 23, 2018

Hi,

This is an expected behavior in AEM. Since a dialog can contain multiple RTE's, at a time, only one RTE's toolbar should be visible.

Hence, it is decided to show the toolbar on clicking inside RTE.

Please take a look at below forum questions. Engineering team answer was mentioned in the below forum questions:

RTE plugin menu is not visible until you click inside the RTE textarea in AEM 6.3 touch UI dialog

AEM 6.3 richtext

Hope this helps!

Regards,

TechAspect Solutions

Level 2
May 24, 2018

Yeah, I understand that.

The thing is after the behavior I've described you are unable to get RTE toolbar back on the screen.

It dissapears completely and won't even show up after clicking on RTE dialog.

So it's a bug, I believe.