Uncaught Exception: [ckeditor.editor] The Instance Already Exists
I've included the CKEditor on my site. Everything works even though I get this JS error: uncaught exception: [CKEDITOR.editor] The instance 'simple_editor' already exists. The code
Solution 1:
remove class='ckeditor' as it's triggering the automatic replacement system.
Solution 2:
<textarea id="textarea1" name="textarea1" runat="server" ></textarea>
<script>
$(document).ready(function () {
loadEditor('<%= textarea1.ClientID %>');
});
function loadEditor(id) {
var instance = CKEDITOR.instances[id];
if (instance) {
CKEDITOR.remove(instance);
}
CKEDITOR.replace(id, { toolbar: 'Basic' });
}
</script>
Post a Comment for "Uncaught Exception: [ckeditor.editor] The Instance Already Exists"