Error in Text formats and editors

Created on 23 December 2023, 11 months ago
Updated 30 July 2024, 4 months ago

Problem/Motivation

After installing, when I enter the allowed formats to activate the module in ckeditor, I get the following errors

Uncaught TypeError: Cannot read properties of null (reading 'length')
Uncaught TypeError: Cannot read properties of undefined (reading 'id')

๐Ÿ› Bug report
Status

Needs work

Version

1.1

Component

Code

Created by

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

Comments & Activities

  • Issue created by @Nelo_Drup
  • ๐Ÿ‡ณ๐Ÿ‡ตNepal sujan shrestha Nepal๐Ÿ‡ณ๐Ÿ‡ต, Kathmandu

    Hi @Nelo_Drup Thank you for bringing this to my attention. Could you please provide more details about the steps you're taking when encountering these errors and the Drupal version you are using? It will help me better understand and address the issue.

  • @Sujan Shrestha Hello just install the module as usual, then enter texts and formats, finally enter the full html option, see the error console and those errors appear there.

    My carasteristics are:
    - Drupal 10.2.3
    - PHP 8.1
    - MySQL 5.40
    - Server NGINX

  • ๐Ÿ‡ณ๐Ÿ‡ตNepal sujan shrestha Nepal๐Ÿ‡ณ๐Ÿ‡ต, Kathmandu

    Thank you @Nelo_Drup for providing the instructions. I will proceed to install the module as usual and follow the steps you've outlined. I'll replicate the environment you've mentioned with Drupal 10.2.3, PHP 8.1, MySQL 5.40, and NGINX server. After testing, I'll investigate the errors appearing in the console and work on fixing them accordingly.

  • Status changed to Needs work 9 months ago
  • ๐Ÿ‡ณ๐Ÿ‡ตNepal sujan shrestha Nepal๐Ÿ‡ณ๐Ÿ‡ต, Kathmandu
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia vipul tulse

    Im also getting error
    ckeditor5-dll.js?v=41.3.1:5 Uncaught TypeError: Cannot read properties of null (reading 'disableCssTransitions')
    at n.on.priority (find-and-replace.js?shf7cj:488:40)
    at $e.fire (ckeditor5-dll.js?v=41.3.1:5:663135)
    at $e.set [as isOpen] (ckeditor5-dll.js?v=41.3.1:5:665707)
    at Ue. (ckeditor5-dll.js?v=41.3.1:5:523921)
    at Ue.fire (ckeditor5-dll.js?v=41.3.1:5:663135)
    at M (ckeditor5-dll.js?v=41.3.1:5:664785)
    at Ue.fire (ckeditor5-dll.js?v=41.3.1:5:663305)
    at f. (ckeditor5-dll.js?v=41.3.1:5:505369)
    at ue.s (ckeditor5-dll.js?v=41.3.1:5:491979)
    at ue.fire (ckeditor5-dll.js?v=41.3.1:5:663135)

Production build 0.71.5 2024