How do I add custom buttons to JqueryTe editor plugin:
add button: <center>string</center>
add button: add image url <img src="string" />
code.google.com/
jqueryte.com
After the plugin has initialized, you can do..
var newButton = $('<a class="myButton" unselectable="on" />');
$('#someContainer .jqte_Panel').append(newButton);
newButton.on('click', function(){
//new functionality
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With