[Mediawiki-l] edit buttons for lists or indenting?
Platonides
Platonides at gmail.com
Sun Nov 18 21:32:07 UTC 2007
Jim Hu wrote:
> Just to clarify - as can be seen from another thread, I know how to
> make a button prepend * or #. I'd like for the button to put the li
> tags on every line of a multiline selection. Looking at the code in
> wikibits.js for how the custom buttons work, it looks like that isn't
> possible via mwCustomEditButtons, since pulling the selection is done in
>
> function insertTags(tagOpen, tagClose, sampleText) {
You don't need to use insertTags(). Use our own function.
More information about the MediaWiki-l
mailing list