Skip to content
Snippets Groups Projects
Commit bc779625 authored by Marcin Kolanko's avatar Marcin Kolanko
Browse files

fix: replace gutenberg handle

parent 9634aa3b
No related branches found
No related tags found
1 merge request!30Bugfix/wordpress review
Pipeline #507672 passed with warnings
......@@ -71,12 +71,12 @@ class AjaxHandler implements HookablePluginDependant {
if($this->isBlockEditor()){
wp_register_script(
self::SCRIPT_HANDLE,
self::SCRIPT_HANDLE_GUTENBERG,
trailingslashit( $this->assetsURL ) . 'js/gutenberg.js',
[ 'jquery' ],
self::SCRIPTS_VERSION
);
wp_enqueue_script( self::SCRIPT_HANDLE );
wp_enqueue_script( self::SCRIPT_HANDLE_GUTENBERG );
}else{
wp_register_style(
self::SCRIPT_HANDLE,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment