vendor/assets/javascripts/markitup/sets/html/set.js in markitup-rails-1.1.2 vs vendor/assets/javascripts/markitup/sets/html/set.js in markitup-rails-1.1.3
- old
+ new
@@ -7,10 +7,10 @@
// Html tags
// http://en.wikipedia.org/wiki/html
// ----------------------------------------------------------------------------
// Basic set. Feel free to add more tags
// ----------------------------------------------------------------------------
-mySettings = {
+mySettings = htmlSettings = {
onShiftEnter: {keepDefault:false, replaceWith:'<br />\n'},
onCtrlEnter: {keepDefault:false, openWith:'\n<p>', closeWith:'</p>\n'},
onTab: {keepDefault:false, openWith:' '},
markupSet: [
{name:'Heading 1', key:'1', openWith:'<h1(!( class="[![Class]!]")!)>', closeWith:'</h1>', placeHolder:'Your title here...' },
\ No newline at end of file