Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

editorjs-layout

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

editorjs-layout

Layout block tool for Editor.js.

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
575
increased by11.43%
Maintainers
1
Weekly downloads
 
Created
Source

Welcome to editorjs-layout 👋

Version License: MIT Twitter: hata6502

Layout block tool for Editor.js.

Demo

demo

Install

Install via yarn

yarn add editorjs-layout

Load from CDN

<script src="https://cdn.jsdelivr.net/npm/editorjs-layout@latest"></script>

Usage

Please see demo HTML.

Config params

Please see type declaration of LayoutBlockToolConfig.

Output data

Please see type declaration of ValidatedLayoutBlockToolData.

Copied data

Please see type declaration of LayoutBlockToolData.

NOTE: Copied block data by ctrl+c are not validated. So copied block data and output block data may be different. Please see also this comment.

<dialog> polyfill

editorjs-layout uses <dialog> element and GoogleChrome/dialog-polyfill. Please load dialog-polyfill.css in your document.

<head>
  <link
    rel="stylesheet"
    href="https://cdn.jsdelivr.net/npm/dialog-polyfill@0.5.6/dist/dialog-polyfill.css"
    integrity="sha256-hT0ET4tfm+7MyjeBepBgV2N5tOmsAVKcTWhH82jvoaA="
    crossorigin="anonymous"
  />
</head>

Build

yarn webpack

Format

yarn fix

Run tests

yarn test

Author

Tomoyuki Hata Tomoyuki Hata hato6502@gmail.com

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

Disclaimer

The following creations are included in this product:

Please see also DISCLAIMER.md.


This README was generated with ❤️ by readme-md-generator

Keywords

FAQs

Package last updated on 03 Feb 2021

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc