import { Character } from 'slate'
A character in a Text
node.
Characters are how Slate associates Marks
with a range of text, for formatting.
Character({
marks: Immutable.Set<Mark>,
text: String
})
Immutable.Set
A set of Marks
attached to the character.
String
The text string of the character.
Character.create(properties: Object) => Character
Create a character from a plain Javascript object of properties
.
Character.createList(array: Array) => List
Create a list of characters from a plain Javascript array
.