example:
customButtons: {
hr: {
onClick(event,buttonEl){
console.log(event,buttonEl); //=> undefined, undefined
}
}
}
example:
customButtons: {
hr: {
onClick(event,buttonEl){
console.log(event,buttonEl); //=> undefined, undefined
}
}
}
another problem:
if we use text editor inside form tag,
clicking on each button of toolbar submits the form which will be fixed just by adding type=“button” inside text-editor-class.js i think so
another one!
please add init event to texteditor!
Thanks, will be fixed in next update