Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295701

Possible conflict between CKE5 and Clientside Validation

$
0
0

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-jguerv.validate.min.is:432
[f] errorsFor - jguery.validate.min.js:426
[f] prepareElement - jquery.validate.min.js:305
[f] element - jguery.validate.min.js:200:90
[E] onfocusout - jquery.validate.min.js:113:102
[f] b - jguery.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.


Viewing all articles
Browse latest Browse all 295701