CK Editor should count on paste event.

Created on 29 October 2020, about 4 years ago
Updated 18 April 2023, over 1 year ago

Problem/Motivation

Pasting text counts chars on native textfield, but not in CK Editor.

Steps to reproduce

Enable count on a CK Editor textfield, paste text. Counter does not fire until you press a key.

Proposed resolution

Add an on paste event to the CK Editor instance.

Remaining tasks

None. Patch is atached.

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States aklump

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States pmagunia Philadelphia πŸ‡ΊπŸ‡Έ

    I noticed you're using the CKEDITOR variable in the patch.

    Correct me if I'm mistaken, but this wouldn't work with CKE5.

  • πŸ‡ΊπŸ‡ΈUnited States aklump

    @pmagunia I haven't worked with CKE5, but from a quick search of the codebase I didn't see that variable in there anywhere, so I agree with your conclusion.

Production build 0.71.5 2024