Possible conflict between CKE5 and Clientside Validation

Created on 31 August 2023, over 1 year ago
Updated 21 February 2024, 10 months ago

Problem/Motivation

I am using CKE5 on a website where the Clientside Validation module is also installed. The Clientside Validation module is a requirement to use Webform Cards module. When using CKE5 to edit a formatted text field, multiple errors of the following description appear in the browsers console:

TypeError: undefined is not an object (evaluating 'a.replace")
[f] escapeCssMeta-jquery.validate.min.is:432
[f] errorsFor - jquery.validate.min.js:426
[f] prepareElement - jquery.validate.min.js:305
[f] element - jquery.validate.min.js:200:90
[E] onfocusout - jquery.validate.min.js:113:102
[f] b - jquery.validate.min.js:158
[f] dispatch - js_hLcDzUJM1TVycPn9qCI3BAfVum1Q2GIFXGEwwur0Zz4.js:2:43342
[f] trigger - js_hLcDzUJM1TVycPn9qCI3BAfVum1Q2GIFxGEwwur0Zz4.js:2:71948
[f] simulate - js_hLcDzUJM1TVycPn9qCI3BAfVum1Q2GIFxGEwwur0Zz4.js:2:72453
[f] i - js_hLcDzUJM1TVycPn9qCI3BAfVum1Q2GIFxGEwwur0Zz4.js:2:72743

Steps to reproduce

Using Drupal 9.5.10 with CKE5 installed and applied as the editor for a text input format. Install Webform Cards and the Clientside Validation modules. Create or edit any content that has a formatted text field using CKE5 as the editor. Use any widget in the editor toolbar to apply formatting to any text -- for example, apply bold to a word. In the browser's JavaScript console, the error should appear.

🐛 Bug report
Status

Needs work

Version

4.0

Component
CKEditor 5 

Last updated about 18 hours ago

Created by

🇺🇸United States aaronpinero

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024