diff --git a/editor/editor/editor.php b/editor/editor/editor.php index a69667d13c..6a324fb28f 100755 --- a/editor/editor/editor.php +++ b/editor/editor/editor.php @@ -82,13 +82,14 @@ public function getClientConfig( $editorConfig, $context ) { } $config = [ - 'hash' => wp_create_nonce( Brizy_Editor_API::nonce ), - 'editorVersion' => BRIZY_EDITOR_VERSION, - 'url' => set_url_scheme( admin_url( 'admin-ajax.php' ) ), - 'actions' => $this->getApiActions(), - 'pageId' => $this->post->getWpPostId(), - 'collectionTypes' => $editorConfig['wp']['postLoopSources'] - ]; + 'pluginPrefixprefix' => Brizy_Editor::prefix(), + 'hash' => wp_create_nonce( Brizy_Editor_API::nonce ), + 'editorVersion' => BRIZY_EDITOR_VERSION, + 'url' => set_url_scheme( admin_url( 'admin-ajax.php' ) ), + 'actions' => $this->getApiActions(), + 'pageId' => $this->post->getWpPostId(), + 'collectionTypes' => $editorConfig['wp']['postLoopSources'] + ]; $config = $this->getApiConfigFields( $config, $context );