Opened 17 years ago
Closed 14 years ago
#1714 closed Bug (invalid)
cursor jumps from beginning of text area to the end
Reported by: | Susie Sahim | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | FCKeditor 2.5.1 |
Keywords: | Cc: | armorrison@… |
Description
Descriptive summary: When you have the editor set to load content starting with <br> tags and later followed by text wrapped in a <div> it prevents the user from clicking on the first line of the text field. when clicked, it just jumps to the bottom of the text area.
Browser name and OS: Tested on two separate computers with Firefox 2.0.0.11 on Windows XP Pro Service Pack 2
Steps to reproduce: In Firefox, have the FCK editor's $FCKeditor->Value set with something like as follows: <br /> <div><p>Hello World</p></div> View the web page containing the text editor. After the text editor loads and the user clicks on the first line of the text area (the line with the <br/> tag), the cursor appears at the top for just a split second, then jumps down to the bottom of the text area. When trying to click on the first line again, it just keeps jumping back to the bottom. If you remove the <div></div> tags surrounding the text on the lower portion of the text field in $FCKeditor->Value, the cursor no longer appears to jump. So this seems to have something to do with the <div> and the text area beginning with <br />.
I have been a long time user of FCK editor and recently upgraded to the latest version. This bug just started appearing with the latest version.
Attachments (2)
Change History (8)
Changed 17 years ago by
Attachment: | default text fck editor.txt added |
---|
Changed 17 years ago by
Attachment: | TC_1714.html added |
---|
comment:1 Changed 17 years ago by
Keywords: | Pending WorksForMe added |
---|---|
Version: | → FCKeditor 2.5.1 |
Hi! I was unable to reproduce this bug. I followed your instruction and applied your sample code to the page and everything seems to work fine. I've attached a sample file of the page. Try to reproduce the bug with this page.
Thanks!
comment:3 Changed 17 years ago by
Cc: | armorrison@… added |
---|---|
Resolution: | worksforme |
Status: | closed → reopened |
I am hitting this bug as well. Firefox only. I am on version 2.0.0.15. My fckeditor version is 2.6.2. The text given by BogusRed is the resulting source code as translated by fckeditor.
w.olchawa, try using this instead in your test:
oFCKeditor.Value = '<br><div>Hello World</div>'
then the behaviour he describes occurs.
The source in the editor will look like this: <p> </p> <div>Hello World</div>
comment:4 Changed 17 years ago by
Keywords: | Pending removed |
---|
comment:5 Changed 15 years ago by
Keywords: | WorksForMe removed |
---|
comment:6 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
in CKE r7141 Entermode_P - </BR>
tag on the beggining is removed, as expected. Closing ticket cannot reproduce issue.
Sample text to set for $FCKeditor->Value