Uncaught TypeError: $(...).find(...).once is not a function

Created on 26 August 2025, about 1 month ago

Problem/Motivation

Drupal has removed the jQuery dependency from the once feature ( https://www.drupal.org/node/3158256 ).

Even though Radix v4 mention it works with Drupal ^10.0, `text.js` has not been updated to use the new once API.

This cause the following error when opening a formatted text field:

```
Uncaught TypeError: $(...).find(...).once is not a function
```

Steps to reproduce

  • Install Drupal 10.5.2 with Radix 4.15.0
  • Open a formatted text editor in the layout builder
  • Open the inspector console

Proposed resolution

Update `text.js` to use the new once API as documented by Drupal.

🐛 Bug report
Status

Needs review

Version

4.15

Component

Code

Created by

🇨🇦Canada franknoel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024