
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@yunusemrejs/drag-drop-content-types-strapi5
Advanced tools
A powerful Strapi plugin that enables intuitive drag-and-drop sorting of content types with real-time updates, optimized performance, and a seamless user experience.
A powerful and intuitive drag-and-drop sorting solution for Strapi v5 content types
Originally inspired by the Drag-Drop-Content-Type Strapi 4 plugin, this plugin has been completely rewritten using the modern dnd-kit library to ensure compatibility with React 18 and provide better performance.
# Using npm
npm install @yunusemrejs/drag-drop-content-types-strapi5
# Using yarn
yarn add @yunusemrejs/drag-drop-content-types-strapi5
# Using pnpm
pnpm add @yunusemrejs/drag-drop-content-types-strapi5
Create or modify your config/plugins.ts
file:
export default () => ({
'drag-drop-content-types-strapi5': {
enabled: true,
},
});
npm run build
npm run develop
Settings
→ Drag Drop Content Type
→ Configuration
Rank Field Name
(default: rank
)Default sort attribute
: Your rank fieldDefault sort order
: ASCDisplay Settings
{
title: 'name', // Field to use as title
subtitle: 'description', // Optional: Field to show as subtitle
mainField: 'title' // Optional: Fallback field
}
Webhook Integration Enable webhooks to trigger external systems when order changes
Grant appropriate permissions in Settings → Users & Permissions → Roles:
Fetch ordered content:
# Basic sorting
GET /api/{content-type}?sort=rank:asc
# With pagination
GET /api/{content-type}?sort=rank:asc&pagination[page]=1&pagination[pageSize]=25
# With relations
GET /api/{content-type}?sort=rank:asc&populate=*
query {
contentType(sort: "rank:asc") {
data {
id
attributes {
title
rank
}
}
}
}
MIT © Yunus Emre Kara
FAQs
A powerful Strapi plugin that enables intuitive drag-and-drop sorting of content types with real-time updates, optimized performance, and a seamless user experience.
The npm package @yunusemrejs/drag-drop-content-types-strapi5 receives a total of 89 weekly downloads. As such, @yunusemrejs/drag-drop-content-types-strapi5 popularity was classified as not popular.
We found that @yunusemrejs/drag-drop-content-types-strapi5 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.