Hi,
I'm trying to use the RichTextEditor with your latest nightly (8.3) and I'm seeing an error in Firefox and Chrome (but not IE) with the latest versions of those browsers. I tried the same thing recently with 8.2 as well and had the same errors.
We do set document.domain. I tried hard-coding document.domain into the empty.html file referenced by Chrome but that didn't fix the "domains, ports, and protocols" message.
This is what the loadModules tag references resolves to:
<SCRIPT SRC=isoversion/8.3.5.15.12/isomorphic/system/modules/ISC_RichTextEditor.js?isc_version=SNAPSHOT_v8.3d_2012-05-15.js></SCRIPT><SCRIPT>isc._lastModule='RichTextEditor';</SCRIPT>
And, this is what the RichText field looks like:
{name:"notes", type:"richText", showTitle:true, colSpan:3,height:395,width:"*"}
Everything works fine in IE9.
Firefox:
Chrome
I'm trying to use the RichTextEditor with your latest nightly (8.3) and I'm seeing an error in Firefox and Chrome (but not IE) with the latest versions of those browsers. I tried the same thing recently with 8.2 as well and had the same errors.
We do set document.domain. I tried hard-coding document.domain into the empty.html file referenced by Chrome but that didn't fix the "domains, ports, and protocols" message.
This is what the loadModules tag references resolves to:
<SCRIPT SRC=isoversion/8.3.5.15.12/isomorphic/system/modules/ISC_RichTextEditor.js?isc_version=SNAPSHOT_v8.3d_2012-05-15.js></SCRIPT><SCRIPT>isc._lastModule='RichTextEditor';</SCRIPT>
And, this is what the RichText field looks like:
{name:"notes", type:"richText", showTitle:true, colSpan:3,height:395,width:"*"}
Everything works fine in IE9.
Firefox:
Code:
17:02:24.966:TMR5:WARN:Log:undefined: [Exception... "Access to property denied" code: "1010" nsresult: "0x805303f2 (NS_ERROR_DOM_PROP_ACCESS_DENIED)" location: "http://ourdomain.com:8080/dev/isoversion/8.3.5.15.12/isomorphic/system/modules/ISC_RichTextEditor.js?isc_version=SNAPSHOT_v8.3d_2012-05-15.js Line: 161"] [No error.stack available] Line 161: ,isc.A.$23i=function isc_RichTextCanvas__setHandleEditable(_1,_2){if(this.$22y()){var _3=this.getContentDocument();if(_3){if(_1||_2)_3.designMode="on";if(isc.Browser.isMoz)_3.execCommand("readonly",false,_1);if(!_1)_3.designMode="off"}}else{var _4=this.getHandle();if(_4!=null){_4.contentEditable=(_1?true:"inherit");if(isc.Browser.isIE){if(!this.isVisible()&&this.$224())
Chrome
Code:
Uncaught TypeError: Object [object DOMWindow] has no method 'addEventListener' isc_RichTextCanvas__setupEditAreaISC_RichTextEditor.js:85 isc_RichTextCanvas__frameLoadedISC_RichTextEditor.js:50 (anonymous function)dpt.form:1 onload ISC_RichTextEditor.js:85Unsafe JavaScript attempt to access frame with URL http://ourdomain.com:8080/dev/isoversion/8.3.5.15.12/isomorphic/system/helpers/empty.html from frame with URL http://ourdomain.com:8080/dev/dpt.form#. Domains, protocols and ports must match. isc_RichTextCanvas__setupEditAreaISC_RichTextEditor.js:85 isc_RichTextCanvas__frameLoadedISC_RichTextEditor.js:50 (anonymous function)dpt.form:1 onload
Comment