From 232aa1924c8c0f10d87b210b46c9f061af5c844c Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 17 Oct 2010 13:29:57 +0000 Subject: added files --- .../Public/Js/markitup/sets/bbcode/images/bold.png | Bin 0 -> 304 bytes .../Js/markitup/sets/bbcode/images/clean.png | Bin 0 -> 667 bytes .../Public/Js/markitup/sets/bbcode/images/code.png | Bin 0 -> 859 bytes .../Js/markitup/sets/bbcode/images/fonts.png | Bin 0 -> 567 bytes .../Public/Js/markitup/sets/bbcode/images/h1.png | Bin 0 -> 276 bytes .../Public/Js/markitup/sets/bbcode/images/h2.png | Bin 0 -> 304 bytes .../Public/Js/markitup/sets/bbcode/images/h3.png | Bin 0 -> 306 bytes .../Js/markitup/sets/bbcode/images/italic.png | Bin 0 -> 223 bytes .../Public/Js/markitup/sets/bbcode/images/link.png | Bin 0 -> 343 bytes .../Js/markitup/sets/bbcode/images/list-bullet.png | Bin 0 -> 344 bytes .../Js/markitup/sets/bbcode/images/list-item.png | Bin 0 -> 248 bytes .../markitup/sets/bbcode/images/list-numeric.png | Bin 0 -> 357 bytes .../Js/markitup/sets/bbcode/images/paragraph.png | Bin 0 -> 361 bytes .../Js/markitup/sets/bbcode/images/picture.png | Bin 0 -> 606 bytes .../Js/markitup/sets/bbcode/images/preview.png | Bin 0 -> 537 bytes .../Js/markitup/sets/bbcode/images/quotes.png | Bin 0 -> 743 bytes .../Js/markitup/sets/bbcode/images/stroke.png | Bin 0 -> 269 bytes .../Js/markitup/sets/bbcode/images/underline.png | Bin 0 -> 273 bytes h-source/Public/Js/markitup/sets/bbcode/readme.txt | 11 ++++ h-source/Public/Js/markitup/sets/bbcode/set.js | 32 +++++++++ h-source/Public/Js/markitup/sets/bbcode/style.css | 72 +++++++++++++++++++++ 21 files changed, 115 insertions(+) create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/bold.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/clean.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/code.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/fonts.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/h1.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/h2.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/h3.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/italic.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/link.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/list-bullet.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/list-item.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/list-numeric.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/paragraph.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/picture.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/preview.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/quotes.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/stroke.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/images/underline.png create mode 100644 h-source/Public/Js/markitup/sets/bbcode/readme.txt create mode 100644 h-source/Public/Js/markitup/sets/bbcode/set.js create mode 100644 h-source/Public/Js/markitup/sets/bbcode/style.css (limited to 'h-source/Public/Js/markitup/sets/bbcode') diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/bold.png b/h-source/Public/Js/markitup/sets/bbcode/images/bold.png new file mode 100644 index 0000000..889ae80 Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/bold.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/clean.png b/h-source/Public/Js/markitup/sets/bbcode/images/clean.png new file mode 100644 index 0000000..7e7cefb Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/clean.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/code.png b/h-source/Public/Js/markitup/sets/bbcode/images/code.png new file mode 100644 index 0000000..63fe6ce Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/code.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/fonts.png b/h-source/Public/Js/markitup/sets/bbcode/images/fonts.png new file mode 100644 index 0000000..b7960db Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/fonts.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/h1.png b/h-source/Public/Js/markitup/sets/bbcode/images/h1.png new file mode 100644 index 0000000..9c122e9 Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/h1.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/h2.png b/h-source/Public/Js/markitup/sets/bbcode/images/h2.png new file mode 100644 index 0000000..fbd8765 Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/h2.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/h3.png b/h-source/Public/Js/markitup/sets/bbcode/images/h3.png new file mode 100644 index 0000000..c7836cf Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/h3.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/italic.png b/h-source/Public/Js/markitup/sets/bbcode/images/italic.png new file mode 100644 index 0000000..8482ac8 Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/italic.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/link.png b/h-source/Public/Js/markitup/sets/bbcode/images/link.png new file mode 100644 index 0000000..25eacb7 Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/link.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/list-bullet.png b/h-source/Public/Js/markitup/sets/bbcode/images/list-bullet.png new file mode 100644 index 0000000..4a8672b Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/list-bullet.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/list-item.png b/h-source/Public/Js/markitup/sets/bbcode/images/list-item.png new file mode 100644 index 0000000..8cb4d69 Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/list-item.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/list-numeric.png b/h-source/Public/Js/markitup/sets/bbcode/images/list-numeric.png new file mode 100644 index 0000000..33b0b8d Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/list-numeric.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/paragraph.png b/h-source/Public/Js/markitup/sets/bbcode/images/paragraph.png new file mode 100644 index 0000000..95704fb Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/paragraph.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/picture.png b/h-source/Public/Js/markitup/sets/bbcode/images/picture.png new file mode 100644 index 0000000..4a158fe Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/picture.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/preview.png b/h-source/Public/Js/markitup/sets/bbcode/images/preview.png new file mode 100644 index 0000000..a9925a0 Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/preview.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/quotes.png b/h-source/Public/Js/markitup/sets/bbcode/images/quotes.png new file mode 100644 index 0000000..e54ebeb Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/quotes.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/stroke.png b/h-source/Public/Js/markitup/sets/bbcode/images/stroke.png new file mode 100644 index 0000000..612058a Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/stroke.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/images/underline.png b/h-source/Public/Js/markitup/sets/bbcode/images/underline.png new file mode 100644 index 0000000..90d0df2 Binary files /dev/null and b/h-source/Public/Js/markitup/sets/bbcode/images/underline.png differ diff --git a/h-source/Public/Js/markitup/sets/bbcode/readme.txt b/h-source/Public/Js/markitup/sets/bbcode/readme.txt new file mode 100644 index 0000000..745d5dd --- /dev/null +++ b/h-source/Public/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/h-source/Public/Js/markitup/sets/bbcode/set.js b/h-source/Public/Js/markitup/sets/bbcode/set.js new file mode 100644 index 0000000..3d16ea5 --- /dev/null +++ b/h-source/Public/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/h-source/Public/Js/markitup/sets/bbcode/style.css b/h-source/Public/Js/markitup/sets/bbcode/style.css new file mode 100644 index 0000000..4ab6031 --- /dev/null +++ b/h-source/Public/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 -- cgit v1.2.3