Skip to content

Member field, type RTE: Editor is not loading #4886

@lutzheckelmann

Description

@lutzheckelmann

Description of the problem
If you add a member field with type Rich Text Editor, CKEditor 5, the editor is not loading on the CP profile edit page (/cp/members/profile/settings), because of JavaScript errors. The reason is an assignment to an undeclared variable (Rte).

How To Reproduce
Steps to reproduce the behavior:
Create a member field, type RTE, CKEditor 5. (You can defer the editor initialization or not, the error occurs in any case.) Open the settings page of a member (/cp/members/profile/settings). CKEditor is not loading.

Error Messages
Chrome:

Uncaught ReferenceError: Rte is not defined.

Firefox:

Uncaught ReferenceError: assignment to undeclared variable Rte

Screenshots / Videos / Template Code

Image

Environment Details:

  • Version: 7.5.12
  • PHP Version 8.2
  • MySQL Version MariaDB 10.11.6
  • OS: macOS, Linux
  • Web Server: Apache

Metadata

Metadata

Labels

Bug: AcceptedBug has been confirmed, is reproducible, and ready to work on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions