From ebe622e3dd3e8e755cf82218661b4be88fda3cfd Mon Sep 17 00:00:00 2001 From: Copons Date: Thu, 12 Dec 2019 12:01:11 +0000 Subject: [PATCH] Remove disable-nux-tour from the WPCOM Block Editor integration --- apps/wpcom-block-editor/README.md | 1 - apps/wpcom-block-editor/src/common/disable-nux-tour.js | 7 ------- apps/wpcom-block-editor/src/common/index.js | 1 - 3 files changed, 9 deletions(-) delete mode 100644 apps/wpcom-block-editor/src/common/disable-nux-tour.js diff --git a/apps/wpcom-block-editor/README.md b/apps/wpcom-block-editor/README.md index a772fc909c21e8..df06eada8e7581 100644 --- a/apps/wpcom-block-editor/README.md +++ b/apps/wpcom-block-editor/README.md @@ -18,7 +18,6 @@ There are two environments the block editor integration supports: ### Common utilities -- `disable-nux-tour.js`: Disable the pop-up tooltip tour that is displayed on first use. - `rich-text.js`: Extensions for the Rich Text toolbar with the Calypso buttons missing on Core (i.e. underline, justify). - `fix-block-invalidation-errors.js`: (Atomic/Simple) Performs block attempt block recovery on editor load if validation errors are detected. - `switch-to-classic.js`: Append a button to the "More tools" menu for switching to the classic editor. diff --git a/apps/wpcom-block-editor/src/common/disable-nux-tour.js b/apps/wpcom-block-editor/src/common/disable-nux-tour.js deleted file mode 100644 index f8c2fb20dacb2e..00000000000000 --- a/apps/wpcom-block-editor/src/common/disable-nux-tour.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * External dependencies - */ -import { dispatch } from '@wordpress/data'; -import '@wordpress/nux'; //ensure nux store loads - -dispatch( 'core/nux' ).disableTips(); diff --git a/apps/wpcom-block-editor/src/common/index.js b/apps/wpcom-block-editor/src/common/index.js index 2c77362b32dc8e..37b16d1d00a879 100644 --- a/apps/wpcom-block-editor/src/common/index.js +++ b/apps/wpcom-block-editor/src/common/index.js @@ -1,7 +1,6 @@ /** * Internal dependencies */ -import './disable-nux-tour'; import './fix-block-invalidation-errors'; import './reorder-block-categories'; import './rich-text';