From 9636d4a6767f49384d5c386bc3f1142c88b90613 Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Tue, 13 Aug 2013 14:13:24 +0800 Subject: cloned from 'bitbucket', 2013/08/13 --- .../markitup/sets/default/images/bold.png | Bin 0 -> 304 bytes .../markitup/sets/default/images/clean.png | Bin 0 -> 667 bytes .../markitup/sets/default/images/image.png | Bin 0 -> 516 bytes .../markitup/sets/default/images/italic.png | Bin 0 -> 223 bytes .../markitup/sets/default/images/link.png | Bin 0 -> 343 bytes .../markitup/sets/default/images/list-bullet.png | Bin 0 -> 344 bytes .../markitup/sets/default/images/list-numeric.png | Bin 0 -> 357 bytes .../markitup/sets/default/images/picture.png | Bin 0 -> 606 bytes .../markitup/sets/default/images/preview.png | Bin 0 -> 537 bytes .../markitup/sets/default/images/stroke.png | Bin 0 -> 269 bytes .../staticfiles/markitup/sets/default/set.js | 30 ++++++++++++++++++ .../staticfiles/markitup/sets/default/style.css | 34 +++++++++++++++++++++ 12 files changed, 64 insertions(+) create mode 100644 97suifangqa/staticfiles/markitup/sets/default/images/bold.png create mode 100644 97suifangqa/staticfiles/markitup/sets/default/images/clean.png create mode 100644 97suifangqa/staticfiles/markitup/sets/default/images/image.png create mode 100644 97suifangqa/staticfiles/markitup/sets/default/images/italic.png create mode 100644 97suifangqa/staticfiles/markitup/sets/default/images/link.png create mode 100644 97suifangqa/staticfiles/markitup/sets/default/images/list-bullet.png create mode 100644 97suifangqa/staticfiles/markitup/sets/default/images/list-numeric.png create mode 100644 97suifangqa/staticfiles/markitup/sets/default/images/picture.png create mode 100644 97suifangqa/staticfiles/markitup/sets/default/images/preview.png create mode 100644 97suifangqa/staticfiles/markitup/sets/default/images/stroke.png create mode 100644 97suifangqa/staticfiles/markitup/sets/default/set.js create mode 100644 97suifangqa/staticfiles/markitup/sets/default/style.css (limited to '97suifangqa/staticfiles/markitup/sets/default') diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/bold.png b/97suifangqa/staticfiles/markitup/sets/default/images/bold.png new file mode 100644 index 0000000..889ae80 Binary files /dev/null and b/97suifangqa/staticfiles/markitup/sets/default/images/bold.png differ diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/clean.png b/97suifangqa/staticfiles/markitup/sets/default/images/clean.png new file mode 100644 index 0000000..7e7cefb Binary files /dev/null and b/97suifangqa/staticfiles/markitup/sets/default/images/clean.png differ diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/image.png b/97suifangqa/staticfiles/markitup/sets/default/images/image.png new file mode 100644 index 0000000..fc3c393 Binary files /dev/null and b/97suifangqa/staticfiles/markitup/sets/default/images/image.png differ diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/italic.png b/97suifangqa/staticfiles/markitup/sets/default/images/italic.png new file mode 100644 index 0000000..8482ac8 Binary files /dev/null and b/97suifangqa/staticfiles/markitup/sets/default/images/italic.png differ diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/link.png b/97suifangqa/staticfiles/markitup/sets/default/images/link.png new file mode 100644 index 0000000..25eacb7 Binary files /dev/null and b/97suifangqa/staticfiles/markitup/sets/default/images/link.png differ diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/list-bullet.png b/97suifangqa/staticfiles/markitup/sets/default/images/list-bullet.png new file mode 100644 index 0000000..4a8672b Binary files /dev/null and b/97suifangqa/staticfiles/markitup/sets/default/images/list-bullet.png differ diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/list-numeric.png b/97suifangqa/staticfiles/markitup/sets/default/images/list-numeric.png new file mode 100644 index 0000000..33b0b8d Binary files /dev/null and b/97suifangqa/staticfiles/markitup/sets/default/images/list-numeric.png differ diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/picture.png b/97suifangqa/staticfiles/markitup/sets/default/images/picture.png new file mode 100644 index 0000000..4a158fe Binary files /dev/null and b/97suifangqa/staticfiles/markitup/sets/default/images/picture.png differ diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/preview.png b/97suifangqa/staticfiles/markitup/sets/default/images/preview.png new file mode 100644 index 0000000..a9925a0 Binary files /dev/null and b/97suifangqa/staticfiles/markitup/sets/default/images/preview.png differ diff --git a/97suifangqa/staticfiles/markitup/sets/default/images/stroke.png b/97suifangqa/staticfiles/markitup/sets/default/images/stroke.png new file mode 100644 index 0000000..612058a Binary files /dev/null and b/97suifangqa/staticfiles/markitup/sets/default/images/stroke.png differ 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:'
\n'}, + onCtrlEnter: {keepDefault:false, openWith:'\n

', closeWith:'

'}, + onTab: {keepDefault:false, replaceWith:' '}, + markupSet: [ + {name:'Bold', key:'B', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, + {name:'Italic', key:'I', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, + {name:'Stroke through', key:'S', openWith:'', closeWith:'' }, + {separator:'---------------' }, + {name:'Bulleted List', openWith:'
  • ', closeWith:'
  • ', multiline:true, openBlockWith:''}, + {name:'Numeric List', openWith:'
  • ', closeWith:'
  • ', multiline:true, openBlockWith:'
      \n', closeBlockWith:'\n
    '}, + {separator:'---------------' }, + {name:'Picture', key:'P', replaceWith:'[![Alternative text]!]' }, + {name:'Link', key:'L', openWith:'', closeWith:'', 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); +} -- cgit v1.2.2