Opened 14 years ago
Closed 11 years ago
#15069 closed defect (bug) (fixed)
Autosave function assumes that there is only on tinyMCE on the page
Reported by: | karevn | Owned by: | |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | 3.0.1 |
Component: | Autosave | Keywords: | 3.2-early |
Focuses: | Cc: |
Description
Autosave javascript assumes there is only one tinyMCE instance on the post editor page, thus breaking autosave feature under the next circumstances:
- Content editor is in HTML mode
- Some custom tinyMCE instances are added to the page by some plugin or theme.
A patch that fixes that problem is attached.
Attachments (1)
Change History (7)
#1
@
14 years ago
This should work properly with the default editor (id = content) however WordPress allows the id to be passed to the_editor function. If the write/edit pages for custom post types use that function and pass different id, that would break autosave for them.
#2
@
14 years ago
A related bug: autosave triggers JS error when there are no editors at all (custom post type doesn't support 'editor')
Note: See
TracTickets for help on using
tickets.
The patch that fixes the problem for wp 3.0.1