Active
Project:
MaxLength
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2022 at 22:33 UTC
Updated:
24 Mar 2023 at 17:48 UTC
Jump to comment: Most recent
Drupal core is working to #1541860: Reduce dependency on jQuery.
This is why -
Using Javascript libraries simplifies web development, but increases the energy used by the resulting pages.
shrinking Javascript on a mobile page to contain only functions used by the page greatly reduces energy use.
The Maxlength module largely uses jQuery. That could be rewritten as vanilla JavaScript. It can also make use of CKeditor's API for Wordcount and Character Count.
Rewrite jQuery code into vanilla JavaScript.
None
Use CKEditor 5 API.
TBD
Comments
Comment #2
cedeweyNote that this work is most likely going to be a 3.0.x task.
Comment #3
cedewey