jquery.once still used in markdown.admin.js

Created on 7 November 2023, about 1 year ago
Updated 12 February 2024, 9 months ago

Problem/Motivation

Drupal core does not offer jquery.once anymore since Drupal 10. It was deprecated and a replacement was offered in D9.2. See https://www.drupal.org/node/3158256 .

Steps to reproduce

Accessing the config form at e.g. /admin/config/content/markdown/commonmark will create a JS error in the console.

Proposed resolution

Replace jquery.once usage with core/once usage.

Remaining tasks

Review patch, commit.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

RTBC

Version

3.0

Component

Code

Created by

🇫🇮Finland kekkis Pirkkala

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

Comments & Activities

Production build 0.71.5 2024