[wp-trac] [WordPress Trac] #28195: Preview embeds with wpview and auto embed on paste
WordPress Trac
noreply at wordpress.org
Mon Jun 9 07:19:56 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 azaozz):
Yeah, this looks really good :)
12.patch is almost identical to 11.patch, just removes the double P
wrapping when embedding URLs and tweaks the regex there a bit
(`'BeforeSetContent'` is fired either after wpautop or after inserting
some content as string. So we need to match either `<p>url</p>` or
`^url$`).
Thinking we should test this a bit more in all browsers and commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28195#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list