forked from ianstormtaylor/slate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
99 lines (86 loc) · 1.43 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/**
* Components.
*/
import Editor from './components/editor'
import Placeholder from './components/placeholder'
/**
* Models.
*/
import Block from './models/block'
import Character from './models/character'
import Data from './models/data'
import Document from './models/document'
import Inline from './models/inline'
import Mark from './models/mark'
import Schema from './models/schema'
import Selection from './models/selection'
import Stack from './models/stack'
import State from './models/state'
import Text from './models/text'
import Range from './models/range'
/**
* Serializers.
*/
import Html from './serializers/html'
import Plain from './serializers/plain'
import Raw from './serializers/raw'
/**
* Transforms.
*/
import Transforms from './transforms'
/**
* Utils.
*/
import findDOMNode from './utils/find-dom-node'
import { resetKeyGenerator, setKeyGenerator } from './utils/generate-key'
/**
* Export.
*
* @type {Object}
*/
export {
Block,
Character,
Data,
Document,
Editor,
Html,
Inline,
Mark,
Placeholder,
Plain,
Range,
Raw,
Schema,
Selection,
Stack,
State,
Text,
Transforms,
findDOMNode,
resetKeyGenerator,
setKeyGenerator
}
export default {
Block,
Character,
Data,
Document,
Editor,
Html,
Inline,
Mark,
Placeholder,
Plain,
Range,
Raw,
Schema,
Selection,
Stack,
State,
Text,
Transforms,
findDOMNode,
resetKeyGenerator,
setKeyGenerator
}