Fixed: string and link fields are now counted as plain text. "<" and ">" in
them no longer hide words from the counter or from the "Hard limit" validation.
Only formatted text fields (text, text_long, text_with_summary) strip HTML tags.
Added unit tests for plain text and a kernel test for the hard limit on a
string field.
Adds a PHPStan configuration so static analysis also passes on Drupal 10, where the
hook attributes (Drupal 11.1+) and the PHPUnit 10 attributes don't exist yet.
Automated tests now run and pass on both Drupal 10 and 11.
First alpha release. Adds a "Count" option (Characters / Words) to the MaxLength widget settings, with a live, accessible word counter and an optional hard word limit, including CKEditor 5 fields.