Skip to content

Instantly share code, notes, and snippets.

@yasudacloud
Created March 25, 2025 14:34
Show Gist options
  • Save yasudacloud/e46958deab4b74f5ab08baa6720d19e9 to your computer and use it in GitHub Desktop.
Save yasudacloud/e46958deab4b74f5ab08baa6720d19e9 to your computer and use it in GitHub Desktop.
strapi editview right custom
import type {StrapiApp} from '@strapi/strapi/admin';
import {EditViewCustom} from "./components/EditViewCustom";
export default {
bootstrap(app: StrapiApp) {
},
register(app: StrapiApp) {
const contentManager = app.getPlugin('content-manager')
contentManager.injectComponent('editView', 'right-links', {
name: 'right-link-custom',
Component: (props) => <EditViewCustom {...props}/>
})
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment