Disable rich-text on Webform Submission settings leads to Uncaught TypeError: Cannot read properties of null

Created on 20 October 2022, over 1 year ago
Updated 20 September 2023, 9 months ago

Problem/Motivation

"Disable rich-text" a#wysiwyg-toggle-edit-confirmation-value onClick does nothing below the textarea on "Webform > Forms settings > Submission settings", just print the following error to console

js_CuEArtKHU77_cZtEFcnmQZY-7bdeBNA4WbL09Gv_5yA.js:226 Uncaught TypeError: Cannot read properties of null (reading '1')
    at new jQuery.fn.init (js_CuEArtKHU77_cZtEFcnmQZY-7bdeBNA4WbL09Gv_5yA.js:226:54)
    at x (js_ufi4cyAzhl2HlUuhGoh9pgVNUbrxll8KGuHWRCgdtT8.js:5:225)
    at Object.detach (js_Om1HabzKKOj-H44AAm5aBRh10LlIkn7GdUJ-opVHCAY.js:511:20)
    at CKEDITOR.htmlDataProcessor.toDataFormat (js_Om1HabzKKOj-H44AAm5aBRh10LlIkn7GdUJ-opVHCAY.js:182:55)
    at $.getData (ckeditor.js?rk1mpd:924:202)
    at $.<anonymous> (ckeditor.js?rk1mpd:397:6)
    at a.q (ckeditor.js?rk1mpd:10:246)
    at a.<anonymous> (ckeditor.js?rk1mpd:12:91)
    at CKEDITOR.editor.CKEDITOR.editor.fire (ckeditor.js?rk1mpd:13:286)
    at a.getData (ckeditor.js?rk1mpd:288:466)

https://pastebin.com/LELBGQ55

Basic setup

On Administration » Configuration » Content authoring » Wysiwyg profiles
- [x] Enabled by default
- [x] Allow users to choose default
- [x] Show enable/disable rich text toggle link
- [x] Enable on summary fields

Steps to reproduce

Go to "Webform > Forms settings > Submission settings" (/node/1/webform/configure) and click on the "Disable rich-text" below the Wysiwyg 7.x-2.9 enabled textarea

🐛 Bug report
Status

Active

Version

2.0

Component

Editor - CKEditor

Created by

🇭🇺Hungary eaposztrof Székelyföld

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

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.69.0 2024