Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
demountable
/
wp-content
/
plugins
/
extendify
/
src
/
Assist
/
tasks
:
ai-text-editor.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
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" /> ), };