Roots Discourse

Sage 9/Bedrock + Gutenberg Error

Hello,

Using Sage 9/Bedrock Stack with Gutenberg (2.4.0) gives an error when loading the codemirror styles/scripts (see below).

I believe this is due to the fact Bedrock is on a subfolder because it is trying to load the script directly from /wp-admin and not /wp/wp-admin.

Anything we can do to workaround this?

image

Failed to load resource: the server responded with a status of 404 ()

/wp-admin/load-scripts.php?load=wp-codemirror,code-editor,htmlhint,csslint,jshint:1 Failed to load resource: the server responded with a status of 404 ()

load-styles.php:1 Failed to load resource: the server responded with a status of 404 ()

Gutenberg doesn’t support WP installed in a subdirectory? Are you sure…? I’ve used it on Bedrock without a problem previously.

Either way, this is not a bug what we’re responsible for and should be reported upstream if it’s an actual issue.