Skip to content
React component which wraps Slate.js editor with plugins to label entities in text
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
public
src
.gitignore
README.md
images.d.ts
package-lock.json
package.json
tsconfig.json
tsconfig.prod.json
tsconfig.test.json
tslint.json

README.md

Slate Entity Labeler

What is it?

React component to help labeling entities within a given string of text. Built on: https://www.slatejs.org

Getting Started

Install

npm i slate-entity-labeler

Import

import { SlateEntityLabeler } from 'slate-entity-labeler'

Declare

<SateEntityLabeler
  text={this.state.text}
  entities={this.state.entities}
  labeledEntities={this.state.labeledEntities}
  onChange={this.onChangeLabeledEntities}
/>

Demo

https://mattmazzola.github.io/slate-entity-labeler/

Source

https://github.com/mattmazzola/slate-entity-labeler

You can’t perform that action at this time.