File "edit-post-strings-editor.js"

Full Path: /home/shadsolw/public_html/wp-content/plugins/extendify/src/Agent/workflows/content/edit-post-strings-editor.js
File size: 412 bytes
MIME-type: text/x-java
Charset: utf-8

import { UpdatePostConfirmEditor } from '@agent/workflows/content/components/UpdatePostConfirmEditor';

const { abilities, context } = window.extAgentData;

// When on the edit screen
export default {
	available: () =>
		abilities?.canEditPost &&
		context?.usingBlockEditor &&
		context?.adminPage &&
		context?.postId,
	id: 'edit-post-strings-editor',
	whenFinished: { component: UpdatePostConfirmEditor },
};