Opened 9 years ago
Closed 9 years ago
#32045 closed defect (bug) (fixed)
TinyMCE: views may get "stuck" in selected state
Reported by: | azaozz | Owned by: | azaozz |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 4.2 |
Component: | TinyMCE | Keywords: | has-patch |
Focuses: | Cc: |
Description
When opening a new tab and then going back to the editor, sometimes a view may remain selected. Clicking above, below or on another view doesn't deselect it.
To reproduce:
- Insert
https://twitter.com/WordPress/status/588418492535181312
from the modal. - Click on it to highlight, then click again (it opens another tab to twitter).
- Close the new tab, go back to the editor.
At this point the editor appears "frozen" sometimes. The view is selected and cannot be deselected.
Attachments (1)
Change History (5)
This ticket was mentioned in Slack in #core by azaozz. View the logs.
9 years ago
Note: See
TracTickets for help on using
tickets.
Caused by removing the reference to the selected view on
PreProcess
which also fires in cases where we don't want to remove it. 32045.patch fixes it.