Steps to reproduce:
- Open any page for editing, open the "Advanced" toolbar from WikiEditor.
- Click the icon for inserting a list.
Expected result: The sample text "Bulleted list item" is selected.
Actual result: It is not.
If you don't have WikiEditor installed, you can execute
$( '#wpTextbox1' ).textSelection( 'encapsulateSelection', { pre: '* ', post: '\n', peri: 'item', selectPeri: true, splitlines: true } );
instead of step 2 (which also shows that this indeed is an issue with jquery.textSelection, and not with WikiEditor).
Version: 1.24rc
Severity: enhancement
Whiteboard: gci2014