Hi
I am trying to create a toolbar button that inserts a color tag on both sides of the sentence
for example: <span color="red">Mary had a little lamb</span>
What I have now is a button that inserts the <span color="change-color"></span>
But it's not suitable for my users :(
What they ask is a button that when you click it opens up a variety of different colors (Color Plate) to choose from and then inserts the tags with the specific color embedded..
I would like to know whether it's possible? Did someone had implemented it in the past and there for has a working example.
Regards Addady
I believe that colors button is available on the extended edit buttons. You should be able to use the code from that or just add all those buttons
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of addady@active.co.il Sent: Monday, October 08, 2007 5:54 To: MediaWiki-l@lists.wikimedia.org Subject: [Mediawiki-l] Color Plate
Hi
I am trying to create a toolbar button that inserts a color tag on both sides of the sentence
for example: <span color="red">Mary had a little lamb</span>
What I have now is a button that inserts the <span color="change-color"></span>
But it's not suitable for my users :(
What they ask is a button that when you click it opens up a variety of different colors (Color Plate) to choose from and then inserts the tags with the specific color embedded..
I would like to know whether it's possible? Did someone had implemented it in the past and there for has a working example.
Regards Addady
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org