Refactor (if feasible) use of jquery parseHTML function to use vanillaJS

Created on 23 September 2021, almost 3 years ago
Updated 1 July 2024, 2 months ago

Problem/Motivation

As mentioned in the parent issue #3238306: [META] Where possible, refactor existing jQuery uses to vanillaJS to reduce jQuery footprint , we are working towards reducing our jQuery footprint. One of the ways to accomplish this is to reduce the number of jQuery features used in Drupal core. We have added eslint rules that identify specific features and fail tests when those features are in use.

There are (or will be) individual issues for each jQuery-use eslint rule. This one is specific to jquery/no-parse-html, which targets the jQuery parseHTML function.

Steps to reproduce

Proposed resolution

Remaining tasks

Confirm if there are any other considerations as per #5, #6, #11, #14.

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.4

Component
Javascript 

Last updated 1 day ago

Created by

🇺🇸United States hooroomoo

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024