Hi,
linky linky
I haven't figured out how to register the keyup events on the iframe in Opera, You need to register the event on the iframe's window for Firefox and the iframe's document for Safari. I haven't yet tamed Opera.
The editorKeyUpHandler function is used for cleaning up the formatting - defaults elements to paragraphs - like IE does by default when you press enter.Code javascript:this.contentWindow = this.iframe.contentWindow; // FF Event.observe(this.contentWindow, 'keyup', this.editorKeyUpHandler.bind(this)); // Safari Event.observe(this.contentWindow.document, 'keyup', this.editorKeyUpHandler.bind(this));
Thanks,







- I'll try registering the event using another method and see if I can get something working.
Bookmarks