A rich editor based on slate.js.
react
slate.js
typescript
antd
rich-editor
npm install bricky
import { Editor } from 'bricky';
{
"compilerOptions": { },
"include": [
"src",
"./node_modules/bricky/esm/slate.d.ts" // extend slate CustomTypes
]
}
or
/// <reference types="bricky/esm/slate.d.ts" />
cd ~/bricky # go into this package directory
npm link # creates global link
cd ~/my-project # go into some other package directory.
npm link bricky # link-install the package, --save: change the package.json