@syncfusion/ej2-richtexteditor 18.4.39 → 18.4.42-70943
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +782 -728
- package/README.md +67 -67
- package/dist/ej2-richtexteditor.umd.min.js +1 -10
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +249 -145
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +371 -267
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/helpers/e2e/index.js +3 -3
- package/license +9 -9
- package/package.json +76 -75
- package/src/common/interface.d.ts +6 -6
- package/src/editor-manager/base/classes.d.ts +1 -1
- package/src/editor-manager/base/classes.js +1 -1
- package/src/editor-manager/base/editor-manager.d.ts +3 -3
- package/src/editor-manager/base/editor-manager.js +3 -3
- package/src/editor-manager/base/interface.d.ts +7 -7
- package/src/editor-manager/base/types.d.ts +1 -1
- package/src/editor-manager/plugin/alignments.d.ts +2 -2
- package/src/editor-manager/plugin/alignments.js +2 -2
- package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
- package/src/editor-manager/plugin/clearformat-exec.js +2 -2
- package/src/editor-manager/plugin/clearformat.d.ts +1 -1
- package/src/editor-manager/plugin/clearformat.js +1 -1
- package/src/editor-manager/plugin/dom-node.d.ts +34 -34
- package/src/editor-manager/plugin/dom-node.js +34 -34
- package/src/editor-manager/plugin/formats.d.ts +2 -2
- package/src/editor-manager/plugin/formats.js +2 -2
- package/src/editor-manager/plugin/image.d.ts +3 -3
- package/src/editor-manager/plugin/image.js +5 -4
- package/src/editor-manager/plugin/indents.d.ts +2 -2
- package/src/editor-manager/plugin/indents.js +2 -2
- package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
- package/src/editor-manager/plugin/insert-methods.js +4 -4
- package/src/editor-manager/plugin/insert-text.d.ts +2 -2
- package/src/editor-manager/plugin/insert-text.js +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
- package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml.js +16 -12
- package/src/editor-manager/plugin/isformatted.d.ts +8 -8
- package/src/editor-manager/plugin/isformatted.js +8 -8
- package/src/editor-manager/plugin/link.d.ts +2 -2
- package/src/editor-manager/plugin/link.js +8 -8
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +8 -4
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +23 -7
- package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
- package/src/editor-manager/plugin/nodecutter.js +6 -6
- package/src/editor-manager/plugin/selection-commands.d.ts +2 -1
- package/src/editor-manager/plugin/selection-commands.js +35 -4
- package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
- package/src/editor-manager/plugin/selection-exec.js +2 -2
- package/src/editor-manager/plugin/table.d.ts +2 -2
- package/src/editor-manager/plugin/table.js +4 -3
- package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
- package/src/editor-manager/plugin/toolbar-status.js +2 -2
- package/src/editor-manager/plugin/undo.d.ts +6 -6
- package/src/editor-manager/plugin/undo.js +6 -6
- package/src/global.d.ts +1 -0
- package/src/markdown-parser/base/interface.d.ts +10 -10
- package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
- package/src/markdown-parser/base/markdown-parser.js +3 -3
- package/src/markdown-parser/base/types.d.ts +1 -1
- package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
- package/src/markdown-parser/plugin/clearformat.js +2 -2
- package/src/markdown-parser/plugin/formats.d.ts +2 -2
- package/src/markdown-parser/plugin/formats.js +2 -2
- package/src/markdown-parser/plugin/link.d.ts +2 -2
- package/src/markdown-parser/plugin/link.js +2 -2
- package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
- package/src/markdown-parser/plugin/markdown-selection.js +14 -14
- package/src/markdown-parser/plugin/md-selection-formats.d.ts +2 -2
- package/src/markdown-parser/plugin/md-selection-formats.js +2 -2
- package/src/markdown-parser/plugin/table.d.ts +3 -3
- package/src/markdown-parser/plugin/table.js +3 -3
- package/src/markdown-parser/plugin/undo.d.ts +6 -6
- package/src/markdown-parser/plugin/undo.js +6 -6
- package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
- package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
- package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/base-toolbar.js +3 -3
- package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
- package/src/rich-text-editor/actions/color-picker.js +2 -2
- package/src/rich-text-editor/actions/count.d.ts +3 -3
- package/src/rich-text-editor/actions/count.js +3 -3
- package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
- package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
- package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
- package/src/rich-text-editor/actions/full-screen.js +3 -3
- package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
- package/src/rich-text-editor/actions/html-editor.js +3 -3
- package/src/rich-text-editor/actions/keyboard-model.d.ts +13 -13
- package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
- package/src/rich-text-editor/actions/keyboard.js +22 -21
- package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
- package/src/rich-text-editor/actions/markdown-editor.js +2 -2
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +1 -1
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
- package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
- package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
- package/src/rich-text-editor/actions/toolbar.js +13 -13
- package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
- package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
- package/src/rich-text-editor/base/classes.d.ts +103 -103
- package/src/rich-text-editor/base/classes.js +103 -103
- package/src/rich-text-editor/base/constant.d.ts +112 -107
- package/src/rich-text-editor/base/constant.js +112 -107
- package/src/rich-text-editor/base/enum.d.ts +1 -1
- package/src/rich-text-editor/base/enum.js +1 -1
- package/src/rich-text-editor/base/interface.d.ts +40 -40
- package/src/rich-text-editor/base/interface.js +1 -1
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +701 -701
- package/src/rich-text-editor/base/rich-text-editor.d.ts +51 -51
- package/src/rich-text-editor/base/rich-text-editor.js +88 -66
- package/src/rich-text-editor/base/util.d.ts +1 -1
- package/src/rich-text-editor/base/util.js +1 -1
- package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
- package/src/rich-text-editor/formatter/formatter.js +8 -8
- package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/html-formatter.js +15 -15
- package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
- package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
- package/src/rich-text-editor/models/iframe-settings-model.d.ts +21 -21
- package/src/rich-text-editor/models/iframe-settings.js +19 -19
- package/src/rich-text-editor/models/inline-mode-model.d.ts +9 -9
- package/src/rich-text-editor/models/inline-mode.js +19 -19
- package/src/rich-text-editor/models/toolbar-settings-model.d.ts +328 -328
- package/src/rich-text-editor/models/toolbar-settings.js +19 -19
- package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
- package/src/rich-text-editor/renderer/content-renderer.js +6 -6
- package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
- package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
- package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +17 -17
- package/src/rich-text-editor/renderer/image-module.d.ts +2 -1
- package/src/rich-text-editor/renderer/image-module.js +21 -7
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +1 -1
- package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
- package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
- package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
- package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
- package/src/rich-text-editor/renderer/render.d.ts +2 -2
- package/src/rich-text-editor/renderer/render.js +2 -2
- package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/table-module.js +7 -2
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +8 -8
- package/src/rich-text-editor/renderer/toolbar-renderer.js +8 -8
- package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
- package/src/rich-text-editor/renderer/view-source.js +6 -6
- package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
- package/src/rich-text-editor/services/renderer-factory.js +3 -3
- package/src/rich-text-editor/services/service-locator.d.ts +3 -3
- package/src/rich-text-editor/services/service-locator.js +3 -3
- package/src/selection/selection.d.ts +22 -22
- package/src/selection/selection.js +22 -22
- package/styles/_all.scss +2 -2
- package/styles/bootstrap-dark.css +13 -1
- package/styles/bootstrap.css +13 -1
- package/styles/bootstrap4.css +13 -1
- package/styles/bootstrap5-dark.css +0 -0
- package/styles/bootstrap5-dark.scss +0 -0
- package/styles/bootstrap5.css +0 -0
- package/styles/bootstrap5.scss +0 -0
- package/styles/fabric-dark.css +13 -1
- package/styles/fabric.css +13 -1
- package/styles/highcontrast-light.css +13 -1
- package/styles/highcontrast.css +13 -1
- package/styles/material-dark.css +13 -1
- package/styles/material.css +13 -1
- package/styles/rich-text-editor/_all.scss +2 -2
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +151 -151
- package/styles/rich-text-editor/_bootstrap-definition.scss +184 -184
- package/styles/rich-text-editor/_bootstrap4-definition.scss +307 -307
- package/styles/rich-text-editor/_fabric-dark-definition.scss +150 -150
- package/styles/rich-text-editor/_fabric-definition.scss +148 -148
- package/styles/rich-text-editor/_highcontrast-definition.scss +148 -148
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +148 -148
- package/styles/rich-text-editor/_layout.scss +1416 -1404
- package/styles/rich-text-editor/_material-dark-definition.scss +151 -151
- package/styles/rich-text-editor/_material-definition.scss +150 -150
- package/styles/rich-text-editor/_theme.scss +499 -499
- package/styles/rich-text-editor/bootstrap-dark.css +13 -1
- package/styles/rich-text-editor/bootstrap.css +13 -1
- package/styles/rich-text-editor/bootstrap4.css +13 -1
- package/styles/rich-text-editor/fabric-dark.css +13 -1
- package/styles/rich-text-editor/fabric.css +13 -1
- package/styles/rich-text-editor/highcontrast-light.css +13 -1
- package/styles/rich-text-editor/highcontrast.css +13 -1
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +289 -289
- package/styles/rich-text-editor/icons/_bootstrap.scss +288 -288
- package/styles/rich-text-editor/icons/_bootstrap4.scss +288 -288
- package/styles/rich-text-editor/icons/_fabric-dark.scss +288 -288
- package/styles/rich-text-editor/icons/_fabric.scss +288 -288
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +288 -288
- package/styles/rich-text-editor/icons/_highcontrast.scss +288 -288
- package/styles/rich-text-editor/icons/_material-dark.scss +288 -288
- package/styles/rich-text-editor/icons/_material.scss +288 -288
- package/styles/rich-text-editor/material-dark.css +13 -1
- package/styles/rich-text-editor/material.css +13 -1
- package/styles/tailwind-dark.css +0 -0
- package/styles/tailwind-dark.scss +0 -0
- package/styles/tailwind.css +0 -0
- package/styles/tailwind.scss +0 -0
- package/dist/global/ej2-richtexteditor.min.js +0 -11
- package/dist/global/ej2-richtexteditor.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
package/helpers/e2e/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function __export(m) {
|
|
3
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4
|
-
}
|
|
2
|
+
function __export(m) {
|
|
3
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4
|
+
}
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
__export(require("./rte-helper"));
|
package/license
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
|
|
2
|
-
|
|
3
|
-
To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
|
|
4
|
-
|
|
5
|
-
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
|
|
6
|
-
|
|
7
|
-
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
|
|
8
|
-
|
|
9
|
-
The Syncfusion license that contains the terms and conditions can be found at
|
|
1
|
+
Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
|
|
2
|
+
|
|
3
|
+
To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
|
|
4
|
+
|
|
5
|
+
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
|
|
6
|
+
|
|
7
|
+
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
|
|
8
|
+
|
|
9
|
+
The Syncfusion license that contains the terms and conditions can be found at
|
|
10
10
|
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
|
package/package.json
CHANGED
|
@@ -1,75 +1,76 @@
|
|
|
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
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"_from": "@syncfusion/ej2-richtexteditor@*",
|
|
3
|
+
"_id": "@syncfusion/ej2-richtexteditor@18.4.39",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-zQHQfwpxLkp6Ywsv7i9qBAUoy9KTFpzuJcGacCbyRkc1rG5jJMWPlKQRJPl/x+OwsMLB/oa7g33B4fYwC09KlA==",
|
|
6
|
+
"_location": "/@syncfusion/ej2-richtexteditor",
|
|
7
|
+
"_phantomChildren": {},
|
|
8
|
+
"_requested": {
|
|
9
|
+
"type": "range",
|
|
10
|
+
"registry": true,
|
|
11
|
+
"raw": "@syncfusion/ej2-richtexteditor@*",
|
|
12
|
+
"name": "@syncfusion/ej2-richtexteditor",
|
|
13
|
+
"escapedName": "@syncfusion%2fej2-richtexteditor",
|
|
14
|
+
"scope": "@syncfusion",
|
|
15
|
+
"rawSpec": "*",
|
|
16
|
+
"saveSpec": null,
|
|
17
|
+
"fetchSpec": "*"
|
|
18
|
+
},
|
|
19
|
+
"_requiredBy": [
|
|
20
|
+
"/",
|
|
21
|
+
"/@syncfusion/ej2",
|
|
22
|
+
"/@syncfusion/ej2-angular-richtexteditor",
|
|
23
|
+
"/@syncfusion/ej2-gantt",
|
|
24
|
+
"/@syncfusion/ej2-inplace-editor",
|
|
25
|
+
"/@syncfusion/ej2-pdfviewer",
|
|
26
|
+
"/@syncfusion/ej2-react-richtexteditor",
|
|
27
|
+
"/@syncfusion/ej2-vue-richtexteditor"
|
|
28
|
+
],
|
|
29
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-18.4.39.tgz",
|
|
30
|
+
"_shasum": "e1873daf7b0bb36340b1a545b2c05aab37501994",
|
|
31
|
+
"_spec": "@syncfusion/ej2-richtexteditor@*",
|
|
32
|
+
"_where": "/jenkins/workspace/automation_release_18.4.0.1-WOJ6QVY6EU5ONBWOYGQFKS2VU2UW7E67MOXUPKCE5AX7QQX7M5JQ/packages/included",
|
|
33
|
+
"author": {
|
|
34
|
+
"name": "Syncfusion Inc."
|
|
35
|
+
},
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
|
|
38
|
+
},
|
|
39
|
+
"bundleDependencies": false,
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@syncfusion/ej2-base": "~18.4.42",
|
|
42
|
+
"@syncfusion/ej2-buttons": "~18.4.41",
|
|
43
|
+
"@syncfusion/ej2-filemanager": "~18.4.41",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~18.4.41",
|
|
45
|
+
"@syncfusion/ej2-navigations": "~18.4.42",
|
|
46
|
+
"@syncfusion/ej2-popups": "~18.4.41",
|
|
47
|
+
"@syncfusion/ej2-splitbuttons": "~18.4.41"
|
|
48
|
+
},
|
|
49
|
+
"deprecated": false,
|
|
50
|
+
"description": "Essential JS 2 RichTextEditor component",
|
|
51
|
+
"devDependencies": {},
|
|
52
|
+
"es2015": "./dist/es6/ej2-richtexteditor.es2015.js",
|
|
53
|
+
"homepage": "https://github.com/syncfusion/ej2-javascript-ui-controls#readme",
|
|
54
|
+
"keywords": [
|
|
55
|
+
"ej2",
|
|
56
|
+
"syncfusion",
|
|
57
|
+
"ej2-richtexteditor",
|
|
58
|
+
"richtexteditor",
|
|
59
|
+
"rich-text-editor",
|
|
60
|
+
"markdowneditor",
|
|
61
|
+
"markdown-editor",
|
|
62
|
+
"editor"
|
|
63
|
+
],
|
|
64
|
+
"license": "SEE LICENSE IN license",
|
|
65
|
+
"main": "./dist/ej2-richtexteditor.umd.min.js",
|
|
66
|
+
"module": "./index.js",
|
|
67
|
+
"name": "@syncfusion/ej2-richtexteditor",
|
|
68
|
+
"repository": {
|
|
69
|
+
"type": "git",
|
|
70
|
+
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
71
|
+
},
|
|
72
|
+
"typings": "index.d.ts",
|
|
73
|
+
"version": "18.4.42-70943",
|
|
74
|
+
"sideEffects": false
|
|
75
|
+
}
|
|
76
|
+
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Specifies common models interfaces.
|
|
3
3
|
* @hidden
|
|
4
|
-
|
|
4
|
+
* @deprecated
|
|
5
5
|
*/
|
|
6
6
|
import { EditorMode } from './types';
|
|
7
7
|
/**
|
|
8
|
-
|
|
8
|
+
* @deprecated
|
|
9
9
|
*/
|
|
10
10
|
export interface IMarkdownFormatterCallBack {
|
|
11
11
|
selectedText?: string;
|
|
@@ -15,7 +15,7 @@ export interface IMarkdownFormatterCallBack {
|
|
|
15
15
|
requestType?: string;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
|
|
18
|
+
* @deprecated
|
|
19
19
|
*/
|
|
20
20
|
export interface IHtmlFormatterCallBack {
|
|
21
21
|
selectedNode?: Element;
|
|
@@ -28,7 +28,7 @@ export interface IHtmlFormatterCallBack {
|
|
|
28
28
|
event?: KeyboardEvent | MouseEvent;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
|
|
31
|
+
* @deprecated
|
|
32
32
|
*/
|
|
33
33
|
export interface IMarkdownToolbarStatus {
|
|
34
34
|
OrderedList: boolean;
|
|
@@ -36,14 +36,14 @@ export interface IMarkdownToolbarStatus {
|
|
|
36
36
|
Formats: string;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
|
-
|
|
39
|
+
* @deprecated
|
|
40
40
|
*/
|
|
41
41
|
export interface IUndoCallBack {
|
|
42
42
|
callBack?: Function;
|
|
43
43
|
event?: Object;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
|
|
46
|
+
* @deprecated
|
|
47
47
|
*/
|
|
48
48
|
export interface IToolbarStatus {
|
|
49
49
|
bold?: boolean;
|
|
@@ -19,7 +19,7 @@ import { InsertTextExec } from '../plugin/insert-text';
|
|
|
19
19
|
/**
|
|
20
20
|
* EditorManager internal component
|
|
21
21
|
* @hidden
|
|
22
|
-
|
|
22
|
+
* @deprecated
|
|
23
23
|
*/
|
|
24
24
|
export declare class EditorManager {
|
|
25
25
|
currentDocument: HTMLDocument;
|
|
@@ -43,7 +43,7 @@ export declare class EditorManager {
|
|
|
43
43
|
/**
|
|
44
44
|
* Constructor for creating the component
|
|
45
45
|
* @hidden
|
|
46
|
-
|
|
46
|
+
* @deprecated
|
|
47
47
|
*/
|
|
48
48
|
constructor(options: ICommandModel);
|
|
49
49
|
private wireEvents;
|
|
@@ -54,7 +54,7 @@ export declare class EditorManager {
|
|
|
54
54
|
/**
|
|
55
55
|
* execCommand
|
|
56
56
|
* @hidden
|
|
57
|
-
|
|
57
|
+
* @deprecated
|
|
58
58
|
*/
|
|
59
59
|
execCommand<T>(command: ExecCommand, value: T, event?: Event, callBack?: Function, text?: string | Node, exeValue?: T, selector?: string): void;
|
|
60
60
|
}
|
|
@@ -19,13 +19,13 @@ import { InsertTextExec } from '../plugin/insert-text';
|
|
|
19
19
|
/**
|
|
20
20
|
* EditorManager internal component
|
|
21
21
|
* @hidden
|
|
22
|
-
|
|
22
|
+
* @deprecated
|
|
23
23
|
*/
|
|
24
24
|
var EditorManager = /** @class */ (function () {
|
|
25
25
|
/**
|
|
26
26
|
* Constructor for creating the component
|
|
27
27
|
* @hidden
|
|
28
|
-
|
|
28
|
+
* @deprecated
|
|
29
29
|
*/
|
|
30
30
|
function EditorManager(options) {
|
|
31
31
|
this.currentDocument = options.document;
|
|
@@ -70,7 +70,7 @@ var EditorManager = /** @class */ (function () {
|
|
|
70
70
|
/**
|
|
71
71
|
* execCommand
|
|
72
72
|
* @hidden
|
|
73
|
-
|
|
73
|
+
* @deprecated
|
|
74
74
|
*/
|
|
75
75
|
EditorManager.prototype.execCommand = function (command, value, event, callBack, text, exeValue, selector) {
|
|
76
76
|
switch (command.toLocaleLowerCase()) {
|
|
@@ -4,7 +4,7 @@ import { IHtmlFormatterCallBack } from '../../common/interface';
|
|
|
4
4
|
/**
|
|
5
5
|
* Specifies Command models interfaces.
|
|
6
6
|
* @hidden
|
|
7
|
-
|
|
7
|
+
* @deprecated
|
|
8
8
|
*/
|
|
9
9
|
export interface ICommandModel {
|
|
10
10
|
/**
|
|
@@ -22,7 +22,7 @@ export interface ICommandModel {
|
|
|
22
22
|
/**
|
|
23
23
|
* Specifies IHtmlSubCommands interfaces.
|
|
24
24
|
* @hidden
|
|
25
|
-
|
|
25
|
+
* @deprecated
|
|
26
26
|
*/
|
|
27
27
|
export interface IHtmlSubCommands {
|
|
28
28
|
/**
|
|
@@ -55,7 +55,7 @@ export interface IHtmlSubCommands {
|
|
|
55
55
|
/**
|
|
56
56
|
* Specifies IKeyboardActionArgs interfaces for command line.
|
|
57
57
|
* @hidden
|
|
58
|
-
|
|
58
|
+
* @deprecated
|
|
59
59
|
*/
|
|
60
60
|
export interface IKeyboardActionArgs extends KeyboardEvent {
|
|
61
61
|
/**
|
|
@@ -64,7 +64,7 @@ export interface IKeyboardActionArgs extends KeyboardEvent {
|
|
|
64
64
|
action: string;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
|
|
67
|
+
* @deprecated
|
|
68
68
|
*/
|
|
69
69
|
export interface IHtmlItem {
|
|
70
70
|
module?: string;
|
|
@@ -80,7 +80,7 @@ export interface IHtmlItem {
|
|
|
80
80
|
callBack(args: IHtmlFormatterCallBack): () => void;
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
|
|
83
|
+
* @deprecated
|
|
84
84
|
*/
|
|
85
85
|
export interface IHtmlItemArgs {
|
|
86
86
|
selection?: NodeSelection;
|
|
@@ -112,7 +112,7 @@ export interface IHtmlItemArgs {
|
|
|
112
112
|
action?: string;
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
|
-
|
|
115
|
+
* @deprecated
|
|
116
116
|
*/
|
|
117
117
|
export interface IHtmlUndoRedoData {
|
|
118
118
|
text?: string;
|
|
@@ -121,7 +121,7 @@ export interface IHtmlUndoRedoData {
|
|
|
121
121
|
/**
|
|
122
122
|
* Specifies IHtmlKeyboardEvent interfaces.
|
|
123
123
|
* @hidden
|
|
124
|
-
|
|
124
|
+
* @deprecated
|
|
125
125
|
*/
|
|
126
126
|
export interface IHtmlKeyboardEvent {
|
|
127
127
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Types type for EditorManager
|
|
3
3
|
* @hidden
|
|
4
|
-
|
|
4
|
+
* @deprecated
|
|
5
5
|
*/
|
|
6
6
|
export declare type EditorExecCommand = 'Indents' | 'Lists' | 'Formats' | 'Alignments' | 'Links' | 'Images' | 'Font' | 'Style' | 'Clear' | 'Effects' | 'Casing' | 'InsertHtml' | 'InsertText' | 'Actions';
|
|
@@ -2,7 +2,7 @@ import { EditorManager } from './../base/editor-manager';
|
|
|
2
2
|
/**
|
|
3
3
|
* Formats internal component
|
|
4
4
|
* @hidden
|
|
5
|
-
|
|
5
|
+
* @deprecated
|
|
6
6
|
*/
|
|
7
7
|
export declare class Alignments {
|
|
8
8
|
private parent;
|
|
@@ -10,7 +10,7 @@ export declare class Alignments {
|
|
|
10
10
|
/**
|
|
11
11
|
* Constructor for creating the Formats plugin
|
|
12
12
|
* @hidden
|
|
13
|
-
|
|
13
|
+
* @deprecated
|
|
14
14
|
*/
|
|
15
15
|
constructor(parent: EditorManager);
|
|
16
16
|
private addEventListener;
|
|
@@ -5,13 +5,13 @@ import { isIDevice, setEditFrameFocus } from '../../common/util';
|
|
|
5
5
|
/**
|
|
6
6
|
* Formats internal component
|
|
7
7
|
* @hidden
|
|
8
|
-
|
|
8
|
+
* @deprecated
|
|
9
9
|
*/
|
|
10
10
|
var Alignments = /** @class */ (function () {
|
|
11
11
|
/**
|
|
12
12
|
* Constructor for creating the Formats plugin
|
|
13
13
|
* @hidden
|
|
14
|
-
|
|
14
|
+
* @deprecated
|
|
15
15
|
*/
|
|
16
16
|
function Alignments(parent) {
|
|
17
17
|
this.alignments = {
|
|
@@ -2,14 +2,14 @@ import { EditorManager } from './../base/editor-manager';
|
|
|
2
2
|
/**
|
|
3
3
|
* Clear Format EXEC internal component
|
|
4
4
|
* @hidden
|
|
5
|
-
|
|
5
|
+
* @deprecated
|
|
6
6
|
*/
|
|
7
7
|
export declare class ClearFormatExec {
|
|
8
8
|
private parent;
|
|
9
9
|
/**
|
|
10
10
|
* Constructor for creating the Formats plugin
|
|
11
11
|
* @hidden
|
|
12
|
-
|
|
12
|
+
* @deprecated
|
|
13
13
|
*/
|
|
14
14
|
constructor(parent: EditorManager);
|
|
15
15
|
private addEventListener;
|
|
@@ -4,13 +4,13 @@ import * as EVENTS from './../../common/constant';
|
|
|
4
4
|
/**
|
|
5
5
|
* Clear Format EXEC internal component
|
|
6
6
|
* @hidden
|
|
7
|
-
|
|
7
|
+
* @deprecated
|
|
8
8
|
*/
|
|
9
9
|
var ClearFormatExec = /** @class */ (function () {
|
|
10
10
|
/**
|
|
11
11
|
* Constructor for creating the Formats plugin
|
|
12
12
|
* @hidden
|
|
13
|
-
|
|
13
|
+
* @deprecated
|
|
14
14
|
*/
|
|
15
15
|
function ClearFormatExec(parent) {
|
|
16
16
|
this.parent = parent;
|