Hi Gilles,
Greetings from Syncfusion Support..!
We have prepared a sample based on your shared query “to add custom button in editor” using popupOpen event of the Scheduler, which can be viewed from the following link.
popupOpen: function(args) {
if (args.type === "Editor") {
if (flag) {
let dialogObj = args.element.ej2_instances[0];
let buttons = dialogObj.buttons;
buttons.push({
buttonModel: { content: "Alert", isPrimary: true },
click: alert.bind(this)
});
dialogObj.setProperties({ buttons: buttons });
flag = false;
}
}
} |
Kindly try the above solution and get back to us if you need any further assistance.
We will happy to assist you.
Regards,
Hareesh