Drupal 10 readiness: Stop using jquery.once in editor.js

Issue information

From user: jcnventura

Related to !8 (merged) !7 (closed)

Contribution record

Fork management

Problem/Motivation

Drupal 9.2 has deprecated the use of jquery.once, which will be removed in Drupal 10, and should be replaced with the new core/once library (see https://www.drupal.org/node/3158256).

We need to remove the use of jquery.once in this module, and at the same time completely remove the use of jQuery as the simple Javascript code used by this module can easily be replaced with standard non-jQuery code. This would make it possible to not load jQuery on pages that don't require it, thus gaining a considerable performance boost by bypassing the 400Kb+ load.

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information