So I am running into the dreaded "instance "editor1" already exists" error, but I can't find any solutions that match with my predicament. I am only running 1 instance of ANY editor, no Javascript, etc. Here is the code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Title</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="/inc/ckeditor/ckeditor_source.js"></script> <script type="text/javascript" src="/inc/jquery.js"></script> <link rel="stylesheet" href="/inc/css/editor.css" type="text/css" /> <link rel="stylesheet" href="/inc/jquery-ui.css" type="text/css" /> <script type="text/javascript"> $(document).ready(function() { $('#title').focus(function() { $(this).val(''); }); CKEDITOR.replace( 'editor1', { customConfig : '../ckeditor/custom.config.js' }); }); </script> </head> <body style="margin:0px;"> <form action="/inc/plugins/submit-schedule.php" method="POST"> <input type="hidden" name="id" value="<?php echo $id; ?>" /> <input type="hidden" name="type" value="edit" /> <div class="input_value"><input type="text" name="title" id="title" value="Title" class="round_all" /></div> <textarea class="ckeditor" id="editor1" name="editor1"> </textarea> </form> </body> </html>
Re: Another "Instance Already Exists" Error
Re: Another "Instance Already Exists" Error