(Bug #27447) Added option to toolbar-item to switch off text-selection
authorMark A. Hershberger <mah@users.mediawiki.org>
Wed, 16 Feb 2011 23:05:38 +0000 (23:05 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Wed, 16 Feb 2011 23:05:38 +0000 (23:05 +0000)
commit15bb2b2d180c23205abc428520ee02a267e413bd
tree1ee3408c94ae40744848ea9de3d786fb10e23eb8
parentd4a6ec755a7eb6adcfe9402e15627c45b7690611
(Bug #27447) Added option to toolbar-item to switch off text-selection

Carsten Nielsen explains:

    A client of mine was a bit annoyed by the editor:
    Every time he inserted - lets say - an image, the default contents of the
    image-fields "thumbs|width|caption...." were automatically marked/selected. So
    with a tip on the keyboard all "helping" text was gone.

    I added an option to the toolbar-items to optional deactivate this behaviour.
includes/EditPage.php
skins/common/edit.js