AEM CFM RTE Copy/Paste Scrolls to Beginning Instead of Maintaining Scroll Position | Community
Skip to main content
March 4, 2025
Solved

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

  • March 4, 2025
  • 2 replies
  • 436 views
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!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by PRATHYUSHA_VP

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 

2 replies

PRATHYUSHA_VP
Community Advisor
PRATHYUSHA_VPCommunity AdvisorAccepted solution
Community Advisor
March 5, 2025

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 

kautuk_sahni
Community Manager
Community Manager
March 5, 2025

@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