Wow, that's really absurd...hum. First, I would of course ask you to try the latest version. Second, is your editor and all your pages on the same domain? Also, how are you calling the editor? Maybe it's an anomoly with the data your trying to load in?
I think I have the same setup as the OP. yes I am using the latest version, and yea the editor and the page are on the same domain.
I am calling the editor by the javascript replacement method. code posted below. the $tool_bar and $extra_editor_params are passed in correctly, as the editor renders and operates correctly 99.9% of the time, except when the glitch described in the OP occurs.
I've gone ahead and upgraded to the latest version, sadly this problem still exists. I do something similar in terms of including the editor, just via javascript.
Not getting widespread reports of failure, just here and there, so at a bit of a loss . . .
I wouldn't say it's only on one browser or not, but there has only been reports of this on Firefox 3.6.6. We were able to get this to happen sometimes by going to a page with the editor, go to another page, then hit back and the editor might get filled with home page. Any ideas?
i am not sure whether it show the absolute base html page, since there is no address bar in the editor. however, if I use firebug on it, the source it's loading from is src="" or src="/", can't remember exactly which one either. What I don't get is, if the src is the same, how come it loads the homepage sometimes but most of the time not.
Yes, it seems like the reports are coming in from Firefox - not positive it's limited there, we haven't been able to reproduce on our end. It's always the base url, as it looks like it's creating an iframe with no src set, and therefore defaulting to the home page.
We're using the latest version of ckeditor now, still seeing reports from users about this issue.
In 3.4, they addressed an issue with certain links opening within the editor. So perhaps it's something similar. You aren't doing full-page editing are you? When they experience this, is it right as the editor loads? Is the editor trying to pre-load any content?
You should also attach the code you are using to call the editor here or to your bug report.
Ah - 3.4's not in final release, so haven't tried that.
Full-page editing - that's the full screen option? We aren't doing anything like that.
In terms of when this happens - From reports, the editor loads, then the text area inside the editor flashes white, and then our home page loads into the text area. (When things are correct, the editor has a background color, non-white.) Users can usually reload the page to make things work normally.
We usually don't preload anything into the editor.
Re: Textarea populated with home page (broken iframe)
I am using the latest version, 3.3.1
Re: Textarea populated with home page (broken iframe)
Re: Textarea populated with home page (broken iframe)
I am calling the editor by the javascript replacement method. code posted below. the $tool_bar and $extra_editor_params are passed in correctly, as the editor renders and operates correctly 99.9% of the time, except when the glitch described in the OP occurs.
<script type="text/javascript"> CKEDITOR.config.toolbar = '<?=$tool_bar?>', CKEDITOR.replace('<?=$textarea_id?>',{<?=$extra_editor_params?>}); </script>I am not trying to load any data into the editor. In fact, the editor should be empty when it's loaded. any ideas?
Re: Textarea populated with home page (broken iframe)
Not getting widespread reports of failure, just here and there, so at a bit of a loss . . .
Re: Textarea populated with home page (broken iframe)
Re: Textarea populated with home page (broken iframe)
i am not sure whether it show the absolute base html page, since there is no address bar in the editor. however, if I use firebug on it, the source it's loading from is src="" or src="/", can't remember exactly which one either. What I don't get is, if the src is the same, how come it loads the homepage sometimes but most of the time not.
Re: Textarea populated with home page (broken iframe)
We're using the latest version of ckeditor now, still seeing reports from users about this issue.
Re: Textarea populated with home page (broken iframe)
You should also attach the code you are using to call the editor here or to your bug report.
Re: Textarea populated with home page (broken iframe)
Full-page editing - that's the full screen option? We aren't doing anything like that.
In terms of when this happens - From reports, the editor loads, then the text area inside the editor flashes white, and then our home page loads into the text area. (When things are correct, the editor has a background color, non-white.) Users can usually reload the page to make things work normally.
We usually don't preload anything into the editor.
Our editor include code looks something like:
<textarea cols="300" id="message" name="message" rows="100"></textarea> <script type='text/javascript' src='ckeditor/ckeditor.js'></script> <script type="text/javascript"> CKEDITOR.config.toolbar = 'Basic'; CKEDITOR.replace( 'message', { height:'100px', width:'300px' }); </script>I'll go ahead and attach this to the ticket too, thanks!
Re: Textarea populated with home page (broken iframe)
<script type="text/javascript"> setTimeout("CKEDITOR.config.toolbar = 'MAIN_EDITOR', CKEDITOR.replace('text_input', {});",1000); </script>