It seems that the only way you can get the cursor to show in the text area is to click in a small section towards the top left hand corner thereof. Otherwise the control appears to be disabled.
Is there any way to allow the user to click anywhere in the text area and hence show the cursor?
Is there any way to allow the user to click anywhere in the text area and hence show the cursor?
Re: Clicking in the text area
Re: Clicking in the text area
Re: Clicking in the text area
Also, what method are you using to create CK on the page?
Re: Clicking in the text area
1) My page loads with 4 text boxes and a textarea that is converted to a CKEditor.
2) I have to click almost exactly where the first character would be in the CKEditor before it will actually give a cursor and let me me type
3) Assuming I don't type and set the focus somewhere else on the page... If I click back on CKEditor anywhere in the textarea, it will immediately get focus and have a cursor. (for me, at least, it's only on the first focus of the editor.) --- incidentally, I've noticed the same issue with the forums at asp.net.
Here's how I'm creating the editor:
<textarea cols="80" id="txtComment" name="txtComment" rows="10"><%= strMessageContent %></textarea>
<script type="text/javascript">
//<![CDATA[
CKEDITOR.replace('txtComment',
{
skin: 'kama',
toolbar : 'ContactUs'
});
//]]>
</script>
Re: Clicking in the text area
CKEDITOR.replace( 'YourEditor',
{
on:
{
'instanceReady' : function( evt )
{
//Set the focus to your editor
CKEDITOR.instances.YourEditor.focus();
}
}
Re: Clicking in the text area
I.E. 7.0 is where it happens. The parent element is a form. The editor is in a <td><tr> element.
Re: Clicking in the text area
I discovered the same problem, and solved it by eliminating the cols and rows declaration in the textarea.
I think this is a (minor) bug, because you can't get a page to validate without the cols and rows declaration.
In my case, I dynamically create as many instances of the editor as necessary ('editor1', 'editor2', etc.), in case that helps track down the bug.
I also declared a DOCTYPE that is a strict HTML 4, like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
which is probably where the requirement is coming from, for the page to validate.
Hope this is helpful to someone.
Dennis
p.s. I'm using Firefox 3.0.14, although I will test using various browsers when I get a bit further into the coding. If IE screws anything up, since this is only for one or a few admins, (and not the general public), I don't mind telling them I don't support IE.
Re: Clicking in the text area
Sorry guys, but it's been a well known problem for a long time at our dev site:
http://dev.fckeditor.net/ticket/1659