guieditor/editor.js
changeset 3 1e6929f9978b
parent 2 307591683f3b
child 5 28ef73d2e7e8
--- a/guieditor/editor.js	Thu Oct 28 02:59:36 2010 -0400
+++ b/guieditor/editor.js	Thu Oct 28 03:03:23 2010 -0400
@@ -15,7 +15,7 @@
 	
 	toolbar += head.run();
 	
-	var buttons = ['heading', '|', 'bold*', 'italic*', 'underline*', '|', 'intlink', 'extlink', 'image', 'table', '|', 'ulist*', 'olist*'];
+	var buttons = ['heading', '|', 'bold*', 'italic*', 'underline*', '|', 'intlink', 'extlink', 'image*', 'table*', '|', 'ulist*', 'olist*', '|', 'signature'];
 	
 	// Button: Bold
 	var i;
@@ -300,7 +300,9 @@
 		case 'olist':
 			guied_replace_selection(textarea, $lang.get('guied_sample_olist'));
 			break;
-		
+		case 'signature':
+			guied_replace_selection(textarea, '~~~~');
+			break;
 	}
 }