Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

strapi-plugin-layout-editor

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strapi-plugin-layout-editor

This is the description of the plugin.

latest
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

Strapi plugin layout-editor

Exposes another endpoint to get layout data

Note: this plugin is for the strapi backend only, it requires a seperate ui to work correctly.

http://localhost:1337/layout-editor/:model/:modelId/layouts

It will return with an object of

const model = {
    id: string;
    model: string;
    modelId: string;
    layoutJson: LayoutJson;
}

where your LayoutJson interface, at a minimum, has these fields,

interface LayoutJson {
  i: string;
  x: number;
  y: number;
  w: number;
  h: number;
}

FAQs

Package last updated on 25 Oct 2019

Did you know?

Socket

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.

Install

Related posts