
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@retikolo/drag-drop-content-types
Advanced tools
This plugin add a drag and droppable list that allows you to sort content type entries.
Install with NPM.
npm i @retikolo/drag-drop-content-types
Install with Yarn.
yarn add @retikolo/drag-drop-content-types
config/plugins.js
file. Create the file, if it doesn't exist.module.exports = {
// ...
'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.
The npm package @retikolo/drag-drop-content-types receives a total of 1,266 weekly downloads. As such, @retikolo/drag-drop-content-types popularity was classified as popular.
We found that @retikolo/drag-drop-content-types 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.