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

editorjs-element

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

editorjs-element

Shadowed Editor.js element with iframe

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

Welcome to editorjs-element 👋

Version License: MIT Total alerts Language grade: JavaScript Twitter: hata6502

Shadowed Editor.js element with iframe

💡 Motivation

DOM event, CSS Style, etc may conflict each other when multiple Editor.js instances are launched in same page. By launching Editor.js in iframe, these problems are resolved forcibly. This repository provides the template of Editor.js in iframe.

Usage

Launch editorjs-element by loading dist/index.html in iframe.

<iframe src="index.html"></iframe>

editorjs-element can be communicated via window.postMessage. The message interface is here, and example is here (window.addEventListener).

This repository is a template, please fork it in order to customize Editor.js!

Build

yarn webpack

Run tests

yarn test

Author

hata6502 hata6502

🤝 Contributing

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

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 hata6502.
This project is MIT licensed.

Disclaimer

Please see DISCLAIMER.md.


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

Keywords

FAQs

Package last updated on 04 Oct 2020

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