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

WordPress Trac noreply at wordpress.org
Fri May 9 18:38:21 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):

 Replying to [comment:1 wonderboymusic]:
 > Nice - one caveat, I think jQuery parses scripts as soon as you drop
 them into `.html()`, so throwing them in the head would dupe them (? ...)
 >
 > Thank you for doing this, we should get this in soon

 No, I think TinyMCE blocks all scripts. At least it doesn't work when I
 embed a tweet. Adding the script to the iframe's head works for me.

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


More information about the wp-trac mailing list