1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-23 16:55:23 +01:00
Somasundaram Ayyappan b5880e607f Doc fixes (#102)
* replace block api refs with inline

* fix inline link refs in static method sections

* link fixes in few more files
2016-07-17 14:00:31 -07:00

530 B

Data

import { Data } from 'slate'

Data is simply a thin wrapper around Immutable.Map, so that you don't need to ever depend on Immutable directly, and for future compatibility.

A data object can have any properties associated with it.

Static Methods

Data.create

Data.create(properties: Object) => Data

Create a data object from a plain Javascript object of properties.