Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
sugram13Accepted solution
Level 2
Jan 8, 2018 2:00 PM UTC

I was having an accordian where I had multiple RTEs on slecting any random text and on clicking  hyperlinks it was automatically shifting the control to the last RTE.

PS:However I resolved the issue by using external js.

12 replies

edubey
Level 10
Jan 8, 2018 11:26 AM UTC

Can you provide more information, I don't it will help anyone to understand the issue.

Screenshots or more detail description will be helpful

Translate
kautuk_sahni
Level 9
Jan 8, 2018 12:31 PM UTC

Can you check the error message in AEM error.log? Please share the Steps to reproduce it.

I have just tested it on AEM 6.3, it is working fine.

Please install this package:- Configuring Experience Manager Rich Text Editor Plugins in a Touch UI Component Dialog and confirm.

Translate
Kautuk Sahni
sugram13AuthorAccepted solution
Level 2
Jan 8, 2018 2:00 PM UTC

I was having an accordian where I had multiple RTEs on slecting any random text and on clicking  hyperlinks it was automatically shifting the control to the last RTE.

PS:However I resolved the issue by using external js.

Translate
smacdonald2008
Level 10
Jan 8, 2018 3:48 PM UTC

Thanks for posting the solution.

Translate
nandak11733306
Jan 30, 2018 3:59 AM UTC

Is this issue resolved with AEM 6.3

"I was having an accordian where I had multiple RTEs on slecting any random text and on clicking  hyperlinks it was automatically shifting the control to the last RTE."

Translate
sugram13Author
Level 2
Jan 30, 2018 6:21 AM UTC

Yes.
the issue persisted in AEM 6.3 only.However solved now.
It had some issue with the UI.
It can be resolved by overriding the js for the dialog.

Translate
nandak11733306
Jan 30, 2018 6:25 AM UTC

Are there any hot fixes or service packs that resolve this issue. I hope to try with SP1 or CFP 2.0

Translate
sugram13Author
Level 2
Jan 30, 2018 6:30 AM UTC

you can try it but as far as I remember they couldnot help me.
I had to write an external js.

Translate
nandak11733306
Jan 30, 2018 6:35 AM UTC

Will you be able to share the external js file

Translate
sugram13Author
Level 2
Jan 30, 2018 6:53 AM UTC

Sure.
Following is the code snippet:

$(document).on("dialog-ready",function(){

    var originalEvent=Vent.prototype._executeBubbleListeners

Vent.prototype._executeBubbleListeners = function(event){

    if(event.type!="mousedown") {

  originalEvent(event);

    }

}

})

This shall work.Lemme know if it works.
you must handle the exceptions as well later for js.

Translate