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 | 1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
1×
| define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IMAGE = 'INSERT-IMAGE';
exports.AUDIO = 'INSERT-AUDIO';
exports.VIDEO = 'INSERT-VIDEO';
exports.TABLE = 'INSERT-TABLE';
exports.LINK = 'INSERT-LINK';
exports.INSERT_ROW = 'INSERT-ROW';
exports.INSERT_COLUMN = 'INSERT-COLUMN';
exports.DELETEROW = 'DELETE-ROW';
exports.DELETECOLUMN = 'DELETE-COLUMN';
exports.REMOVETABLE = 'REMOVE-TABLE';
exports.TABLEHEADER = 'TABLE-HEADER';
exports.TABLE_VERTICAL_ALIGN = 'TABLE_VERTICAL_ALIGN';
exports.TABLE_MERGE = 'TABLE_MERGE';
exports.TABLE_VERTICAL_SPLIT = 'TABLE_VERTICAL_SPLIT';
exports.TABLE_HORIZONTAL_SPLIT = 'TABLE_HORIZONTAL_SPLIT';
exports.TABLE_MOVE = 'TABLE_MOVE';
exports.ALIGNMENT_TYPE = 'alignment-type';
exports.INDENT_TYPE = 'indent-type';
exports.DEFAULT_TAG = 'p';
exports.BLOCK_TAGS = ['address', 'article', 'aside', 'audio', 'blockquote',
'canvas', 'details', 'dd', 'div', 'dl', 'dt', 'fieldset', 'figcaption', 'figure', 'footer',
'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'li', 'main', 'nav',
'noscript', 'ol', 'output', 'p', 'pre', 'section', 'table', 'tbody', 'td', 'tfoot', 'th',
'thead', 'tr', 'ul', 'video', 'body'];
exports.IGNORE_BLOCK_TAGS = ['td', 'th'];
exports.TABLE_BLOCK_TAGS = ['table', 'tbody', 'td', 'tfoot', 'th',
'thead', 'tr'];
exports.SELECTION_TYPE = 'selection-type';
exports.INSERTHTML_TYPE = 'inserthtml-type';
exports.INSERT_TEXT_TYPE = 'insert-text-type';
exports.CLEAR_TYPE = 'clear-type';
exports.SELF_CLOSING_TAGS = ['area', 'base', 'br', 'embed', 'hr', 'img', 'input', 'param', 'source', 'track', 'wbr', 'iframe', 'td', 'table'];
exports.PASTE_SOURCE = ['word', 'excel', 'onenote'];
});
|