Hello,
I'm using FCK as a rich text editor for a browser based IM software.
Since this is an IM, I don't want line breaks when the Enter key is pressed. Instead I want to call a function which will send the content of the editor to an XML file. How can I implement the call to a function within FCK? All the while disabling the '<br>' which is created when pressing enter and clearing the editor's content.
Any tips?
I'm using FCK as a rich text editor for a browser based IM software.
Since this is an IM, I don't want line breaks when the Enter key is pressed. Instead I want to call a function which will send the content of the editor to an XML file. How can I implement the call to a function within FCK? All the while disabling the '<br>' which is created when pressing enter and clearing the editor's content.
Any tips?
Re: Fire an event when Enter is pressed
Re: Fire an event when Enter is pressed
Re: Fire an event when Enter is pressed
I have no idea but I'd go through the javascript for the editor and see if I could find anything.
You should try searching on google for in general how to do this. I saw this thread: http://extjs.com/forum/archive/index.php/t-12020.html
Hope it helps a little.