Last modified: 2011-06-03 10:12:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31105, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29105 - jQuery.textSelection selects wrong text with the splitlines option and a multiline sample text
jQuery.textSelection selects wrong text with the splitlines option and a mult...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-23 07:16 UTC by Michael M.
Modified: 2011-06-03 10:12 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael M. 2011-05-23 07:16:38 UTC
See the screenshot in bug 29104 for what happens when you click on the gallery button of WikiEditor.
Of course, gallery should have splitlines == false as option (that's the above bug), but just in case that there is a multiline sample text and splitlines is true, either no text should be selected or all the inserted text should be selected except the first pre and the last post.
Comment 1 Roan Kattouw 2011-06-03 10:12:17 UTC
(In reply to comment #0)
> either no text should be selected or all the inserted text should be
> selected except the first pre and the last post.
I chose to do the former in r89403, because it was much easier to do and multiline insertions with splitlines enabled don't occur in practice anyway with bug 29104 being fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links