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

@chatterbug/chatterslate

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chatterbug/chatterslate

SlateJS editor for Chatterbug

  • 0.7.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

✒️ Chatterslate

SlateJS editor for Chatterbug.

Chatterslate Demo

We use this editor at Chatterbug for our "Topic Explanations", which are mini-blog posts that teach our curriculum to students.

Features

The editor shown above uses lots of goodies from SlateJS, including the slate-edit-table plugin.

Marks

These are "inline" edits. Chatterslate supports:

  • Bold
  • Italic
  • Underline
  • Strikethrough
  • Language (highlights text with the language we are teaching)
  • Color (with a few that are preselected)

Examples of these:

marks

Voids

"Void" blocks in Chatterslate are just easy ways to insert chars into the editor. Chatterslate comes with:

  • Several kinds of arrows
  • Easy access to different quote styles
  • Underscore lines to denote a fill-in-the-blank
  • Horizontal rule

Examples of these:

voids

Blocks

Blocks are usually multiple-line content chunks. Chatterslate includes:

  • Left/Center/Right aligned Blocks
  • Bulleted list
  • Numbered list
  • Header one
  • Header two

Examples of these:

bullets

header

Patterns

Patterns are also blocks, but these are how we teach language concepts in a more concise + design focused way.

  • "Examples"

examples

  • "Conversation"

conversation

  • "Watch Out" aside

watchout

  • "Cultural" aside

cultural

  • "Note" aside

note

Tables

We do have a few tables as well as these are also useful. The editor allows adding/removing rows from the table or the entire table if necessary. Tables included are:

  • Arrow table

arrow

  • Two Column table

twocolumn

  • Three Column table

threecolumn

Install

Run:

yarn install

Then:

yarn start

Now open http://localhost:8080 in your browser, and if you have the LiveReload plugin installed, it'll automatically refresh for any changes in the examples/ or src/ directories!

Publishing to NPM

You'll need to be signed in via NPM first!

npm version patch # or minor or major; commits new version number
yarn release # pushes to github + npm publish

License

MIT. Please see LICENSE.

FAQs

Package last updated on 26 Jun 2019

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