Opened 8 years ago
Closed 8 years ago
#40480 closed defect (bug) (fixed)
Cursor position bug when updating WPView shortcode in 4.7.4 RC
Reported by: | bduclos | Owned by: | azaozz |
---|---|---|---|
Milestone: | 4.7.4 | Priority: | normal |
Severity: | normal | Version: | 4.8 |
Component: | Editor | Keywords: | |
Focuses: | javascript | Cc: |
Description
Using WP 4.7.4 RC, when updating a gallery/video/audio shortcode, the cursor is placed at the bottom of the editor which in some cases could result in the editor jumping to the bottom. Up to 4.7.3, after updating a shortcode its view was still selected.
Attachments (1)
Change History (8)
This ticket was mentioned in Slack in #core by swissspidy. View the logs.
8 years ago
#3
@
8 years ago
In 40480.patch:
- After updating a wpview instance, select the node again. The selection is lost when the editor is blurred (when opening the media modal, etc.).
- Fix hiding the toolbar on blur.
#4
@
8 years ago
40480.patch Applies cleanly.
Note: See
TracTickets for help on using
tickets.
The relevant change: #40305 ([40419]).