aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/staticfiles/markitup/sets/default
diff options
context:
space:
mode:
Diffstat (limited to '97suifangqa/staticfiles/markitup/sets/default')
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/images/bold.pngbin0 -> 304 bytes
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/images/clean.pngbin0 -> 667 bytes
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/images/image.pngbin0 -> 516 bytes
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/images/italic.pngbin0 -> 223 bytes
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/images/link.pngbin0 -> 343 bytes
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/images/list-bullet.pngbin0 -> 344 bytes
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/images/list-numeric.pngbin0 -> 357 bytes
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/images/picture.pngbin0 -> 606 bytes
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/images/preview.pngbin0 -> 537 bytes
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/images/stroke.pngbin0 -> 269 bytes
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/set.js30
-rw-r--r--97suifangqa/staticfiles/markitup/sets/default/style.css34
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
new file mode 100644
index 0000000..889ae80
--- /dev/null
+++ b/97suifangqa/staticfiles/markitup/sets/default/images/bold.png
Binary files 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
--- /dev/null
+++ b/97suifangqa/staticfiles/markitup/sets/default/images/clean.png
Binary files 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
--- /dev/null
+++ b/97suifangqa/staticfiles/markitup/sets/default/images/image.png
Binary files 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
--- /dev/null
+++ b/97suifangqa/staticfiles/markitup/sets/default/images/italic.png
Binary files 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
--- /dev/null
+++ b/97suifangqa/staticfiles/markitup/sets/default/images/link.png
Binary files 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
--- /dev/null
+++ b/97suifangqa/staticfiles/markitup/sets/default/images/list-bullet.png
Binary files 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
--- /dev/null
+++ b/97suifangqa/staticfiles/markitup/sets/default/images/list-numeric.png
Binary files 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
--- /dev/null
+++ b/97suifangqa/staticfiles/markitup/sets/default/images/picture.png
Binary files 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
--- /dev/null
+++ b/97suifangqa/staticfiles/markitup/sets/default/images/preview.png
Binary files 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
--- /dev/null
+++ b/97suifangqa/staticfiles/markitup/sets/default/images/stroke.png
Binary files 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:'<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);
+}