aboutsummaryrefslogtreecommitdiff
path: root/Js/markitup/sets/bbcode
diff options
context:
space:
mode:
Diffstat (limited to 'Js/markitup/sets/bbcode')
-rw-r--r--Js/markitup/sets/bbcode/images/bold.pngbin0 -> 304 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/clean.pngbin0 -> 667 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/code.pngbin0 -> 859 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/fonts.pngbin0 -> 567 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/h1.pngbin0 -> 276 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/h2.pngbin0 -> 304 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/h3.pngbin0 -> 306 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/italic.pngbin0 -> 223 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/link.pngbin0 -> 343 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/list-bullet.pngbin0 -> 344 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/list-item.pngbin0 -> 248 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/list-numeric.pngbin0 -> 357 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/paragraph.pngbin0 -> 361 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/picture.pngbin0 -> 606 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/preview.pngbin0 -> 537 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/quotes.pngbin0 -> 743 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/stroke.pngbin0 -> 269 bytes
-rw-r--r--Js/markitup/sets/bbcode/images/underline.pngbin0 -> 273 bytes
-rw-r--r--Js/markitup/sets/bbcode/readme.txt11
-rw-r--r--Js/markitup/sets/bbcode/set.js32
-rw-r--r--Js/markitup/sets/bbcode/style.css72
21 files changed, 115 insertions, 0 deletions
diff --git a/Js/markitup/sets/bbcode/images/bold.png b/Js/markitup/sets/bbcode/images/bold.png
new file mode 100644
index 0000000..889ae80
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/bold.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/clean.png b/Js/markitup/sets/bbcode/images/clean.png
new file mode 100644
index 0000000..7e7cefb
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/clean.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/code.png b/Js/markitup/sets/bbcode/images/code.png
new file mode 100644
index 0000000..63fe6ce
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/code.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/fonts.png b/Js/markitup/sets/bbcode/images/fonts.png
new file mode 100644
index 0000000..b7960db
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/fonts.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/h1.png b/Js/markitup/sets/bbcode/images/h1.png
new file mode 100644
index 0000000..9c122e9
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/h1.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/h2.png b/Js/markitup/sets/bbcode/images/h2.png
new file mode 100644
index 0000000..fbd8765
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/h2.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/h3.png b/Js/markitup/sets/bbcode/images/h3.png
new file mode 100644
index 0000000..c7836cf
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/h3.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/italic.png b/Js/markitup/sets/bbcode/images/italic.png
new file mode 100644
index 0000000..8482ac8
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/italic.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/link.png b/Js/markitup/sets/bbcode/images/link.png
new file mode 100644
index 0000000..25eacb7
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/link.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/list-bullet.png b/Js/markitup/sets/bbcode/images/list-bullet.png
new file mode 100644
index 0000000..4a8672b
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/list-bullet.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/list-item.png b/Js/markitup/sets/bbcode/images/list-item.png
new file mode 100644
index 0000000..8cb4d69
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/list-item.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/list-numeric.png b/Js/markitup/sets/bbcode/images/list-numeric.png
new file mode 100644
index 0000000..33b0b8d
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/list-numeric.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/paragraph.png b/Js/markitup/sets/bbcode/images/paragraph.png
new file mode 100644
index 0000000..95704fb
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/paragraph.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/picture.png b/Js/markitup/sets/bbcode/images/picture.png
new file mode 100644
index 0000000..4a158fe
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/picture.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/preview.png b/Js/markitup/sets/bbcode/images/preview.png
new file mode 100644
index 0000000..a9925a0
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/preview.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/quotes.png b/Js/markitup/sets/bbcode/images/quotes.png
new file mode 100644
index 0000000..e54ebeb
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/quotes.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/stroke.png b/Js/markitup/sets/bbcode/images/stroke.png
new file mode 100644
index 0000000..612058a
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/stroke.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/images/underline.png b/Js/markitup/sets/bbcode/images/underline.png
new file mode 100644
index 0000000..90d0df2
--- /dev/null
+++ b/Js/markitup/sets/bbcode/images/underline.png
Binary files differ
diff --git a/Js/markitup/sets/bbcode/readme.txt b/Js/markitup/sets/bbcode/readme.txt
new file mode 100644
index 0000000..745d5dd
--- /dev/null
+++ b/Js/markitup/sets/bbcode/readme.txt
@@ -0,0 +1,11 @@
+Markup language:
+BBCode
+
+Description:
+A basic BBCode markup set with Bold, Italic, Underline, Picture, Link, Size, List, Quotes, Code, Clean button, Preview button.
+
+Install:
+- Download the zip file
+- Unzip it in your markItUp! sets folder
+- Modify your JS link to point at this set.js
+- Modify your CSS link to point at this style.css \ No newline at end of file
diff --git a/Js/markitup/sets/bbcode/set.js b/Js/markitup/sets/bbcode/set.js
new file mode 100644
index 0000000..3d16ea5
--- /dev/null
+++ b/Js/markitup/sets/bbcode/set.js
@@ -0,0 +1,32 @@
+// ----------------------------------------------------------------------------
+// markItUp!
+// ----------------------------------------------------------------------------
+// Copyright (C) 2008 Jay Salvat
+// http://markitup.jaysalvat.com/
+// ----------------------------------------------------------------------------
+// BBCode tags example
+// http://en.wikipedia.org/wiki/Bbcode
+// ----------------------------------------------------------------------------
+// Feel free to add more tags
+// ----------------------------------------------------------------------------
+mySettings = {
+ previewParserPath: '', // path to your BBCode parser
+ markupSet: [
+ {name:'Heading 1', key:'1', openWith:'[h1]', closeWith:'[/h1]' },
+ {name:'Heading 2', key:'2', openWith:'[h2]', closeWith:'[/h2]' },
+ {name:'Heading 3', key:'3', openWith:'[h3]', closeWith:'[/h3]' },
+ {name:'Paragraph', openWith:'[p]', closeWith:'[/p]' },
+ {separator:'---------------' },
+ {name:'Bold', key:'B', openWith:'[b]', closeWith:'[/b]'},
+ {name:'Italic', key:'I', openWith:'[i]', closeWith:'[/i]'},
+ {name:'Underline', key:'U', openWith:'[u]', closeWith:'[/u]'},
+ {name:'Stroke through', key:'S', openWith:'[del]', closeWith:'[/del]' },
+ {separator:'---------------' },
+ {name:'Bulleted list', openWith:'[list]\n', closeWith:'\n[/list]'},
+ {name:'Numeric list', openWith:'[enum]\n', closeWith:'\n[/enum]'},
+ {name:'List item', openWith:'[*] ', closeWith:'[/*]'},
+ {separator:'---------------' },
+ {name:'Code', openWith:'[code]', closeWith:'[/code]'},
+ {name:'Link', key: 'L', openWith:'[a]', closeWith:'[/a]',placeHolder:'http://the_url | the_text'},
+ ]
+} \ No newline at end of file
diff --git a/Js/markitup/sets/bbcode/style.css b/Js/markitup/sets/bbcode/style.css
new file mode 100644
index 0000000..4ab6031
--- /dev/null
+++ b/Js/markitup/sets/bbcode/style.css
@@ -0,0 +1,72 @@
+/* -------------------------------------------------------------------
+// markItUp!
+// By Jay Salvat - http://markitup.jaysalvat.com/
+// ------------------------------------------------------------------*/
+.markItUp .markItUpButton1 a {
+ background-image:url(images/h1.png);
+}
+.markItUp .markItUpButton2 a {
+ background-image:url(images/h2.png);
+}
+.markItUp .markItUpButton3 a {
+ background-image:url(images/h3.png);
+}
+.markItUp .markItUpButton4 a {
+ background-image:url(images/paragraph.png);
+}
+.markItUp .markItUpButton5 a {
+ background-image:url(images/bold.png);
+}
+.markItUp .markItUpButton6 a {
+ background-image:url(images/italic.png);
+}
+.markItUp .markItUpButton7 a {
+ background-image:url(images/underline.png);
+}
+.markItUp .markItUpButton8 a {
+ background-image:url(images/stroke.png);
+}
+.markItUp .markItUpButton9 a {
+ background-image:url(images/list-bullet.png);
+}
+.markItUp .markItUpButton10 a {
+ background-image:url(images/list-numeric.png);
+}
+.markItUp .markItUpButton11 a {
+ background-image:url(images/list-item.png);
+}
+.markItUp .markItUpButton12 a {
+ background-image:url(images/code.png);
+}
+.markItUp .markItUpButton13 a {
+ background-image:url(images/link.png);
+}
+/*.markItUp .markItUpButton4 a {
+ background-image:url(images/stroke.png);
+}*/
+
+/*.markItUp .markItUpButton4 a {
+ background-image:url(images/picture.png);
+}*/
+/*.markItUp .markItUpButton5 a {
+ background-image:url(images/link.png);
+}
+
+.markItUp .markItUpButton6 a {
+ background-image:url(images/fonts.png);
+}
+
+
+.markItUp .markItUpButton10 a {
+ background-image:url(images/quotes.png);
+}
+.markItUp .markItUpButton11 a {
+ background-image:url(images/code.png);
+}
+
+.markItUp .clean a {
+ background-image:url(images/clean.png);
+}
+.markItUp .preview a {
+ background-image:url(images/preview.png);
+}*/ \ No newline at end of file