HEX
Server: LiteSpeed
System: Linux server53.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: nahevttf (6494)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/nahevttf/public_html/wp-content/plugins/extendify/src/Assist/tasks/ai-text-editor.js
import { __ } from '@wordpress/i18n';
import { AiWritingAssistantMarkup } from '@assist/tasks/images/AiWritingAssistantMarkup';

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: 'post-new.php?post_type=page&ext-close',
	type: 'html-text-button',
	dependencies: { goals: [], 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"
		/>
	),
};