Expand my Community achievements bar.

SOLVED

AEM CFM RTE Copy/Paste Scrolls to Beginning Instead of Maintaining Scroll Position

Avatar

Level 1
Hello,

I am facing an issue with the Rich Text Editor (RTE) inside AEM Content Fragment Models (CFM). When copying and pasting text within the RTE, the cursor remains in the correct position, but the page scrolls to the beginning of the RTE instead of maintaining the current scroll position. This disrupts the user experience, requiring manual scrolling back to the editing area after each paste action.

Has anyone else encountered this behavior? Is there a known fix or workaround to prevent the unwanted scrolling?

Any help would be greatly appreciated.

Thanks!
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Gunainbox 

 

I haven't faced this issue in AEM Cloud SDK versions.

 

Can you recheck if you're using below sling:resourceType  as dam/cfm/admin/components/authoring/contenteditor/multieditor for RTE in CFM fields

 

Hope this helps 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @Gunainbox 

 

I haven't faced this issue in AEM Cloud SDK versions.

 

Can you recheck if you're using below sling:resourceType  as dam/cfm/admin/components/authoring/contenteditor/multieditor for RTE in CFM fields

 

Hope this helps 

Avatar

Administrator

@Gunainbox Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!



Kautuk Sahni