This is the description of the plugin.

Usage no npm install needed!

<script type="module">
  import strapiPluginLayoutEditor from '';


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.


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;