View Single Post
  #30  
Old 06-02-2004, 08:44 AM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

Code:
I am having an issue - it keeps asking me if I want to display the insecure objects and I am using an HTTPS for my editor path. Any suggestions on that one?

GM
in editor.js change line var richedit... to:

var RichEdit = '<iframe src="' + _editor_url + 'popups/blank.html' + '" ID="_' +objname+ '_editor" style="width:' +editor_obj.style.width+ '; height:' +editor_obj.style.height+ ';"></iframe>';


1) make the popups/blank.html not just "<html></html>"
but rather "<html><body></body></html>"

2) htmlarea.js: after this line:
var iframe = document.createElement("iframe");
(should be around line 376) the following:
iframe.src = this.popupURL("blank.html");

3) Fixing the same issue for the Spell Checker pluging:
3.1 cp popups/blank.html plugins/SpellChecker/
3.2 in plugins/SpellChecker/spell-check-ui.html
replace the line:
<iframe src="about:blank" width="100%" height="100%"
with the following:
<iframe src="blank.html" width="100%" height="100%"

I picked this up on some htmlarea forum.
__________________
v. 4.0.14 (GM Style)
O.S. Linux
Build Your Own Diamond Ring
Reply With Quote