Socket
Socket
Sign inDemoInstall

dropdeck-slate-react

Package Overview
Dependencies
16
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dropdeck-slate-react

Tools for building completely customizable richtext editors with React.


Version published
Weekly downloads
295
decreased by-4.84%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

This package contains the React-specific logic for Slate, which has been patched for use in Typeset/Dropdeck. It's separated further into a series of directories:

  • Components — containing the React components for rendering Slate editors.
  • Hooks — containing a few React hooks for Slate editors.
  • Plugins — containing the React-specific plugins for Slate editors.
  • Utils — containing a few private convenience modules.

Feel free to poke around in each of them to learn more!

Build and deployment

You build the package by running yarn build in the root of the slate repo. Once built, navigate into this repository and do the following:

npm login # if you haven't already; you need to login as an account with access to the dropdeck-slate-react project on NPM.js
npm publish --dry-run # to test that everything is working
npm publish # to publish the package; note this requires a one-time password from your authenticator app

Note: Make sure to update the version number in package.json before publishing.

Keywords

FAQs

Last updated on 19 Dec 2023

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