Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16935, comment 11


Ignore:
Timestamp:
08/22/2013 09:25:22 PM (12 years ago)
Author:
c3mdigital
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16935, comment 11

    initial v1  
    44> I'm not sure what you mean by adding a filter for `$selection`, however.
    55
    6 `$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.
     6`$selection` is the variable that holds the selected text that gets added to the editor.  Adding a filter (see: [http://core.trac.wordpress.org/attachment/ticket/16935/16935.2.patch patch]) will allow you to wrap any html you wanted around it.