Opened 8 years ago
Closed 8 years ago
#3622 closed Bug (fixed)
enterBr when content selected incorrect
| Reported by: | Garry Yao | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.0 |
| Component: | UI : Enter Key | Version: | |
| Keywords: | Confirmed Review+ | Cc: |
Description
Reproducing Procedures
- Open the replace by class example page;
- Press on 'Select All',and press Shift-Enter.
- Expected Result : The selected content is replaced with a br.
- Actual Result : The selected content is still there.
Attachments (1)
Change History (5)
comment:1 Changed 8 years ago by
| Status: | new → assigned |
|---|
Changed 8 years ago by
| Attachment: | 3622.patch added |
|---|
comment:2 Changed 8 years ago by
| Keywords: | Review? added |
|---|
comment:3 Changed 8 years ago by
| Keywords: | Review+ added; Review? removed |
|---|
comment:4 Changed 8 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

When we intercepting keystrokes and finally stopping the event, we need to make sure the default behavior is always achieved, here we should make sure the selected content is removed after the key press before we do anything.