Closed nilsmielke closed 11 months ago
You couldn't reproduce the issue in 4.0.0-beta.2 starterkit, so do you have any plugins or custom js?
You are right, of course, @afbora. Should have thought of a plugin potentially being the problem. Sorry for wasting your time.
I'm closing this for now. If you are able to track down what causes the issue and it turns out to be a bug in Kirby, please let us know and we'll reopen.
The “Extended Writer” plugin was responsible for those errors.
As I realised—after Ahmet’s nudge—the plugin has been sunset. With the upcoming release of Kirby v4 its features have found their way into core
.
Description
I have a layout field defined with a limited set of blocks (heading, text, list, image). When adding an image, there is no problem. As soon, as I try to add a text, list or heading block, though, the field starts throwing errors. For a text block the message is “this.content.text is null” on every action, that follows trying to add the block. Reloading the panel page, the field looks okay again. As soon as I try to edit … error. If I reset the field completely (read: delete all layout content) and I only add image blocks, everything works as expected. Adding one of the other field types … error.
To reproduce
No idea, what triggers this. I reverted the site to a backuped 3.9.6.1 version. There the problem did not exist. I cannot reproduce it in a Starterkit running 4.0.0-beta.2, either.
Your setup
Kirby Version
4.0.0-beta.2
Console output
Your system (please complete the following information)