Opened 9 years ago
Closed 9 years ago
#28313 closed defect (bug) (fixed)
wpviews: selecting a view can add an undo level
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | TinyMCE | Keywords: | has-patch |
Focuses: | Cc: |
Description
That's because of the class="selected" added to the wrap. If we use data-mce-selected="true" instead, it will be automatically removed by TinyMCE.
See: https://github.com/tinymce/tinymce/blob/master/js/tinymce/classes/UndoManager.js#L25
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 28684: