Hi all, Today someone in the office discovered the <pre> tag. I've now been asked if it can be added to the "button bar" that appears at the top of the edit window - the one with the buttons for bold, italics, links etc etc. I wouldn't even know where to start looking for that info or even what the appropriate bits and pieces are called so does anyone know if this can be done?
Any thoughts greatly aprpeciated.
Andrew
Tell that person to start lines that he/she wants within the PRE tag with a space like
THis is normal formatting This is in <PRE> tags So is this, in the same pre tag pair
On 9/21/06, Andrew Lowe andrew.lowe@quantm.net wrote:
Hi all, Today someone in the office discovered the <pre> tag. I've now been asked if it can be added to the "button bar" that appears at the top of the edit window - the one with the buttons for bold, italics, links etc etc. I wouldn't even know where to start looking for that info or even what the appropriate bits and pieces are called so does anyone know if this can be done?
Any thoughts greatly aprpeciated. Andrew
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Take a look at the CharInsert function... it's not exactly what you want but it comes pretty close.
-Justin
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Andrew Lowe Sent: Wednesday, September 20, 2006 10:17 PM To: mediawiki-l@wikimedia.org Subject: [Mediawiki-l] Adding <pre> to the button bar when editing
Hi all, Today someone in the office discovered the <pre> tag. I've now been asked if it can be added to the "button bar" that appears at the top of the edit window - the one with the buttons for bold, italics, links etc etc. I wouldn't even know where to start looking for that info or even what the appropriate bits and pieces are called so does anyone know if this can be done?
Any thoughts greatly aprpeciated.
Andrew
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
PRIVACY NOTICE
This email and any attachments may be confidential and/or privileged. Use of the information contained in this email by anyone other than the intended recipient is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and delete this email.
mediawiki-l@lists.wikimedia.org