Make WordPress Core

Opened 9 months ago

Last modified 4 months ago

#53155 new defect (bug)

anchor link after copying adds admin url

Reported by: jbsz0544 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.7
Component: Editor Keywords: needs-screenshots
Focuses: Cc:


I have a small image e.g. an arrow with an anchor link on it e.g. "#section1". I copy this image and want to edit the link. Then it adds the complete admin url to the link like this: https://linksweb.com.br/major-model-management-brasil/

Change History (2)

#1 @sabernhardt
9 months ago

  • Component changed from TinyMCE to Editor
  • Keywords needs-screenshots added

Hi @jbsz0544 and thanks for the report!

Could you add screenshots and/or steps to reproduce?

I have had a similar experience in the block editor 28115 (which seems to have been fixed in the plugin and should be in the next major release). However, I am not able to do the same in the Classic editor, if that is how you encountered the problem.

#2 @matthiaspabst
4 months ago

I can reproduce this issue in the block editor in WP 5.8.1. After copying an internal link from one position to another it always changes from




The editor always adds the complete edit post URL to the anchor.



Note: See TracTickets for help on using tickets.