vendor/assets/javascripts/markitup/sets/textile/set.js in markitup-rails-1.1.1 vs vendor/assets/javascripts/markitup/sets/textile/set.js in markitup-rails-1.1.2
- old
+ new
@@ -9,10 +9,10 @@
// http://www.textism.com/
// -------------------------------------------------------------------
// Feel free to add more tags
// -------------------------------------------------------------------
mySettings = {
- previewParserPath: '', // path to your Textile parser
+ previewParserPath: "/markitup/preview",
onShiftEnter: {keepDefault:false, replaceWith:'\n\n'},
markupSet: [
{name:'Heading 1', key:'1', openWith:'h1(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
{name:'Heading 2', key:'2', openWith:'h2(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
{name:'Heading 3', key:'3', openWith:'h3(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
\ No newline at end of file