Finally done with this editor style

This commit is contained in:
Eston Bond
2010-11-04 13:32:22 -07:00
parent b03d361f0e
commit c9870fb6cb
8 changed files with 69 additions and 20 deletions
+3 -5
View File
@@ -74,20 +74,18 @@ var MarkDown = {
'function-link' : {
exec: function( txt, selText, $field ) {
var results = null;
$.GollumEditor.Dialog({
$.GollumEditor.Dialog.init({
title: 'Insert Link',
fields: [
{
id: 'text',
name: 'Link Text',
type: 'text',
help: 'The text to display to the user.'
type: 'text'
},
{
id: 'href',
name: 'URL',
type: 'text',
help: 'The URL to link to.'
type: 'text'
}
],
OK: function( res ) {