Skip to content

Conversation

@i-just
Copy link
Contributor

@i-just i-just commented Mar 24, 2025

Description

Adds the ability to define a character limit that should be enforced for the CKEditor field.

Screenshot 2025-04-24 at 13 32 44

Only one limit - either word or character can be set for a field.

When "Show word count" is on for the field, setting a character limit doesn’t automatically make the character count show. To do so, the following config should be added to the CKEditor Config used by the field:

"wordCount": {
    "displayCharacters": true
}

Related issues

#382

@i-just i-just requested a review from brandonkelly as a code owner March 24, 2025 17:00
@brandonkelly
Copy link
Member

UI-wise, this should be implemented more like Plain Text fields:

CleanShot 2025-04-21 at 15 15 56@2x

@i-just
Copy link
Contributor Author

i-just commented Apr 24, 2025

@brandonkelly, that's updated (and new screenshot added to the PR’s description)

@brandonkelly brandonkelly merged commit 9b4893a into 3.x Apr 28, 2025
6 checks passed
@brandonkelly brandonkelly deleted the feature/382-add-character-limit branch April 28, 2025 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants