Hello,
I'm using CKEditor version 3.2 and just updated to version 3.2.1. In both versions, I've tested using the php samples and when I run the samples (like replace.php) in either IE 8.0.6 or in ChromeOS (4.1.249 and 5.0.375.55), I get an error thrown.
Using the Chrome Developer Tools (inspect element), I can see this error:
Uncaught [CKEDITOR.editor] The instance "editor1" already exists.
I've also integrated this php code into my own script and have the same problem.
I've tested the samples on 2 different computers with the same results.
The sample script is really basic, just a <textarea name="editor1" id="editor1> and then a short php script:
Any help in solving this problem would be most appreciated!
Dennis
I'm using CKEditor version 3.2 and just updated to version 3.2.1. In both versions, I've tested using the php samples and when I run the samples (like replace.php) in either IE 8.0.6 or in ChromeOS (4.1.249 and 5.0.375.55), I get an error thrown.
Using the Chrome Developer Tools (inspect element), I can see this error:
Uncaught [CKEDITOR.editor] The instance "editor1" already exists.
I've also integrated this php code into my own script and have the same problem.
I've tested the samples on 2 different computers with the same results.
The sample script is really basic, just a <textarea name="editor1" id="editor1> and then a short php script:
<?php // Include CKEditor class. include_once "../../ckeditor.php"; // Create class instance. $CKEditor = new CKEditor(); // Path to CKEditor directory, ideally instead of relative dir, use an absolute path: // $CKEditor->basePath = '/ckeditor/' // If not set, CKEditor will try to detect the correct path. $CKEditor->basePath = '../../'; // Replace textarea with id (or name) "editor1". $CKEditor->replace("editor1"); ?>
Any help in solving this problem would be most appreciated!
Dennis