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
Environment Details:
- Version: 7.5.12
- PHP Version 8.2
- MySQL Version MariaDB 10.11.6
- OS: macOS, Linux
- Web Server: Apache
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:
Firefox:
Screenshots / Videos / Template Code
Environment Details: