[wp-trac] [WordPress Trac] #28195: Preview embeds with wpview and auto embed on paste
WordPress Trac
noreply at wordpress.org
Sun Jun 8 10:59:05 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):
In trunk we're now doing this -> `this.node = node;` after the html is set
by the API to use it later when we get an ajax response. But this will
cause problems if there are two identical embeds. When the API sets the
HTML for the second one, and we didn't get an ajax response for the first
one yet, this.node will be the second one, and the first preview will be
empty.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28195#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list