|
@@ -5,37 +5,39 @@ export const actions = {
|
5
|
5
|
getContentHtml: 'GET_CONTENT_HTML',
|
6
|
6
|
blurTitleEditor: 'BLUR_TITLE_EDITOR',
|
7
|
7
|
blurContentEditor: 'BLUR_CONTENT_EDITOR',
|
8
|
|
- setBold: 'SET_BOLD',
|
9
|
|
- setItalic: 'SET_ITALIC',
|
10
|
|
- setUnderline: 'SET_UNDERLINE',
|
11
|
|
- heading1: 'HEADING1',
|
12
|
|
- heading2: 'HEADING2',
|
13
|
|
- heading3: 'HEADING3',
|
14
|
|
- heading4: 'HEADING4',
|
15
|
|
- heading5: 'HEADING5',
|
16
|
|
- heading6: 'HEADING6',
|
|
8
|
+
|
|
9
|
+ setBold: 'bold',
|
|
10
|
+ setItalic: 'italic',
|
|
11
|
+ setUnderline: 'underline',
|
|
12
|
+ heading1: 'h1',
|
|
13
|
+ heading2: 'h2',
|
|
14
|
+ heading3: 'h3',
|
|
15
|
+ heading4: 'h4',
|
|
16
|
+ heading5: 'h5',
|
|
17
|
+ heading6: 'h6',
|
17
|
18
|
setParagraph: 'SET_PARAGRAPH',
|
18
|
19
|
removeFormat: 'REMOVE_FORMAT',
|
19
|
|
- alignLeft: 'ALIGN_LEFT',
|
20
|
|
- alignCenter: 'ALIGN_CENTER',
|
21
|
|
- alignRight: 'ALIGN_RIGHT',
|
22
|
|
- alignFull: 'ALIGN_FULL',
|
23
|
|
- insertBulletsList: 'INST_BULLETS',
|
24
|
|
- insertOrderedList: 'INST_ORDERED',
|
|
20
|
+ alignLeft: 'justifyLeft',
|
|
21
|
+ alignCenter: 'justifyCenter',
|
|
22
|
+ alignRight: 'justifyRight',
|
|
23
|
+ alignFull: 'justifyFull',
|
|
24
|
+ insertBulletsList: 'unorderedList',
|
|
25
|
+ insertOrderedList: 'orderedList',
|
25
|
26
|
insertLink: 'INST_LINK',
|
26
|
27
|
insertImage: 'INST_IMAGE',
|
27
|
|
- setSubscript: 'SET_SUB',
|
28
|
|
- setSuperscript: 'SET_SUPER',
|
29
|
|
- setStrikethrough: 'SET_STRIKETHRU',
|
30
|
|
- setHR: 'SET_HR',
|
31
|
|
- setIndent: 'SET_INDENT',
|
32
|
|
- setOutdent: 'SET_OUTDENT',
|
|
28
|
+ setSubscript: 'subscript',
|
|
29
|
+ setSuperscript: 'superscript',
|
|
30
|
+ setStrikethrough: 'strikeThrough',
|
|
31
|
+ setHR: 'horizontalRule',
|
|
32
|
+ setIndent: 'indent',
|
|
33
|
+ setOutdent: 'outdent',
|
33
|
34
|
setTitlePlaceholder: 'SET_TITLE_PLACEHOLDER',
|
34
|
35
|
setContentPlaceholder: 'SET_TITLE_PLACEHOLDER',
|
35
|
36
|
setTitleFocusHandler: 'SET_TITLE_FOCUS_HANDLER',
|
36
|
37
|
setContentFocusHandler: 'SET_CONTENT_FOCUS_HANDLER'
|
37
|
38
|
};
|
38
|
39
|
|
|
40
|
+
|
39
|
41
|
export const messages = {
|
40
|
42
|
TITLE_HTML_RESPONSE: 'TITLE_HTML_RESPONSE',
|
41
|
43
|
CONTENT_HTML_RESPONSE: 'CONTENT_HTML_RESPONSE',
|
|
@@ -43,5 +45,6 @@ export const messages = {
|
43
|
45
|
SCROLL: 'SCROLL',
|
44
|
46
|
LOG: 'LOG',
|
45
|
47
|
TITLE_FOCUSED: 'TITLE_FOCUSED',
|
46
|
|
- CONTENT_FOCUSED: 'CONTENT_FOCUSED'
|
|
48
|
+ CONTENT_FOCUSED: 'CONTENT_FOCUSED',
|
|
49
|
+ SELECTION_CHANGE: 'SELECTION_CHANGE'
|
47
|
50
|
}
|