File "edit-post-strings.js"
Full Path: /home/shadsolw/public_html/wp-content/plugins/extendify/src/Agent/workflows/content/edit-post-strings.js
File size: 387 bytes
MIME-type: text/x-java
Charset: utf-8
import { UpdatePostConfirm } from '@agent/workflows/content/components/UpdatePostConfirm';
const { context, abilities } = window.extAgentData;
export default {
available: () =>
abilities?.canEditPosts &&
!context?.adminPage &&
context?.postId &&
!context?.isBlogPage &&
context.usingBlockEditor,
id: 'edit-post-strings',
whenFinished: { component: UpdatePostConfirm },
};