WYSIWYG editor not opening #2679

Closed
opened 2026-02-05 04:46:14 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @wforumw on GitHub (Feb 27, 2022).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

After update from v21.12.5 to v22.02 it seems that the WYSIWYG editor does not work anymore.
Everything works except if I create a new page or edit an existing page the page stays empty an no editor is seen.
If I change in the setting to 'markdown' I can edit a page or create a new one.

Exact BookStack Version

v22.02

Log Content

Nothing found in the error log
Also no error produced

PHP Version

7.4.28

Hosting Environment

Debian Bullseye

Originally created by @wforumw on GitHub (Feb 27, 2022). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario After update from v21.12.5 to v22.02 it seems that the WYSIWYG editor does not work anymore. Everything works except if I create a new page or edit an existing page the page stays empty an no editor is seen. If I change in the setting to 'markdown' I can edit a page or create a new one. ### Exact BookStack Version v22.02 ### Log Content Nothing found in the error log Also no error produced ### PHP Version 7.4.28 ### Hosting Environment Debian Bullseye
OVERLORD added the 🐕 Support label 2026-02-05 04:46:14 +03:00
Author
Owner

@SmokingCrop commented on GitHub (Feb 27, 2022):

I have the same issue, opening up the browser Console gives an error (on editing a page where the WYSIWYG editor does not open):
Uncaught TypeError: Cannot read properties of undefined (reading 'registry')
at eN.setup (app.js:47:1295)
at eN.execCallback (tinymce.min.js:2:343879)
at new eN (tinymce.min.js:2:343292)
at n (tinymce.min.js:2:353313)
at Array. (tinymce.min.js:2:354874)
at jt (tinymce.min.js:2:29356)
at Object.e (tinymce.min.js:2:354723)
at C (tinymce.min.js:2:10800)
at d (tinymce.min.js:2:10946)
at a (tinymce.min.js:2:10124)

(PHP version 7.4.3 | Ubuntu 20.04.4 LTS without GUI)

(Reverted back to previous checkpoint)

@SmokingCrop commented on GitHub (Feb 27, 2022): I have the same issue, opening up the browser Console gives an error (on editing a page where the WYSIWYG editor does not open): _Uncaught TypeError: Cannot read properties of undefined (reading 'registry') at eN.setup (app.js:47:1295) at eN.execCallback (tinymce.min.js:2:343879) at new eN (tinymce.min.js:2:343292) at n (tinymce.min.js:2:353313) at Array.<anonymous> (tinymce.min.js:2:354874) at jt (tinymce.min.js:2:29356) at Object.e (tinymce.min.js:2:354723) at C (tinymce.min.js:2:10800) at d (tinymce.min.js:2:10946) at a (tinymce.min.js:2:10124)_ (PHP version 7.4.3 | Ubuntu 20.04.4 LTS without GUI) (Reverted back to previous checkpoint)
Author
Owner

@ssddanbrown commented on GitHub (Feb 27, 2022):

Does this issue remain after a hard refresh? (Shift+R) or (Ctrl+Shift+R)

@ssddanbrown commented on GitHub (Feb 27, 2022): Does this issue remain after a hard refresh? (Shift+R) or (Ctrl+Shift+R)
Author
Owner

@SmokingCrop commented on GitHub (Feb 27, 2022):

Does this issue remain after a hard refresh? (Shift+R) or (Ctrl+Shift+R)

Ah, this fixed it for me 👍

@SmokingCrop commented on GitHub (Feb 27, 2022): > Does this issue remain after a hard refresh? (Shift+R) or (Ctrl+Shift+R) Ah, this fixed it for me 👍
Author
Owner

@wforumw commented on GitHub (Feb 27, 2022):

Thanks!! This fixed it for me

@wforumw commented on GitHub (Feb 27, 2022): Thanks!! This fixed it for me
Author
Owner

@ssddanbrown commented on GitHub (Feb 27, 2022):

Thanks both for confirming. I usually update references for the editor script to force caches to be broken but forgot to do that for this release. Have tweaked this for our next patch release so users don't have to manually perform a hard refresh.

@ssddanbrown commented on GitHub (Feb 27, 2022): Thanks both for confirming. I usually update references for the editor script to force caches to be broken but forgot to do that for this release. Have tweaked this for our next patch release so users don't have to manually perform a hard refresh.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2679