The Edit Post page has 1 dashboard menu plugin slot.
Learn more about dashboard plugins and slots.
Navigate to this page by creating a new post or editing an existing post:
This dashboard menu plugin slot is located in the top right corner in the Edit Post page.
This menu plugin slot can host multiple plugins.
The plugins are displayed vertically and ordered by date created, with the most recently created plugin displayed at the bottom.
Slot name | Slot type | ID | Interface |
---|---|---|---|
More actions menu | Dashboard menu plugin slot | 1e756df4-6c2e-403c-b81c-c3de62aebac7 | EditPostMainMoreActionsMenuParams |
You can implement logic in your plugin using the Wix Blog APIs:
Apps built by Wix pass parameters via dashboard slots for you to utilize in your plugin’s functionality. Learn how to interact with and retrieve parameters from the dashboard page.
Use this in the code for the page or modal opened by the dashboard menu plugin.
import React, { type FC } from 'react';
import { WixDesignSystemProvider, Button } from '@wix/design-system';
import '@wix/design-system/styles.global.css';
import { plugins } from "@wix/blog/dashboard";
type EditPostMainMoreActionsMenuParams = plugins.Posts.EditPostMainMoreActionsMenuParams;
const Modal: FC<EditPostMainMoreActionsMenuParams> = (props: EditPostMainMoreActionsMenuParams) => {
return (
<WixDesignSystemProvider features={{ newColorsBranding: true }}>
<Button onClick={() => ({})}
>
Click me!
</Button>
</WixDesignSystemProvider>
);
};
export default Modal;