View Single Post
  #45  
Old 01-05-2005, 02:23 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

Quote:
Originally Posted by GM
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.

GM,

I may have not had enough sleep these days and am missing something, but can you elaborate on these instructions a bit.

I cannot find reference to spell checker nor can I find the line number or close proximity which you refer to for the HTML changes.

I understand what you are saying, but am missing where to do the changes.


Thanks in advance for the help.
__________________
vs 4.1.12
Reply With Quote