0.0.28 • Published 5 years ago

@blocks/editor v0.0.28

Weekly downloads
11
License
MIT
Repository
github
Last release
5 years ago

@blocks/editor

WYSIWYG editor for the Blocks ecosystem.

Read the full docs

Installation

yarn add @blocks/editor

Usage

import React from 'react'
import { Editor } from '@blocks/editor'

export default () => (
  <Editor
    initialValue={'# Hello, world!'}
    onChange={value => console.log(value)}
  />
)