Socket
Socket
Sign inDemoInstall

apostrophe-area-structure

Package Overview
Dependencies
18
Maintainers
13
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    apostrophe-area-structure

### A tool for visualizing a page's area structure


Version published
Weekly downloads
13
decreased by-50%
Maintainers
13
Install size
6.84 MB
Created
Weekly downloads
 

Changelog

Source

1.1.1 2020-08-26

  • Areas with edit: false caused a situation where the area structure modal would not function properly. In addition, areas appearing twice on the page confused the module. These issues have been fixed.
  • Workflow compatibility: the workflowModified property is now set to true when this module modifies an area.
  • Adds the package-lock.json file to .gitignore and deletes it.

Readme

Source

apostrophe-area-structure

A tool for visualizing a page's area structure

A demo of the apostrophe-area-structure module

This module adds a Page Area Structure menu item to your Page Settings menu that unspools the current page's DOM for all areas and their widgets (and those widget's areas and their widgets, etc) and nests them in a way that makes it simple to see their structure, without widget players/CSS obscuring them.

The menu displays the area's name (key the area is stored in on the document) as well as what the parent document's title/slug.

From this menu you can delete a widget (which will delete all of its child areas, etc., just as it would if you clicked the delete button for that widget on the page).

You can also edit a widget. This will close the Page Area Structure dialog box and scroll to the widget, before activating the appropriate editor dialog box or in the case of rich text, triggering a click to initiate the on-page editor.

Installation

In your Apostrophe project:

  • npm i apostrophe-area-structure
  • In your app.js
const apos = require('apostrophe')({
  shortName: 'my-project',
  modules: {
    // ... other configuration
    'apostrophe-area-structure': {}
  }
});

Keywords

FAQs

Last updated on 26 Aug 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc