I am using aem anchor from RTE. Problem is its not working in author mode, so below url is working :
http://localhost:4502/content/home/anchortest.html#myanchor
whereas this one is not working (preview mode) :
http://localhost:4502/editor.html/content/home/anchortest.html#myanchor
Please help, Thanks in advance
Since author mode in AEM auto generates the iFrame of the content page so it doesnt take its source url along with the anchor hash automatically. This is why its not working in presense of {editor.html} while it works on publish environment or url without {editor.html}