[wp-trac] [WordPress Trac] #26681: Allow HTML in selection captured with Press This bookmarklet
WordPress Trac
noreply at wordpress.org
Wed Mar 18 10:42:53 UTC 2015
#26681: Allow HTML in selection captured with Press This bookmarklet
-------------------------+------------------------------
Reporter: grosbouff | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Press This | Version: 3.8
Severity: normal | Resolution:
Keywords: close | Focuses:
-------------------------+------------------------------
Comment (by grosbouff):
>perhaps request a filter (or an action) that would make it work better.
Hi @azaoozz, that's why I opened this ticket :)
See first post :
> [...]"Press This" could work as actually (get selection then load it in
the popup window); but having a filter hook on the HTML selection would
allow plugins to act on the selection captured :
> WP would, by default, santize the selection with a filter hook to output
simple text, but having this hook would allow plugins to act on the
selection captured[...]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26681#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list