Fix the old markitup simple editor
|
After Width: | Height: | Size: 304 B |
|
After Width: | Height: | Size: 667 B |
|
After Width: | Height: | Size: 859 B |
|
After Width: | Height: | Size: 567 B |
|
After Width: | Height: | Size: 276 B |
|
After Width: | Height: | Size: 304 B |
|
After Width: | Height: | Size: 306 B |
|
After Width: | Height: | Size: 293 B |
|
After Width: | Height: | Size: 304 B |
|
After Width: | Height: | Size: 310 B |
|
After Width: | Height: | Size: 516 B |
|
After Width: | Height: | Size: 223 B |
|
After Width: | Height: | Size: 343 B |
|
After Width: | Height: | Size: 344 B |
|
After Width: | Height: | Size: 248 B |
|
After Width: | Height: | Size: 357 B |
|
After Width: | Height: | Size: 650 B |
|
After Width: | Height: | Size: 361 B |
|
After Width: | Height: | Size: 606 B |
|
After Width: | Height: | Size: 537 B |
|
After Width: | Height: | Size: 743 B |
|
After Width: | Height: | Size: 269 B |
|
After Width: | Height: | Size: 273 B |
|
After Width: | Height: | Size: 957 B |
|
|
@ -0,0 +1 @@
|
|||
my_html={nameSpace:"my_html",onShiftEnter:{keepDefault:!1,replaceWith:"<br />\n"},onCtrlEnter:{keepDefault:!1,openWith:"\n<p>",closeWith:"</p>\n"},onTab:{keepDefault:!1,openWith:"\t "},markupSet:[{name:"Paragraph",openWith:'<p(!( class="[![Class]!]")!)>',closeWith:"</p>"},{separator:"---------------"},{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:"Ul",openWith:"<ul>\n",closeWith:"</ul>\n"},{name:"Ol",openWith:"<ol>\n",closeWith:"</ol>\n"},{name:"Li",openWith:"<li>",closeWith:"</li>"},{separator:"---------------"},{name:"Link",key:"L",openWith:'<a href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>',closeWith:"</a>",placeHolder:"Your text to link..."},{separator:"---------------"},{name:"Quote block",openWith:"<blockquote>\n",closeWith:"</blockquote>\n"},{name:"Code block",openWith:"<code>\n",closeWith:"</code>\n"},{separator:"---------------"},{name:"Clean",replaceWith:function(e){return e.selection.replace(/<(.*?)>/g,"")}}]};
|
||||
|
|
@ -0,0 +1 @@
|
|||
.markItUpButton1 a{background-image:url(images/paragraph.png)}.markItUpButton2 a{background-image:url(images/bold.png)}.markItUpButton3 a{background-image:url(images/italic.png)}.markItUpButton4 a{background-image:url(images/stroke.png)}.markItUpButton5 a{background-image:url(images/list-bullet.png)}.markItUpButton6 a{background-image:url(images/list-numeric.png)}.markItUpButton7 a{background-image:url(images/list-item.png)}.markItUpButton8 a{background-image:url(images/link.png)}.markItUpButton9 a{background-image:url(images/quotes.png)}.markItUpButton10 a{background-image:url(images/code.png)}.markItUpButton11 a{background-image:url(images/clean.png)}
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
bkLib.onDomLoaded(nicEditors.allTextAreas);
|
||||
</script>
|
||||
{else}
|
||||
<script type="text/javascript" src="{conf.urlSorbet}/admin/scripts/markitup/jquery.markitup.pack.js"></script>
|
||||
<script type="text/javascript" src="{conf.urlSorbet}/admin/scripts/markitup/jquery.markitup.js"></script>
|
||||
<script type="text/javascript" src="{conf.urlSorbet}/admin/scripts/markitup/sets/html/set.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{conf.urlSorbet}/admin/scripts/markitup/skins/simple/style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{conf.urlSorbet}/admin/scripts/markitup/sets/html/style.css" />
|
||||
|
|
|
|||