https://bugzilla.wikimedia.org/show_bug.cgi?id=70764

            Bug ID: 70764
           Summary: [jquery.textSelection] Select sample text when
                    splitlines is true
           Product: MediaWiki
           Version: 1.24-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: listenle...@gmail.com
                CC: krinklem...@gmail.com, matma....@gmail.com,
                    tpars...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

Steps to reproduce:

1. Open any page for editing, open the "Advanced" toolbar from WikiEditor.
2. 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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to