diff --git a/lib/client-assets.php b/lib/client-assets.php index 1cc21e77d34b26..af4baa362d4cae 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -111,7 +111,7 @@ function gutenberg_override_script( $scripts, $handle, $src, $deps = array(), $v */ $scripts->add_inline_script( 'wp-editor', - 'Object.assign(window.wp.editor, window.wp.oldEditor);', + 'Object.assign( window.wp.editor, window.wp.oldEditor );', 'after' ); }