#1055: onerror handler for editing area
--------------------------+-------------------------------------------------
Reporter: swift | Owner: martinkou
Type: New Feature | Status: assigned
Priority: Normal | Milestone: FCKeditor 2.6
Component: General | Version: FCKeditor 2.4.3
Resolution: | Keywords: Confirmed HasPatch Review-
--------------------------+-------------------------------------------------
Changes (by fredck):
* keywords: Confirmed HasPatch Review? => Confirmed HasPatch Review-
Comment:
The "FCK_IGNORE" makes the patch a hole ugly hack. Not good.
Fortunately, there is another solution to achieve the same results: adding
the "_fcktemp" attribute to the tag. Also, adding "type" is not a bad
idea.
So, it should be enough to change the following in the patch:
{{{
var sOverrideError = '<script type="text/javascript"
_fcktemp="true">window.onerror=function(){return true;};</script>' ;
}}}
Removing all changes from fck.js.
--
Ticket URL: <http://dev.fckeditor.net/ticket/1055#comment:11>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac