2 instances on 1 page, 2nd does not load in FireFox
Hi, I have a page with two instances of FCK editor loaded using the Javascript method. These are loaded into a popup lightbox which is essentially an iframe.
The problem is that the first FCK instance works fine, but the second does not load - I just get a blank screen where the text area should be, and I have Firebug installed in the browser and it gives no errors. If I right click on the page and reload the iframe it appears.
FCK editor 2.6.6, FF11/WinXP, lightbox is this one- highslide.com.
Calling FCK via:
and
I tried making 'oFCKeditor' an unique name on the second instance, but no difference. This setup has been working for 2 years and just failed recently, I wonder if there is some interaction with FF11 that was not there in previous versions.
Thanks in advance for any help,
Kevin
Hi, I have a page with two instances of FCK editor loaded using the Javascript method. These are loaded into a popup lightbox which is essentially an iframe.
The problem is that the first FCK instance works fine, but the second does not load - I just get a blank screen where the text area should be, and I have Firebug installed in the browser and it gives no errors. If I right click on the page and reload the iframe it appears.
FCK editor 2.6.6, FF11/WinXP, lightbox is this one- highslide.com.
Calling FCK via:
<script type="text/javascript"> var oFCKeditor = new FCKeditor('free_text_1'); oFCKeditor.BasePath = "/admin/fckeditor/"; oFCKeditor.Value="test 1</p>"; oFCKeditor.Create(); </script>
and
<script type="text/javascript"> var oFCKeditor = new FCKeditor('free_text_2'); oFCKeditor.BasePath = "/admin/fckeditor/"; oFCKeditor.Value="test 2</p>"; oFCKeditor.Create(); </script>
I tried making 'oFCKeditor' an unique name on the second instance, but no difference. This setup has been working for 2 years and just failed recently, I wonder if there is some interaction with FF11 that was not there in previous versions.
Thanks in advance for any help,
Kevin
Re: 2 instances on 1 page, 2nd does not load in FireFox
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: 2 instances on 1 page, 2nd does not load in FireFox
Thanks for that. As a two pronged approach to solving my problem, I've been playing with CK 3 and have posted a question it that forum re pasting plain text from Word.
Thanks,
Kevin