Here is an example to create a customized button to editor toolbar.
-
<?php
-
$editor=new CuteEditor();
-
$editor->ID="Editor1";
-
$editor->TemplateItemList="G_start,Bold,Italic,Underline,Separator,Holder,JustifyLeft,JustifyCenter,JustifyRight,Holder,G_end";
-
$editor->Width=600;
-
$editor->CustomAddons = "<img class=\"CuteEditorButton\" onmouseover=\"CuteEditor_ButtonCommandOver(this)\" onmouseout=\"CuteEditor_ButtonCommandOut(this)\" onmousedown=\"CuteEditor_ButtonCommandDown(this)\" onmouseup=\"CuteEditor_ButtonCommandUp(this)\" ondragstart=\"CuteEditor_CancelEvent()\" Command=\"MyCmd\" src=\"cuteeditor_files/Images/contact.gif\" />";
-
$editor->Draw();
-
$ClientID=$editor->ClientID();
-
$editor=null;
-
-
-
?>
To add a checkbox into toolbar, you need to create a php string which renders the checkbox code.
Hope it helps.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx