[wp-trac] [WordPress Trac] #28195: Preview embeds with wpview and auto embed on paste
WordPress Trac
noreply at wordpress.org
Thu Jun 12 02:48:19 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):
In [changeset:"28748"]:
{{{
#!CommitTicketReference repository="" revision="28748"
wpView:
- Don't wrap single-line URLs in [embed]. Use them directly in generating
a view.
- If the embedding HTML contains a script, "sandbox" it in an iframe to
prevent it from changing the editor DOM.
- Automatically add toolbar and overlay when needed.
- Try to embed single-line URLs only if they are pasted in an empty
paragraph.
Props avryl, see #28195
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28195#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list