[wp-trac] [WordPress Trac] #58768: Safari: Pasting into post title is broken
WordPress Trac
noreply at wordpress.org
Mon Jul 10 13:17:04 UTC 2023
#58768: Safari: Pasting into post title is broken
-------------------------------------------------+-------------------------
Reporter: lukasbesch | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: General | Version: 6.2.2
Severity: normal | Keywords:
Focuses: ui, accessibility, javascript, |
administration |
-------------------------------------------------+-------------------------
Steps to reproduce:
1. Go to the block editor to edit a post using Safari.
2. Click on the post title (the cursor position does not matter). Assume
the current post title has the value `old`.
3. Paste text using your keyboard (`cmd` + `v`). Assume the pasted value
is `NEW`.
4. The title is now `oldNEWold`. The cursor position is now at the
beginning (before the first letter).
I only tested on a mac using `cmd` + `v`.
This only happens in Safari. My Version is 16.5 (17615.2.9.11.6, 17615).
This also happens on a fresh bare bone WordPress 6.2.2 site, with no
plugins and the default theme.
It also happens if you first select all the text in the post title
(expecting to overwrite it)
It does NOT happen if you paste using the mouse and context menu.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58768>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list