MozillaZine

Cross-Browser Rich Text Editor

Tuesday April 1st, 2003

Kevin Roth wrote in to tell us that he has "created a cross-browser rich-text editor incorporating the new Midas API included with Mozilla version 1.3. Source code is available for download."


#14 onpaste event

by aceman3000 <aceman3000@gmx.de>

Sunday February 8th, 2004 5:59 AM

You are replying to this message

Does anyone know, where to implement the onpaste (IE only) event? I tried the following in the enableDesignMode function: var oRTE = frames[rte].document; oRTE.open(); oRTE.write(frameHtml); oRTE.close(); if (!readOnly) oRTE.designMode = "On"; oRTE.document.onpaste = myFunction;

but i got an error that says "Permission denied" can anybody help me?