[wp-trac] [WordPress Trac] #16935: Wrap selected text in <blockquote> in press-this.php
WordPress Trac
noreply at wordpress.org
Thu Aug 22 21:24:05 UTC 2013
#16935: Wrap selected text in <blockquote> in press-this.php
-------------------------------------------------+----------------------
Reporter: topdownjimmy | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Press This | Version: 3.1
Severity: normal | Resolution: wontfix
Keywords: has-patch 2nd-opinion needs-testing |
-------------------------------------------------+----------------------
Comment (by c3mdigital):
Replying to [comment:10 topdownjimmy]:
> Any styling hook would be beneficial, I think -- just *something* to
allow Press This to be more effortless.
>
> I'm not sure what you mean by adding a filter for `$selection`, however.
`$selection` is the variable that holds the selected text that gets added
to the editor. Adding a filter (see: patch) will allow you to wrap any
html you wanted around it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16935#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list