[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 15:52:50 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        |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+------------------------------

Comment (by programmin):

 Are you saying all wp-views must now be iframes, within the mce-editor
 area?

 In MCE4 iframe around contents is not required - in many use cases the
 inline mode is better, inherits page styling. Look at that inline example
 - no iframes: http://www.tinymce.com/tryit/inline.php

 If this is the problem, getWin would be the equivalent here:

 {{{
 jQuery('iframe')[0].contentWindow === tinymce.activeEditor.getWin()
 }}}

 result: true!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28929#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list