| author | Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com> |
| Thu, 18 Dec 2014 16:57:31 +0100 | |
| changeset 1175 | 7464dfd2f7bd |
| parent 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"})}); |