Project

General

Profile

Actions

Bug #23169

closed

Copy and pasting an HTML page into a classic block consistently loses first anchor

Added by Raffi Khatchadourian 4 months ago. Updated 4 months ago.

Status:
Resolved
Priority name:
Low
Assignee:
-
Category name:
WordPress (misc)
Target version:
-
Start date:
2025-08-14
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

I have a problem related to the problem outlined at https://stackoverflow.com/questions/64990808/switching-between-wordpress-text-visual-editor-makes-anchor-tags-disappear.

When I copy and paste an HTML page into a classic block, I always lose the first anchor. I always have to go back, edit the block in HTML, and manually add the anchor back. It's only the first one; all the others are fine.

The problematic block is https://khatchad.commons.gc.cuny.edu/wp-admin/post.php?action=edit&post=358#block-52d9abe6-634e-4a9b-9a98-6007fc7f287a. I've attached the HTML page that I copy and paste into that block.


Files

all.html (33.4 KB) all.html HTML page I copy into the classic block. Raffi Khatchadourian, 2025-08-14 10:16 AM
Actions

Also available in: Atom PDF