����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import { waitUntilExists, waitUntilGone } from '@help-center/lib/tour-helpers';
import { hasPageCreatorEnabled } from '@help-center/lib/utils';
import { __, isRTL } from '@wordpress/i18n';
export default {
id: 'library-tour',
title: __('Design Library', 'extendify-local'),
settings: {
allowOverflow: true,
hideDotsNav: true,
startFrom: [
hasPageCreatorEnabled
? `${window.extSharedData.adminUrl}post-new.php?post_type=page&ext-page-creator-close=1`
: `${window.extSharedData.adminUrl}post-new.php?post_type=page&ext-close=1`,
`${window.extSharedData.adminUrl}post-new.php?post_type=page`,
],
},
onStart: async () => {
// Wait for gutenberg to be ready
await waitUntilExists('#extendify-library-btn');
// Close sidebar if open
document
.querySelector(`[aria-label="${__('Settings')}"].is-pressed`)
?.click();
},
steps: [
{
title: __('Open the Pattern Library', 'extendify-local'),
text: __(
'The Extendify pattern library can be opened by clicking the button to the left.',
'extendify-local',
),
attachTo: {
element: '#extendify-library-btn [role="button"]',
offset: {
marginTop: 0,
marginLeft: isRTL() ? -15 : 15,
},
position: {
x: isRTL() ? 'left' : 'right',
y: 'top',
},
hook: isRTL() ? 'top right' : 'top left',
},
events: {
beforeAttach: () => {},
},
},
{
title: __('Filter Patterns', 'extendify-local'),
text: __(
'Click on any pattern category to refine the selection.',
'extendify-local',
),
attachTo: {
element: '#extendify-library-category-control',
position: {
x: isRTL() ? 'left' : 'right',
y: 'top',
},
hook: isRTL() ? 'top right' : 'top left',
},
options: {
allowPointerEvents: true,
},
events: {
beforeAttach: async () => {
// Open the Extendify library panel
dispatchEvent(new CustomEvent('extendify::open-library'));
return await waitUntilExists('#extendify-library-category-control');
},
},
},
{
title: __('Select a Pattern', 'extendify-local'),
text: __(
'Simply select any pattern you wish to insert into a page by clicking on it.',
'extendify-local',
),
attachTo: {
element: '#extendify-library-patterns-list',
position: {
x: isRTL() ? 'right' : 'left',
y: 'top',
},
hook: isRTL() ? 'top right' : 'top left',
},
events: {
beforeAttach: async () => {
await waitUntilExists('#extendify-library-patterns-list');
},
},
},
{
title: __('View the Inserted Pattern', 'extendify-local'),
text: __(
'The selected pattern has been inserted into the page.',
'extendify-local',
),
attachTo: {
element: '.wp-block-group:last-child',
frame: 'iframe[name="editor-canvas"]',
offset: {
marginTop: 15,
marginLeft: 0,
},
position: {
x: isRTL() ? 'left' : 'right',
y: 'top',
},
hook: isRTL() ? 'top left' : 'top right',
},
events: {
beforeAttach: async () => {
document
.querySelector('#extendify-library-patterns-list .library-pattern')
?.click();
return await waitUntilGone('#extendify-library-patterns-list');
},
},
options: {
hideBackButton: true,
},
},
],
};
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| library-tour.js | File | 3.2 KB | 0644 |
|
| page-creator.js | File | 3.26 KB | 0644 |
|
| page-editor.js | File | 7.23 KB | 0644 |
|
| plugin-install.js | File | 3.04 KB | 0644 |
|
| plugin-management.js | File | 3.06 KB | 0644 |
|
| site-assistant.js | File | 3.83 KB | 0644 |
|
| style-editor.js | File | 8.33 KB | 0644 |
|
| tours.js | File | 1.19 KB | 0644 |
|
| users-screen.js | File | 3.22 KB | 0644 |
|
| welcome.js | File | 8.97 KB | 0644 |
|