Getting Started
install package
npm install @hexx/editor# oryarn 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>