Hi,
Is there a limit to how many CK editors you can use on one page? I am using the following code
<textarea name="editor1" class="ckeditor"></textarea>
<textarea name="editor2" class="ckeditor"></textarea>
<textarea name="editor3" class="ckeditor"></textarea>
<textarea name="editor4" class="ckeditor"></textarea>
But it only shows two.
Is there a limit to how many CK editors you can use on one page? I am using the following code
<textarea name="editor1" class="ckeditor"></textarea>
<textarea name="editor2" class="ckeditor"></textarea>
<textarea name="editor3" class="ckeditor"></textarea>
<textarea name="editor4" class="ckeditor"></textarea>
But it only shows two.
Re: Multiple CK Editors
Try this:
Dennis
Re: Multiple CK Editors
for example im simply calling 10 RTE.
this works fine. but as soon as you add a form tag it only shows two
Re: Multiple CK Editors
try something like this:
Re: Multiple CK Editors
Thanks for your reply. I seem to be having the same problem , all that I have in my document is... Its not an ASP thing is it?
Re: Multiple CK Editors
Emu,
Here is the complete code for an ASP/VBScript page with ten CKEditors, generated programmatically in a loop. The only assumption here is that you have the ckeditor code properly uploaded to your site, and that it is in a folder called "ckeditor", right off the site root (if not, change Line 7 to reflect where you have the ckeditor.js code.) Name your page: Something.ASP
Re: Multiple CK Editors
If you upload that script are you getting the same problem? Is anyone else getting this problem?
Re: Multiple CK Editors
"Still does not work" -what error are you getting? Or, is the page loading without errors but not showing the ten CKEditor instances?
Yes, I did upload the page to my (shared hosting) server, and it does work. So, since the code works, I have to suspect that your installation of CKEditor files on your site has a problem. (To install on your server, did you: download the zip file of the latest 3.01 CKEditor, unzip on your local machine, then copy the entire ckeditor folder and all of its subfolders into a folder called "ckeditor" right off your root? I know there are optional files such as languages and alternate skins, etc. that you do not have to upload, but just to make sure all of the required files ARE there...)
Are you getting one or two CKEditors to show up on the page? If yes, (even one), try the various dropdown menus and functions/buttons. Does it all seem to work? If yes, then is this a Windows server, or a Linux server?
I just opened the page, and looked at the source code, and there were 2 errors in my code. (I am surprised that it loaded and ran with the errors, but it did.) In the HTML form tag, I forgot to close name and id with their final doublequotes.
So, for example on the 10th CKEditor, this was the rendered page source at runtime:
Re: Multiple CK Editors
Thanks for your reply. Much appricated!
My settings are Windows Shared Server.
Downloaded, uncompressed and uploaded v3.01 to the root
drop down menus work fine
I think I've found where its going wrong.
Doesn't work in Google Chrome Browser
Works fine in Internet Explorer and Firefox.
Re: Multiple CK Editors
I have played with Chrome a bit, and it has promise, but it would take a lot to get me to switch from Firefox at this point. (Obviously, they are an up-and-coming contender in the browser arena, and a percentage of site visitors are going to be using Chrome, so the pages have to work in Chrome. I'm actually surprised Chrome did not render the page properly. In this particular case, I'm guessing it was something odd in Chrome, rather than a CKEditor coding issue.)
As of this moment, my use for CKEditor is content management by admins, not the general site visitors. I'll tell my admin users (using CKEditor) to use Firefox. So far, I have the luxury of doing that.
Dennis
Re: Multiple CK Editors
Thanks for your help Dennis!
Matt