Skip to content
/ hexx Public
forked from 0xycvv/hexx

notion like block editor in react

Notifications You must be signed in to change notification settings

okmr-d/hexx

 
 

Repository files navigation

Getting Started

install package

npm install @hexx/editor
# or
yarn add @hexx/editor

Example

import { Editor } from '@hexx/editor';
import {
  BlockMap, // default block mapping
  // preset
  PlusButton,
  TuneButton,
  InlineTool,
  // additional inline tool
  InlineCode,
  InlineMarker,
  InlineLink
} from '@hexx/editor/components';

<Editor blockMap={BlockMap}>
  <PlusButton />
  <TuneButton />
  <InlineTool>
    <InlineMarker />
    <InlineCode />
    <InlineLink />
  </InlineTool>
</Editor>

About

notion like block editor in react

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 84.6%
  • JavaScript 12.7%
  • CSS 2.7%