Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Word count in matrix field with ckeditor not accurate #487

Open
nicolas-haemmerli-bh opened this issue Oct 15, 2024 · 0 comments
Open

Word count in matrix field with ckeditor not accurate #487

nicolas-haemmerli-bh opened this issue Oct 15, 2024 · 0 comments

Comments

@nicolas-haemmerli-bh
Copy link

Description

First of all: thanks for this plugin! It's exactly what we need, simple but contains the most necessary functions.

However, when I have a matrix field containing multiple ckeditor-fields, the wordcount is not accurate.
wrong wordcount

I assume that the counter does not take recursive fields into account.

Steps to reproduce

  1. Create a field with the type ckeditor.
  2. Create a matrix field and include the ckeditor-field you just created
  3. Create a new Entry Type and include the matrix field as well as the seo field
  4. Create a new entry of the entry type, add a ckeditor field and type some words in there.
  5. You can now see that the word count is not accurate.

Additional info

  • Craft version: 5.4.6
  • SEO version: v5.0.0-rc5
  • PHP version: 8.2.20
  • Database driver & version: MySQL 8.0.36
  • Other Plugins: CKEditor (4.1.0), Vite (5.0.1)
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

No branches or pull requests

1 participant