[wp-trac] [WordPress Trac] #7392: Don't create new autosave revision if nothing has changed yet
WordPress Trac
noreply at wordpress.org
Sun Jul 28 07:44:01 UTC 2013
#7392: Don't create new autosave revision if nothing has changed yet
---------------------------------------------------+-----------------------
Reporter: Otto42 | Owner: westi
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.6
Component: Autosave | Version: 2.6
Severity: minor | Resolution:
Keywords: has-patch needs-testing autosave-redo |
---------------------------------------------------+-----------------------
Comment (by adamsilverstein):
Replying to [comment:49 azaozz]:
> > i'm confused about this line...
>
> No, onLoad is a custom event in TinyMCE 3.x ('load' in 4.x) fired when
the iframe body is loaded (it is literally fired by body.onload). However
there are some browser inconsistencies with firing this event when the
iframe html is set from JS. It seems it sometimes fires too soon in WebKit
and IE10.
>
ah, thanks for clarifying. found the call in the source code, but
curiously not in the API documentation.
hopefully, your latest patches solve the problem! I'm trying to understand
whats happening here more fully - you said "This should run after TinyMCE
is loaded but before tinymce.init()" - can you tell me why you aren't
using tinymce.Editor.onPreInit?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7392#comment:51>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list