Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
gigitux committed Sep 13, 2024
1 parent bf1462a commit 4db6b4c
Show file tree
Hide file tree
Showing 14 changed files with 911 additions and 550 deletions.
109 changes: 0 additions & 109 deletions packages/editor/src/dataviews/actions/delete-post.tsx

This file was deleted.

147 changes: 0 additions & 147 deletions packages/editor/src/dataviews/actions/reset-post.tsx

This file was deleted.

7 changes: 3 additions & 4 deletions packages/editor/src/dataviews/store/private-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ import {
restorePost,
trashPost,
renamePost,
resetTemplate,
} from '@wordpress/fields';
import duplicateTemplatePart from '../actions/duplicate-template-part';
import deletePost from '../actions/delete-post';
import resetPost from '../actions/reset-post';
import { resetPost } from '../../store/actions';

export function registerEntityAction< Item >(
kind: string,
Expand Down Expand Up @@ -117,7 +116,7 @@ export const registerPostTypeActions =
? reorderPage
: undefined,
postTypeConfig.slug === 'wp_block' ? exportPattern : undefined,
resetPost,
resetTemplate,
restorePost,
deletePost,
trashPost,
Expand Down
1 change: 1 addition & 0 deletions packages/fields/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"@wordpress/private-apis": "file:../private-apis",
"@wordpress/url": "file:../url",
"@wordpress/warning": "file:../warning",
"@wordpress/api-fetch": "file:../api-fetch",
"change-case": "4.1.2",
"client-zip": "^2.4.5"
},
Expand Down
Loading

0 comments on commit 4db6b4c

Please sign in to comment.