diff --git a/templates/framework/js/livestreet/settings.js b/templates/framework/js/livestreet/settings.js index d068b10a..8035a384 100644 --- a/templates/framework/js/livestreet/settings.js +++ b/templates/framework/js/livestreet/settings.js @@ -20,7 +20,7 @@ ls.settings = (function ($) { {name: ls.lang.get('panel_s'), className:'editor-stroke', key:'S', openWith:'', closeWith:'' }, {name: ls.lang.get('panel_u'), className:'editor-underline', key:'U', openWith:'', closeWith:'' }, {name: ls.lang.get('panel_quote'), className:'editor-quote', key:'Q', replaceWith: function(m) { if (m.selectionOuter) return '
'+m.selectionOuter+'
'; else if (m.selection) return '
'+m.selection+'
'; else return '
' } }, - {name: ls.lang.get('panel_code'), className:'editor-code', openWith:'', closeWith:'' }, + {name: ls.lang.get('panel_code'), className:'editor-code', openWith:'<(!(code|!|codeline)!)>', closeWith:'' }, {separator:'---------------' }, {name: ls.lang.get('panel_list'), className:'editor-ul', openWith:'
  • ', closeWith:'
  • ', multiline: true, openBlockWith:'' }, {name: ls.lang.get('panel_list'), className:'editor-ol', openWith:'
  • ', closeWith:'
  • ', multiline: true, openBlockWith:'
      \n', closeBlockWith:'\n
    ' }, @@ -48,7 +48,7 @@ ls.settings = (function ($) { {name: ls.lang.get('panel_u'), className:'editor-underline', key:'U', openWith:'', closeWith:'' }, {separator:'---------------' }, {name: ls.lang.get('panel_quote'), className:'editor-quote', key:'Q', replaceWith: function(m) { if (m.selectionOuter) return '
    '+m.selectionOuter+'
    '; else if (m.selection) return '
    '+m.selection+'
    '; else return '
    ' } }, - {name: ls.lang.get('panel_code'), className:'editor-code', openWith:'', closeWith:'' }, + {name: ls.lang.get('panel_code'), className:'editor-code', openWith:'<(!(code|!|codeline)!)>', closeWith:'' }, {name: ls.lang.get('panel_image'), className:'editor-picture', key:'P', beforeInsert: function(h) { jQuery('#window_upload_img').jqmShow(); } }, {name: ls.lang.get('panel_url'), className:'editor-link', key:'L', openWith:'', closeWith:'', placeHolder:'Your text to link...' }, {name: ls.lang.get('panel_user'), className:'editor-user', replaceWith:'' },