
Security News
Google’s OSV Fix Just Added 500+ New Advisories — All Thanks to One Small Policy Change
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
@cslegany/drag-drop-content-types-strapi5
Advanced tools
This plugin add a drag and droppable list that allows you to sort content type entries.
Inspired by the Drag-Drop-Content-Type Strapi 4 plugin. Drag-drop feature completely rewritten to use dndkit because react-sortable-hoc is deprecated and not compatible with React 18.
Install with NPM.
npm i @cslegany/drag-drop-content-types-strapi5
Install with Yarn.
yarn add @cslegany/drag-drop-content-types-strapi5
config/plugins.ts
file. Create the file, if it doesn't exist.export default () => ({
// ...
'drag-drop-content-types': {
enabled: true
}
})
npm run build
and restart the app using npm run develop
.Settings
→ Drag Drop Content Type
→ Configuration
.Rank Field Name
used for sorting or leave the default field name rank
.Number
field with Name: myRankFieldName
and Number format: integer
to the sortable ContentType.Default sort attribute → rank
and Default sort order → ASC
to update the view after dragging.rank
field to your roles.title
value that will be displayed in the menu instead of the default field.subtitle
setting. It can be either a string-like field or an object such as a relation, that has a title
field as configured in the settings.You can make a request in the frontend to get the ordered items. In this example the ContentType is called Foo
and ordered via the rank
field.
http://localhost:1337/api/foo?sort=rank:asc
Feel free to fork and make pull requests to this plugin. All input is welcome - thanks for all contributions so far!
I you like this project, please give it a star ⭐️. Maybe this will help it getting integrated to strapi's core some day 😊.
FAQs
This plugin add a drag and droppable list that allows you to sort content type entries.
We found that @cslegany/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 1 open source maintainer 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
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
Research
/Security News
175 malicious npm packages (26k+ downloads) used unpkg CDN to host redirect scripts for a credential-phishing campaign targeting 135+ organizations worldwide.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.