Opened 12 years ago
Closed 12 years ago
#28313 closed defect (bug) (fixed)
wpviews: selecting a view can add an undo level
| Reported by: | iseulde | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | TinyMCE | Version: | 3.9 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 28684: