first commit
BIN
libraries/framework/vendor/plugins/markitup/sets/default/images/bold.png
vendored
Normal file
|
After Width: | Height: | Size: 304 B |
BIN
libraries/framework/vendor/plugins/markitup/sets/default/images/clean.png
vendored
Normal file
|
After Width: | Height: | Size: 667 B |
BIN
libraries/framework/vendor/plugins/markitup/sets/default/images/image.png
vendored
Normal file
|
After Width: | Height: | Size: 516 B |
BIN
libraries/framework/vendor/plugins/markitup/sets/default/images/italic.png
vendored
Normal file
|
After Width: | Height: | Size: 223 B |
BIN
libraries/framework/vendor/plugins/markitup/sets/default/images/link.png
vendored
Normal file
|
After Width: | Height: | Size: 343 B |
BIN
libraries/framework/vendor/plugins/markitup/sets/default/images/list-bullet.png
vendored
Normal file
|
After Width: | Height: | Size: 344 B |
BIN
libraries/framework/vendor/plugins/markitup/sets/default/images/list-numeric.png
vendored
Normal file
|
After Width: | Height: | Size: 357 B |
BIN
libraries/framework/vendor/plugins/markitup/sets/default/images/picture.png
vendored
Normal file
|
After Width: | Height: | Size: 606 B |
BIN
libraries/framework/vendor/plugins/markitup/sets/default/images/preview.png
vendored
Normal file
|
After Width: | Height: | Size: 537 B |
BIN
libraries/framework/vendor/plugins/markitup/sets/default/images/stroke.png
vendored
Normal file
|
After Width: | Height: | Size: 269 B |
30
libraries/framework/vendor/plugins/markitup/sets/default/set.js
vendored
Normal file
@@ -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'}
|
||||
]
|
||||
}
|
||||
34
libraries/framework/vendor/plugins/markitup/sets/default/style.css
vendored
Normal file
@@ -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);
|
||||
}
|
||||