2011-02-24 16:25:42

MattD
Plugin Author
sigma
Real name: Matt Davis
From: Monterey, California
Website

Re: Really easy write tab textile plugin based off Janko's jQuery demo

Out of the box it supports *strong*, __italic__ and h1. heading. You can add additional options by editing the “Add More Buttons” Block at the beginning of the plugin code.

#Add more! Button Name		array( "tag" => "button",
#	   Inserted before		"start" => "before",
#	   Inserted after		"end" => "after"
#					)			

For +inserted text+ you’d put add to $msd_menu_items like this:

$msd_menu_items =  array(	array( "tag" => "b",
					"start" => "*",
					"end" => "*"
					),

				array( "tag" => "i",
					"start" => "_",
					"end" => "_"
					),

				array( "tag" => "h1",
					"start" => "h1. ",
					"end" => ""
					),
				array( "tag" => "u",
					"start" => "+",
					"end" => "+"
					)

Last edited by MattD (2011-02-24 16:28:12)


My Plugins

In a way, each of us has an El Guapo to face. -Lucky Day (Three Amigos)

Offline

 

2011-02-24 17:25:06

Depot 1
Member
beta
Real name: Snorre
From: Copenhagen
Website

Re: Really easy write tab textile plugin based off Janko's jQuery demo

Thanks Matt,
it works perfectly!

Offline

 

2011-02-24 17:59:14

MattD
Plugin Author
sigma
Real name: Matt Davis
From: Monterey, California
Website

Re: Really easy write tab textile plugin based off Janko's jQuery demo


My Plugins

In a way, each of us has an El Guapo to face. -Lucky Day (Three Amigos)

Offline

 

Powered by FluxBB