I've used CKEditor before and I remember having this issue, I just don't remember what I had to do to fix it. I'm upgrading a friend's website to have an editor so that he doesn't have to bother me to do his updates for him, and he asked if it would be possible for me to make it so he could format what he posts, so I went for CKEditor.
I've got a textarea set up as follows:
<form id="edit" name="edit" action="index_edit.php" method="post"> <h2 class="title"><span>Special: </span><?php echo $title; ?></h2> <div class="entry"> <img src="images/homepage10.jpg" alt="" width="250" height="373" class="alignleft" /><textarea name="editor" id="editor" cols="39" rows="21" ><?php echo $content; ?></textarea> <input type="submit" name="submit" id="submit" value="Submit" /> </div> <script> CKEDITOR.replace( 'editor' ); </script </form>
According to this, that should work, but the textarea is showing up like a default textarea. I have the <script src="/ckeditor/ckeditor.js"></script> up in my file's header, and ckeditor is installed to that directory.
Anybody know why it's not working?
Just made a quick test file
Just made a quick test file (it's attached, it's all of 11 lines of HTML) that has nothing on it but a textarea that has CKEditor applied to it and it doesn't work on that test file either.
Problem solved.
Problem solved.