Greetings. I attach an event to elementsPathUpdate so that I can extend the elementspath. I need to modify the original element that the elementspath points to using the buttons of the elementspath (rightclick brings up menu, menu items do stuff).
editor.on( 'elementsPathUpdate', function( ev ) {
console.log('elementsPathUpdate');
// I could attach events by using e.vdata.space.$.children
// OR I could attach the event with jQuery like so
// either way I don't know how to get to the element
$('.cke_path_item').on("contextmenu", function(e){
console.log('Context Menu event has fired!');
// --- Here I need to edited the content that elementspath represents
});
});
Any ideas? Any kind of help would be great.
