mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-28 01:19:52 +02:00
clean up examples
This commit is contained in:
@@ -6,7 +6,7 @@ import initialState from './state.json'
|
||||
import { Map } from 'immutable'
|
||||
|
||||
/**
|
||||
* Node renderers.
|
||||
* Define a set of node renderers.
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
@@ -29,6 +29,12 @@ const NODES = {
|
||||
|
||||
class Images extends React.Component {
|
||||
|
||||
/**
|
||||
* Deserialize the raw initial state.
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
|
||||
state = {
|
||||
state: Raw.deserialize(initialState)
|
||||
};
|
||||
|
Reference in New Issue
Block a user