Opened 8 years ago
Last modified 8 years ago
#16905 confirmed Bug
Editor enterMode: ENTER_BR doesn't strip leading whitespace immediately
Reported by: | Steven Bone | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.1.1 |
Keywords: | Webkit | Cc: |
Description
Steps to reproduce
- set editor enterMode to ENTER_BR
- in editor, enter text - 'Send to 123 Main St'
- place cursor immediately after 'to', before space
- hit Enter key
- on new line, hit Delete or Arrow Right
- notice cursor/action move two spaces to the right
(space is trimmed on this keypress, and the next character is acted upon)
Expected result
leading whitespace should be trimmed on initial Enter keypress (like behavior when performing same action with ENTER_DIV and ENTER_P) Expected, demo'd with ENTER_DIV:
Actual result
leading whitespace is trimmed on Delete, as well as the '1' character.
Other details (browser, OS, CKEditor version, installed plugins)
- Chrome 56.0.2924.87
- OSX 10.12.3
- CKE 4.5.2 and 4.7.1
Change History (2)
comment:1 Changed 8 years ago by
Keywords: | Webkit added; enter_br enterMode removed |
---|---|
Status: | new → confirmed |
Version: | 4.7.1 (GitHub - master) → 4.1.1 |
Problem can be reproduced from CKEditor 4.1.1 on Chrome in both Windows and Mac.