Well well. We have a functional editor. Now some CSS.

This commit is contained in:
Eston Bond
2010-11-03 16:52:14 -07:00
parent 4f166dc144
commit ff4fc6f708
4 changed files with 27 additions and 2 deletions
@@ -56,6 +56,21 @@ var MarkDown = {
replace: "> $1$2"
},
'function-h1' : {
search: /(.+)([\n]?)/gi,
replace: "# $1$2"
},
'function-h2' : {
search: /(.+)([\n]?)/gi,
replace: "## $1$2"
},
'function-h3' : {
search: /(.+)([\n]?)/gi,
replace: "### $1$2"
},
'function-link' : {
exec: function( txt, selText, $field ) {
var results = null;