Opened 14 years ago
Last modified 14 years ago
#6127 review_failed Bug
IE Cursor not going to next line when we press enter & we have set forceEntermode=br as config option
Reported by: | Satya Minnekanti | Owned by: | Tobiasz Cudnik |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.2.2 |
Keywords: | IBM | Cc: | Damian, joek |
Description (last modified by )
To reproduce the defect:
- set enterMode = CKEDITOR.ENTER_BR in the config option.
- Open Ajax sample. Type some text.
- Press Enter at the end of the line.
Expected Result:
New line is created and cursor is shown in the new line.
Actual Result:
New line is created but Cursor is shown in the same line from where we have pressed Enter.
Cursor will move to Correct line only when user starts typing the text.
Tested in IE 6&7
Attachments (1)
Change History (10)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Owner: | set to Tobiasz Cudnik |
---|---|
Status: | new → assigned |
comment:3 follow-up: 4 Changed 14 years ago by
@satya, just to be sure... forceEntermode is a boolean, so it can't be set to br, only to true/false. Aren't you talking about the "enterMode" setting instead?
comment:4 follow-up: 6 Changed 14 years ago by
Replying to fredck:
@satya, just to be sure... forceEntermode is a boolean, so it can't be set to br, only to true/false. Aren't you talking about the "enterMode" setting instead?
Hi fred, yes i am talking about "enterMode" it was mistakenly typed as forceEntermode
Changed 14 years ago by
Attachment: | 6127.patch added |
---|
comment:5 Changed 14 years ago by
Status: | assigned → review |
---|
comment:6 Changed 14 years ago by
Replying to satya:
yes i am talking about "enterMode" it was mistakenly typed as forceEntermode
Satya, we *strongly* recommend NOT to use enterMode, leaving it's default setting. If you're using it in your applications, you should definitely consider changing it.
PS: This is just a note, which has nothing to do with the validity of this ticker.
comment:7 Changed 14 years ago by
Status: | review → review_failed |
---|
It's not a good thing to introduce NBSP inside the editor without collecting it, the correct fix should instead make BR created outside of inline element.
<span>text</span><br /> INSTEAD OF <span>text<br /></span>
comment:9 Changed 14 years ago by
Description: | modified (diff) |
---|
This is a correction for step 3..
select all the text that you have typed in step 2 & apply background color to the text, go to end of the line and then press Enter..