Actually, I’m still having a problem with point (4).
I can access the event as you say through the lightbox_id. But while in onEventSave I can access the new values provided in ev.text (for example), in this button, the values are still as they previously were. How can I access the new values?
(I’m looking to build an alternative ‘Save’ button that then performs additional functionality)
scheduler.attachEvent("onLightboxButton", function(button_id, node, e){
if(button_id == "custom_btn"){
var event_id = scheduler.getState().lightbox_id;
console.log(event_id);
var evt = scheduler.getEvent(event_id);
console.log(evt.text);
}
});