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 garry.yao
- Status changed from new to assigned
Changed 8 years ago by garry.yao
comment:2 Changed 8 years ago by garry.yao
- Keywords Review? added
comment:3 Changed 8 years ago by fredck
- Keywords Review+ added; Review? removed
comment:4 Changed 8 years ago by garry.yao
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.

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.