Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends

I have Used CLeditor to Create richtextbox now i want add a button to this editor toolbox how can i achieve it,the link for editor is given bellow

http://premiumsoftware.net/cleditor[^]


Thanku
Posted

1 solution

After you download, you will get a JavaScript file named jquery.cleditor.js.

Inside that, every button and its code is written. Please try to understand first. You can also debug the code to learn what happens.

Then you would be able to add one new button. There is one buttons property defined, which have all the buttons defined there. you need to add the other button there and find all references, where you can add functionality. You also need to update the images buttons.gif to include the new button image.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900