[wp-trac] [WordPress Trac] #28195: Preview embeds with wpview and auto embed on paste

WordPress Trac noreply at wordpress.org
Sat Jun 7 12:49:09 UTC 2014

#28195: Preview embeds with wpview and auto embed on paste
 Reporter:  avryl        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.0
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript

Comment (by avryl):

 Cool. :)

 It's probably not a good idea to use tinymce.activeEditor, since that
 might change. I think the editor instance needs to be passed, but maybe
 it's okay to use tinymce.DOM instead of tinymce.editor.dom?

 I'm also not sure if the MutationObserver instance needs to be
 disconnected when the target is removed. Can't find it in the
 documentation. I guess it just takes care of itself very well.
 Right now, if the browser doesn't support it (IE <= 10 :-( and Safari <=
 5)*, the iframe will resize after a second, which should be long enough
 for a tweet etc. to load.


Ticket URL: <https://core.trac.wordpress.org/ticket/28195#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list