Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you press enter, the remaining message is discounting 2 characters instead 1. If I make a simple modification on js it only discounts 1.
Comment | File | Size | Author |
---|---|---|---|
#9 | Selection_011.png | 47.66 KB | rpayanm |
#2 | key-enter-counter.patch | 424 bytes | ivan.chavarro |
Comments
Comment #2
ivan.chavarro CreditAttribution: ivan.chavarro commentedComment #3
askibinski CreditAttribution: askibinski at ezCompany commentedLooks good.
An enter is now counted as 1 char which seems logical.
Tested together with patch at #2804757: Truncate option makes CKEditor cursor endlessly blink in:
* Chrome 58
* IE11 / win8
* Edge 15 /win10
* Firefox 53 / win10
* Safari 10.1 / osx
Comment #4
mpp CreditAttribution: mpp commentedAlso RTBC, can this be committed please?
Comment #5
ralphvdhoudt CreditAttribution: ralphvdhoudt at ezCompany commentedPatch works as advertised
Comment #6
dawehner@askibinski Thanks so much for providing a good test coverage!
@ivan.chavarro Thank you for the patch
Thank you for providing the patch! I merged it and pushed it up
Comment #9
rpayanmI been tested this patch and it works fine but when you use character enter and I try to save I got this error: