From 07f5140771388c9e0c8a99b0dd2e5d950bdb173b Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 14 Oct 2021 15:16:42 +1100 Subject: moving h-source subdir out. --- Js/markitup/sets/bbcode/images/bold.png | Bin 0 -> 304 bytes Js/markitup/sets/bbcode/images/clean.png | Bin 0 -> 667 bytes Js/markitup/sets/bbcode/images/code.png | Bin 0 -> 859 bytes Js/markitup/sets/bbcode/images/fonts.png | Bin 0 -> 567 bytes Js/markitup/sets/bbcode/images/h1.png | Bin 0 -> 276 bytes Js/markitup/sets/bbcode/images/h2.png | Bin 0 -> 304 bytes Js/markitup/sets/bbcode/images/h3.png | Bin 0 -> 306 bytes Js/markitup/sets/bbcode/images/italic.png | Bin 0 -> 223 bytes 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 Js/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 Js/markitup/sets/bbcode/readme.txt | 11 ++++ Js/markitup/sets/bbcode/set.js | 32 +++++++++++ Js/markitup/sets/bbcode/style.css | 72 ++++++++++++++++++++++++ 21 files changed, 115 insertions(+) create mode 100644 Js/markitup/sets/bbcode/images/bold.png create mode 100644 Js/markitup/sets/bbcode/images/clean.png create mode 100644 Js/markitup/sets/bbcode/images/code.png create mode 100644 Js/markitup/sets/bbcode/images/fonts.png create mode 100644 Js/markitup/sets/bbcode/images/h1.png create mode 100644 Js/markitup/sets/bbcode/images/h2.png create mode 100644 Js/markitup/sets/bbcode/images/h3.png create mode 100644 Js/markitup/sets/bbcode/images/italic.png create mode 100644 Js/markitup/sets/bbcode/images/link.png create mode 100644 Js/markitup/sets/bbcode/images/list-bullet.png create mode 100644 Js/markitup/sets/bbcode/images/list-item.png create mode 100644 Js/markitup/sets/bbcode/images/list-numeric.png create mode 100644 Js/markitup/sets/bbcode/images/paragraph.png create mode 100644 Js/markitup/sets/bbcode/images/picture.png create mode 100644 Js/markitup/sets/bbcode/images/preview.png create mode 100644 Js/markitup/sets/bbcode/images/quotes.png create mode 100644 Js/markitup/sets/bbcode/images/stroke.png create mode 100644 Js/markitup/sets/bbcode/images/underline.png create mode 100644 Js/markitup/sets/bbcode/readme.txt create mode 100644 Js/markitup/sets/bbcode/set.js create mode 100644 Js/markitup/sets/bbcode/style.css (limited to 'Js/markitup/sets/bbcode') 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/bold.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/clean.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/code.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/fonts.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/h1.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/h2.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/h3.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/italic.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/link.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/list-bullet.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/list-item.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/list-numeric.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/paragraph.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/picture.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/preview.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/quotes.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/stroke.png 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 Binary files /dev/null and b/Js/markitup/sets/bbcode/images/underline.png 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 -- cgit v1.2.3