[wp-trac] [WordPress Trac] #28929: mce-view is now dependant on iframe mode, not inline mode
WordPress Trac
noreply at wordpress.org
Thu Jul 17 07:22:34 UTC 2014
#28929: mce-view is now dependant on iframe mode, not inline mode
--------------------------+-----------------------------
Reporter: programmin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords:
Focuses: javascript |
--------------------------+-----------------------------
In the current nightly build of 4.0, pausePlayers function is presuming
it's being used in iframe mode, not inline mode:
{{{
pausePlayers: function() {
this.getNodes( function( editor, node,
content ) {
var p, win = $( 'iframe', content
).get(0).contentWindow;
if ( win && win.mejs ) {
for ( p in
win.mejs.players ) {
win.mejs.players[p].pause();
}
}
});
},
}}}
There is no iframe in inline mode, this causes fatal exception and no
shortcode views are properly shown when initialized in
[http://www.tinymce.com/tryit/inline.php inline mode].
This problem doesn't exist in 3.9.1.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28929>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list