Dannymh
Active member
Hi,
I am looking to extend the editor to perform some additional things on the events of keyup, blur and paste, however I can't seem to get an init or other function to work and respond to the events.
I am assuming I should just be able to do
that's not exactly correct I know its just a quick psuedo code. the Init function never gets called.
Any ideas how I could extend and call on those events?
I am looking to extend the editor to perform some additional things on the events of keyup, blur and paste, however I can't seem to get an init or other function to work and respond to the events.
I am assuming I should just be able to do
Code:
XF.Editor = XF.extend(XF.Editor, {
init: function()
{
console.log("init");
console.log(console.log($.FE.COMMANDS[cmd]));
}
});
that's not exactly correct I know its just a quick psuedo code. the Init function never gets called.
Any ideas how I could extend and call on those events?