i installed gutenberg on my preproduction server. Ubuntu 20.04 with varnish and nginx. On a drupal 9.1.0. I installed three versions, 1.11, 2.x-dev and 2.0-beta2. The problem is the same.
Cannot save document or preview it. I have in the dev console, the following message: An invalid form control with name = 'body [0] [value]' is not focusable.
(anonymous) @ gutenberg.js? qm3hu5: 275
dispatch @ jquery.min.js? v = 3.5.1: 2
v.handle @ jquery.min.js? v = 3.5.1: 2

Locally everything is going well.

Comments

fhebert created an issue. See original summary.

henrikakselsen’s picture

Isn't that the error that comes up in the console when one tries to save the node without adding title? Are you sure you added title?

henrikakselsen’s picture

fhebert’s picture

Yes i'm pretty sure I added the title

henrikakselsen’s picture

Status: Active » Closed (cannot reproduce)

If title was added, we can't reproduce. Closing. Reopen if it happens again, with more details and steps.

somms’s picture

I have got the same error, despite I have set a title or not. I have used Gutenberg previously in the same project without problem, but it is failing now. Probably it is a conflict with other module(s).

I thought it was a conflict with Web Components, but after uninstalling the module the error persists

All the best.
Julio

parth.kukadiya’s picture

I facing simillar issue on the Gutenberg editor.

I am using latest version of Gutenberg 8.x-2.1 in the Drupal version 9.2.4

In one of the content types I have marked 'Body' field as required. I have applied Gutenberg on the body field in the same content type. Now when adding a new content and ignoring to add content on the required field Body results in the issue mentioned here.

Please help.

Leksat’s picture

Just got this error on a new content type I created. The solution was to make the Body field optional.

hodba’s picture

#8 worked for me. Thanks Leksat!