Bug 7134 - TinyMCE: Caret doesn't display after new line is created
Summary: TinyMCE: Caret doesn't display after new line is created
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Chris Petersen
URL: http://tinymce.moxiecode.com/example....
Keywords:
Depends on:
Blocks: 6627
  Show dependency treegraph
 
Reported: 2006-02-07 09:15 PST by Chris Petersen
Modified: 2006-03-01 21:52 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Petersen 2006-02-07 09:15:20 PST
Expected Results: After pressing return key, the caret should appear on the new line
What I got: After pressing return key, the caret DOESN'T appear on the new line

This issue seems to happen if a line break is above the line I'm typing. See steps.

Steps to reproduce:

1) Go to http://tinymce.moxiecode.com/example.php?example=true
2) Delete all text in sample textarea field
3) With the caret at the top of textarea field, press return key. This creates corrects a new line with caret
4) Type a few words then press return key again
5) Notice the caret ISN'T displayed on the new line that was created
Comment 1 Chris Petersen 2006-02-08 22:37:06 PST
This bug is also in Radar as <rdar://problem/4435991>
Comment 2 Justin Garcia 2006-03-01 00:35:43 PST
(In reply to comment #0)
> Steps to reproduce:
> 
> 1) Go to http://tinymce.moxiecode.com/example.php?example=true
> 2) Delete all text in sample textarea field
> 3) With the caret at the top of textarea field, press return key. This creates
> corrects a new line with caret
> 4) Type a few words then press return key again
> 5) Notice the caret ISN'T displayed on the new line that was created

I'm having trouble reproducing.  I:

Delete everything in the editable area, hit return, type a few words, and hit return.  The caret appears just as it should on the third line.  What am I doing wrong?
Comment 3 Justin Garcia 2006-03-01 21:52:14 PST
Changing to worksforme, reopen if I'm doing something wrong.