vendor/assets/javascripts/markitup/sets/textile/set.js in markitup-rails-1.1.2 vs vendor/assets/javascripts/markitup/sets/textile/set.js in markitup-rails-1.1.3
- old
+ new
@@ -8,10 +8,10 @@
// http://en.wikipedia.org/wiki/Textile_(markup_language)
// http://www.textism.com/
// -------------------------------------------------------------------
// Feel free to add more tags
// -------------------------------------------------------------------
-mySettings = {
+mySettings = textileSettings = {
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...' },
\ No newline at end of file