[Webkit-unassigned] [Bug 256134] New: Selecting a link and pasting plain text changes text in the link, but not the link href
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Apr 29 13:47:08 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=256134
Bug ID: 256134
Summary: Selecting a link and pasting plain text changes text
in the link, but not the link href
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: wenson_hsieh at apple.com
CC: wenson_hsieh at apple.com
This can lead to misleading behaviors — for instance:
1. Let's suppose there's an editable element with a link `<a href="https://www.apple.com">www.apple.com</a>`.
2. Copy the plain text "webkit.org"
3. Select the editable link and paste.
Observed: the hyperlink persists with the same href ("https://www.apple.com"), but with the new text content "webkit.org"
Expected: either remove the hyperlink entirely (i.e. just the plain text "webkit.org"), or somehow replace the href of the link with "http://webkit.org".
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230429/0bfc68f3/attachment.htm>
More information about the webkit-unassigned
mailing list