diff options
Diffstat (limited to '97suifangqa/staticfiles/markitup/sets/default')
12 files changed, 64 insertions, 0 deletions
diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/bold.png b/97suifangqa/staticfiles/markitup/sets/default/images/bold.png Binary files differnew file mode 100644 index 0000000..889ae80 --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/images/bold.png diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/clean.png b/97suifangqa/staticfiles/markitup/sets/default/images/clean.png Binary files differnew file mode 100644 index 0000000..7e7cefb --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/images/clean.png diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/image.png b/97suifangqa/staticfiles/markitup/sets/default/images/image.png Binary files differnew file mode 100644 index 0000000..fc3c393 --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/images/image.png diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/italic.png b/97suifangqa/staticfiles/markitup/sets/default/images/italic.png Binary files differnew file mode 100644 index 0000000..8482ac8 --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/images/italic.png diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/link.png b/97suifangqa/staticfiles/markitup/sets/default/images/link.png Binary files differnew file mode 100644 index 0000000..25eacb7 --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/images/link.png diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/list-bullet.png b/97suifangqa/staticfiles/markitup/sets/default/images/list-bullet.png Binary files differnew file mode 100644 index 0000000..4a8672b --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/images/list-bullet.png diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/list-numeric.png b/97suifangqa/staticfiles/markitup/sets/default/images/list-numeric.png Binary files differnew file mode 100644 index 0000000..33b0b8d --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/images/list-numeric.png diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/picture.png b/97suifangqa/staticfiles/markitup/sets/default/images/picture.png Binary files differnew file mode 100644 index 0000000..4a158fe --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/images/picture.png diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/preview.png b/97suifangqa/staticfiles/markitup/sets/default/images/preview.png Binary files differnew file mode 100644 index 0000000..a9925a0 --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/images/preview.png diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/stroke.png b/97suifangqa/staticfiles/markitup/sets/default/images/stroke.png Binary files differnew file mode 100644 index 0000000..612058a --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/images/stroke.png diff --git a/97suifangqa/staticfiles/markitup/sets/default/set.js b/97suifangqa/staticfiles/markitup/sets/default/set.js new file mode 100644 index 0000000..b7fdf81 --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/set.js @@ -0,0 +1,30 @@ +// ---------------------------------------------------------------------------- +// markItUp! +// ---------------------------------------------------------------------------- +// Copyright (C) 2011 Jay Salvat +// http://markitup.jaysalvat.com/ +// ---------------------------------------------------------------------------- +// Html tags +// http://en.wikipedia.org/wiki/html +// ---------------------------------------------------------------------------- +// Basic set. Feel free to add more tags +// ---------------------------------------------------------------------------- +var mySettings = { + onShiftEnter: {keepDefault:false, replaceWith:'<br />\n'}, + onCtrlEnter: {keepDefault:false, openWith:'\n<p>', closeWith:'</p>'}, + onTab: {keepDefault:false, replaceWith:' '}, + markupSet: [ + {name:'Bold', key:'B', openWith:'(!(<strong>|!|<b>)!)', closeWith:'(!(</strong>|!|</b>)!)' }, + {name:'Italic', key:'I', openWith:'(!(<em>|!|<i>)!)', closeWith:'(!(</em>|!|</i>)!)' }, + {name:'Stroke through', key:'S', openWith:'<del>', closeWith:'</del>' }, + {separator:'---------------' }, + {name:'Bulleted List', openWith:' <li>', closeWith:'</li>', multiline:true, openBlockWith:'<ul>\n', closeBlockWith:'\n</ul>'}, + {name:'Numeric List', openWith:' <li>', closeWith:'</li>', multiline:true, openBlockWith:'<ol>\n', closeBlockWith:'\n</ol>'}, + {separator:'---------------' }, + {name:'Picture', key:'P', replaceWith:'<img src="[![Source:!:http://]!]" alt="[![Alternative text]!]" />' }, + {name:'Link', key:'L', openWith:'<a href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:'Your text to link...' }, + {separator:'---------------' }, + {name:'Clean', className:'clean', replaceWith:function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } }, + {name:'Preview', className:'preview', call:'preview'} + ] +} diff --git a/97suifangqa/staticfiles/markitup/sets/default/style.css b/97suifangqa/staticfiles/markitup/sets/default/style.css new file mode 100644 index 0000000..336b60e --- /dev/null +++ b/97suifangqa/staticfiles/markitup/sets/default/style.css @@ -0,0 +1,34 @@ +/* ------------------------------------------------------------------- +// markItUp! +// By Jay Salvat - http://markitup.jaysalvat.com/ +// ------------------------------------------------------------------*/ +.markItUp .markItUpButton1 a { + background-image:url(images/bold.png); +} +.markItUp .markItUpButton2 a { + background-image:url(images/italic.png); +} +.markItUp .markItUpButton3 a { + background-image:url(images/stroke.png); +} + +.markItUp .markItUpButton4 a { + background-image:url(images/list-bullet.png); +} +.markItUp .markItUpButton5 a { + background-image:url(images/list-numeric.png); +} + +.markItUp .markItUpButton6 a { + background-image:url(images/picture.png); +} +.markItUp .markItUpButton7 a { + background-image:url(images/link.png); +} + +.markItUp .markItUpButton8 a { + background-image:url(images/clean.png); +} +.markItUp .preview a { + background-image:url(images/preview.png); +} |