|
Server : LiteSpeed System : Linux server104.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : saleoqej ( 6848) PHP Version : 8.0.30 Disable Function : NONE Directory : /home/saleoqej/chijamzacademy.com/wp-content/plugins/extendify/src/Assist/tasks/ |
import { __ } from '@wordpress/i18n';
import { AiWritingAssistantMarkup } from '@assist/tasks/images/AiWritingAssistantMarkup';
import { hasPageCreatorEnabled } from '@help-center/lib/utils';
export default {
slug: 'ai-text-editor',
title: __('AI Writing Assistant', 'extendify-local'),
sidebarTitle: __('Edit a page with AI', 'extendify-local'),
description: __(
'Get to know your WordPress site easily. Learn simple steps to find and use its main features.',
'extendify-local',
),
buttonLabels: {
completed: __('Revisit', 'extendify-local'),
notCompleted: __('Start Writing with AI', 'extendify-local'),
},
link: hasPageCreatorEnabled
? 'post-new.php?post_type=page&ext-page-creator-close=1'
: 'post-new.php?post_type=page&ext-close=1',
type: 'html-text-button',
dependencies: { plugins: [] },
show: () => !!window.extSharedData?.showDraft,
backgroundImage: null,
htmlBefore: () => (
<AiWritingAssistantMarkup
className="border-gray300 pointer-events-none relative hidden h-full min-h-56 w-full overflow-hidden rounded-t-lg border bg-gray-100 pt-5 lg:block"
aria-hidden="true"
/>
),
};