| author | Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com> |
| Thu, 28 Nov 2013 14:36:31 +0100 | |
| changeset 1012 | 5064d9d287a0 |
| permissions | -rw-r--r-- |
|
1012
5064d9d287a0
replace jquery text editor by jquery for a better control on text clean up.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
1 |
tinymce.PluginManager.add("hr",function(e){e.addCommand("InsertHorizontalRule",function(){e.execCommand("mceInsertContent",!1,"<hr />")}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}); |