Text editor custom buttons onClick parameters are undefined


customButtons: {
hr: {
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 :thinking:

another one! :sweat_smile:
please add init event to texteditor!

Thanks, will be fixed in next update

1 Like