Opened 10 years ago
Closed 10 years ago
#30938 closed defect (bug) (fixed)
wpview: tinymce.each only stops when returning false, only get all the view offsets when clicking next to the body
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | TinyMCE | Keywords: | has-patch |
Focuses: | javascript | Cc: |
Description
Currently, whenever there's a click in the editor, there wil be always some expensive calculations from the wpview plugin.
- Reduce them to when the click is outside the body.
return
alone doesn't actually do anything in atinymce.each
function.return false
when the click is above a view or next to a view to stop the loop.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 31143: