Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将自定义按钮添加到JqueryTe编辑器插件:
add button: <center>string</center> add button: add image url <img src="string" />
代码.google.com/
jqueryte.com
插件初始化后,你可以做..
var newButton = $('<a class="myButton" unselectable="on" />'); $('#someContainer .jqte_Panel').append(newButton); newButton.on('click', function(){ //new functionality });