Skip to content

Commit f99ceb4

Browse files
committed
move register plugin
1 parent 0752343 commit f99ceb4

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/components/guided-modal-tour/editor-block-tour.js renamed to src/plugins/guided-modal-tour/editor-block-tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
import { registerPlugin } from '@wordpress/plugins'
3-
import GuidedModalTour from './index'
3+
import { GuidedModalTour } from '~stackable/components'
44

55
const EditorBlockTour = () => {
66
return <GuidedModalTour tourId="blocks" />

src/plugins/guided-modal-tour-trigger/index.js renamed to src/plugins/guided-modal-tour/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import { registerPlugin } from '@wordpress/plugins'
88
import { useEffect } from '@wordpress/element'
99
import { dispatch } from '@wordpress/data'
1010

11+
import './editor-block-tour'
12+
1113
const TourTrigger = () => {
1214
useEffect( () => {
1315
// Check the GET parameter for the tour ID.

src/plugins/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import './global-settings'
55
import './theme-block-size'
66
import './design-library-button'
77
import './layout-picker-reset'
8-
import './guided-modal-tour-trigger'
8+
import './guided-modal-tour'
99
// import './v2-migration-popup' // Probably 1.5yrs of checking for backward compatibility is enough.
1010
import './editor-device-preview-class'
1111
import './theme-block-style-inheritance'

0 commit comments

Comments
 (0)