@syncfusion/ej2-richtexteditor 29.2.4-760237 → 29.2.4-771571
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/.eslintrc.json +260 -262
- package/dist/ej2-richtexteditor.umd.min.js +1 -1
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +22 -2
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +23 -2
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/package.json +1 -1
- package/src/common/util.js +21 -1
- package/src/editor-manager/plugin/inserthtml.js +2 -1
- package/styles/bds-lite.css +278 -29
- package/styles/bds.css +289 -30
- package/styles/bootstrap-dark-lite.css +276 -27
- package/styles/bootstrap-dark.css +288 -29
- package/styles/bootstrap-lite.css +278 -29
- package/styles/bootstrap.css +290 -31
- package/styles/bootstrap4-lite.css +276 -27
- package/styles/bootstrap4.css +287 -28
- package/styles/bootstrap5-dark-lite.css +278 -29
- package/styles/bootstrap5-dark.css +289 -30
- package/styles/bootstrap5-lite.css +278 -29
- package/styles/bootstrap5.3-lite.css +276 -27
- package/styles/bootstrap5.3.css +288 -29
- package/styles/bootstrap5.css +289 -30
- package/styles/fabric-dark-lite.css +276 -27
- package/styles/fabric-dark.css +287 -28
- package/styles/fabric-lite.css +276 -27
- package/styles/fabric.css +287 -28
- package/styles/fluent-dark-lite.css +278 -29
- package/styles/fluent-dark.css +289 -31
- package/styles/fluent-lite.css +278 -29
- package/styles/fluent.css +289 -31
- package/styles/fluent2-lite.css +280 -31
- package/styles/fluent2.css +292 -33
- package/styles/highcontrast-light-lite.css +276 -27
- package/styles/highcontrast-light.css +287 -28
- package/styles/highcontrast-lite.css +276 -27
- package/styles/highcontrast.css +287 -28
- package/styles/material-dark-lite.css +276 -27
- package/styles/material-dark.css +287 -28
- package/styles/material-lite.css +276 -27
- package/styles/material.css +287 -28
- package/styles/material3-dark-lite.css +278 -27
- package/styles/material3-dark.css +289 -28
- package/styles/material3-lite.css +278 -27
- package/styles/material3.css +289 -28
- package/styles/rich-text-editor/_bds-definition.scss +9 -1
- package/styles/rich-text-editor/_bigger.scss +16 -3
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +9 -1
- package/styles/rich-text-editor/_bootstrap-definition.scss +10 -2
- package/styles/rich-text-editor/_bootstrap4-definition.scss +9 -1
- package/styles/rich-text-editor/_bootstrap5-definition.scss +10 -2
- package/styles/rich-text-editor/_bootstrap5.3-definition.scss +9 -1
- package/styles/rich-text-editor/_fabric-dark-definition.scss +9 -1
- package/styles/rich-text-editor/_fabric-definition.scss +9 -1
- package/styles/rich-text-editor/_fluent-definition.scss +9 -2
- package/styles/rich-text-editor/_fluent2-definition.scss +10 -2
- package/styles/rich-text-editor/_fusionnew-definition.scss +8 -1
- package/styles/rich-text-editor/_highcontrast-definition.scss +9 -1
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +9 -1
- package/styles/rich-text-editor/_layout.scss +208 -25
- package/styles/rich-text-editor/_material-dark-definition.scss +9 -1
- package/styles/rich-text-editor/_material-definition.scss +9 -1
- package/styles/rich-text-editor/_material3-definition.scss +9 -1
- package/styles/rich-text-editor/_tailwind-definition.scss +9 -1
- package/styles/rich-text-editor/_tailwind3-definition.scss +11 -3
- package/styles/rich-text-editor/_theme.scss +3 -0
- package/styles/rich-text-editor/bds.css +289 -30
- package/styles/rich-text-editor/bootstrap-dark.css +288 -29
- package/styles/rich-text-editor/bootstrap.css +290 -31
- package/styles/rich-text-editor/bootstrap4.css +287 -28
- package/styles/rich-text-editor/bootstrap5-dark.css +289 -30
- package/styles/rich-text-editor/bootstrap5.3.css +288 -29
- package/styles/rich-text-editor/bootstrap5.css +289 -30
- package/styles/rich-text-editor/fabric-dark.css +287 -28
- package/styles/rich-text-editor/fabric.css +287 -28
- package/styles/rich-text-editor/fluent-dark.css +289 -31
- package/styles/rich-text-editor/fluent.css +289 -31
- package/styles/rich-text-editor/fluent2.css +292 -33
- package/styles/rich-text-editor/highcontrast-light.css +287 -28
- package/styles/rich-text-editor/highcontrast.css +287 -28
- package/styles/rich-text-editor/icons/_bds.scss +4 -1
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +4 -1
- package/styles/rich-text-editor/icons/_bootstrap.scss +4 -2
- package/styles/rich-text-editor/icons/_bootstrap4.scss +4 -2
- package/styles/rich-text-editor/icons/_bootstrap5.3.scss +4 -2
- package/styles/rich-text-editor/icons/_bootstrap5.scss +4 -2
- package/styles/rich-text-editor/icons/_fabric-dark.scss +4 -2
- package/styles/rich-text-editor/icons/_fabric.scss +4 -2
- package/styles/rich-text-editor/icons/_fluent.scss +5 -1
- package/styles/rich-text-editor/icons/_fluent2.scss +4 -2
- package/styles/rich-text-editor/icons/_fusionnew.scss +4 -2
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +5 -1
- package/styles/rich-text-editor/icons/_highcontrast.scss +5 -1
- package/styles/rich-text-editor/icons/_material-dark.scss +5 -1
- package/styles/rich-text-editor/icons/_material.scss +5 -1
- package/styles/rich-text-editor/icons/_material3.scss +5 -1
- package/styles/rich-text-editor/icons/_tailwind.scss +5 -1
- package/styles/rich-text-editor/icons/_tailwind3.scss +5 -1
- package/styles/rich-text-editor/material-dark.css +287 -28
- package/styles/rich-text-editor/material.css +287 -28
- package/styles/rich-text-editor/material3-dark.css +289 -28
- package/styles/rich-text-editor/material3.css +289 -28
- package/styles/rich-text-editor/tailwind-dark.css +289 -30
- package/styles/rich-text-editor/tailwind.css +289 -30
- package/styles/rich-text-editor/tailwind3.css +291 -32
- package/styles/tailwind-dark-lite.css +278 -29
- package/styles/tailwind-dark.css +289 -30
- package/styles/tailwind-lite.css +278 -29
- package/styles/tailwind.css +289 -30
- package/styles/tailwind3-lite.css +280 -31
- package/styles/tailwind3.css +291 -32
- package/aceconfig.js +0 -17
- package/blazorGlobalSrc/common/config.d.ts +0 -63
- package/blazorGlobalSrc/common/config.js +0 -123
- package/blazorGlobalSrc/common/constant.d.ts +0 -117
- package/blazorGlobalSrc/common/constant.js +0 -23
- package/blazorGlobalSrc/common/editor-styles.d.ts +0 -1
- package/blazorGlobalSrc/common/editor-styles.js +0 -5
- package/blazorGlobalSrc/common/index.d.ts +0 -7
- package/blazorGlobalSrc/common/index.js +0 -9
- package/blazorGlobalSrc/common/interface.d.ts +0 -119
- package/blazorGlobalSrc/common/interface.js +0 -4
- package/blazorGlobalSrc/common/types.d.ts +0 -25
- package/blazorGlobalSrc/common/types.js +0 -4
- package/blazorGlobalSrc/common/user-agent.d.ts +0 -41
- package/blazorGlobalSrc/common/user-agent.js +0 -71
- package/blazorGlobalSrc/common/util.d.ts +0 -70
- package/blazorGlobalSrc/common/util.js +0 -222
- package/blazorGlobalSrc/components.d.ts +0 -8
- package/blazorGlobalSrc/components.js +0 -12
- package/blazorGlobalSrc/editor-manager/base/classes.d.ts +0 -31
- package/blazorGlobalSrc/editor-manager/base/classes.js +0 -28
- package/blazorGlobalSrc/editor-manager/base/constant.d.ts +0 -97
- package/blazorGlobalSrc/editor-manager/base/constant.js +0 -41
- package/blazorGlobalSrc/editor-manager/base/editor-manager.d.ts +0 -95
- package/blazorGlobalSrc/editor-manager/base/editor-manager.js +0 -339
- package/blazorGlobalSrc/editor-manager/base/enum.d.ts +0 -17
- package/blazorGlobalSrc/editor-manager/base/enum.js +0 -4
- package/blazorGlobalSrc/editor-manager/base/interface.d.ts +0 -263
- package/blazorGlobalSrc/editor-manager/base/interface.js +0 -4
- package/blazorGlobalSrc/editor-manager/base/types.d.ts +0 -7
- package/blazorGlobalSrc/editor-manager/base/types.js +0 -4
- package/blazorGlobalSrc/editor-manager/base.d.ts +0 -8
- package/blazorGlobalSrc/editor-manager/base.js +0 -10
- package/blazorGlobalSrc/editor-manager/index.d.ts +0 -5
- package/blazorGlobalSrc/editor-manager/index.js +0 -9
- package/blazorGlobalSrc/editor-manager/plugin/alignments.d.ts +0 -26
- package/blazorGlobalSrc/editor-manager/plugin/alignments.js +0 -105
- package/blazorGlobalSrc/editor-manager/plugin/audio.d.ts +0 -34
- package/blazorGlobalSrc/editor-manager/plugin/audio.js +0 -145
- package/blazorGlobalSrc/editor-manager/plugin/clearformat-exec.d.ts +0 -24
- package/blazorGlobalSrc/editor-manager/plugin/clearformat-exec.js +0 -47
- package/blazorGlobalSrc/editor-manager/plugin/clearformat.d.ts +0 -29
- package/blazorGlobalSrc/editor-manager/plugin/clearformat.js +0 -249
- package/blazorGlobalSrc/editor-manager/plugin/dom-node.d.ts +0 -351
- package/blazorGlobalSrc/editor-manager/plugin/dom-node.js +0 -737
- package/blazorGlobalSrc/editor-manager/plugin/dom-tree.d.ts +0 -84
- package/blazorGlobalSrc/editor-manager/plugin/dom-tree.js +0 -164
- package/blazorGlobalSrc/editor-manager/plugin/emoji-picker-action.d.ts +0 -10
- package/blazorGlobalSrc/editor-manager/plugin/emoji-picker-action.js +0 -86
- package/blazorGlobalSrc/editor-manager/plugin/format-painter-actions.d.ts +0 -47
- package/blazorGlobalSrc/editor-manager/plugin/format-painter-actions.js +0 -622
- package/blazorGlobalSrc/editor-manager/plugin/formats.d.ts +0 -43
- package/blazorGlobalSrc/editor-manager/plugin/formats.js +0 -597
- package/blazorGlobalSrc/editor-manager/plugin/image.d.ts +0 -48
- package/blazorGlobalSrc/editor-manager/plugin/image.js +0 -399
- package/blazorGlobalSrc/editor-manager/plugin/indents.d.ts +0 -24
- package/blazorGlobalSrc/editor-manager/plugin/indents.js +0 -106
- package/blazorGlobalSrc/editor-manager/plugin/insert-methods.d.ts +0 -48
- package/blazorGlobalSrc/editor-manager/plugin/insert-methods.js +0 -37
- package/blazorGlobalSrc/editor-manager/plugin/insert-text.d.ts +0 -22
- package/blazorGlobalSrc/editor-manager/plugin/insert-text.js +0 -36
- package/blazorGlobalSrc/editor-manager/plugin/inserthtml-exec.d.ts +0 -22
- package/blazorGlobalSrc/editor-manager/plugin/inserthtml-exec.js +0 -49
- package/blazorGlobalSrc/editor-manager/plugin/inserthtml.d.ts +0 -51
- package/blazorGlobalSrc/editor-manager/plugin/inserthtml.js +0 -985
- package/blazorGlobalSrc/editor-manager/plugin/isformatted.d.ts +0 -89
- package/blazorGlobalSrc/editor-manager/plugin/isformatted.js +0 -199
- package/blazorGlobalSrc/editor-manager/plugin/link.d.ts +0 -41
- package/blazorGlobalSrc/editor-manager/plugin/link.js +0 -550
- package/blazorGlobalSrc/editor-manager/plugin/lists.d.ts +0 -74
- package/blazorGlobalSrc/editor-manager/plugin/lists.js +0 -1503
- package/blazorGlobalSrc/editor-manager/plugin/ms-word-clean-up.d.ts +0 -61
- package/blazorGlobalSrc/editor-manager/plugin/ms-word-clean-up.js +0 -1136
- package/blazorGlobalSrc/editor-manager/plugin/nodecutter.d.ts +0 -64
- package/blazorGlobalSrc/editor-manager/plugin/nodecutter.js +0 -167
- package/blazorGlobalSrc/editor-manager/plugin/selection-commands.d.ts +0 -41
- package/blazorGlobalSrc/editor-manager/plugin/selection-commands.js +0 -1069
- package/blazorGlobalSrc/editor-manager/plugin/selection-exec.d.ts +0 -24
- package/blazorGlobalSrc/editor-manager/plugin/selection-exec.js +0 -49
- package/blazorGlobalSrc/editor-manager/plugin/table-selection.d.ts +0 -26
- package/blazorGlobalSrc/editor-manager/plugin/table-selection.js +0 -210
- package/blazorGlobalSrc/editor-manager/plugin/table.d.ts +0 -56
- package/blazorGlobalSrc/editor-manager/plugin/table.js +0 -1100
- package/blazorGlobalSrc/editor-manager/plugin/toolbar-status.d.ts +0 -39
- package/blazorGlobalSrc/editor-manager/plugin/toolbar-status.js +0 -384
- package/blazorGlobalSrc/editor-manager/plugin/undo.d.ts +0 -85
- package/blazorGlobalSrc/editor-manager/plugin/undo.js +0 -216
- package/blazorGlobalSrc/editor-manager/plugin/video.d.ts +0 -38
- package/blazorGlobalSrc/editor-manager/plugin/video.js +0 -311
- package/blazorGlobalSrc/editor-manager/plugin.d.ts +0 -27
- package/blazorGlobalSrc/editor-manager/plugin.js +0 -31
- package/blazorGlobalSrc/global.d.ts +0 -1
- package/blazorGlobalSrc/global.js +0 -3
- package/blazorGlobalSrc/index.d.ts +0 -8
- package/blazorGlobalSrc/index.js +0 -12
- package/blazorGlobalSrc/markdown-parser/base/constant.d.ts +0 -39
- package/blazorGlobalSrc/markdown-parser/base/constant.js +0 -10
- package/blazorGlobalSrc/markdown-parser/base/interface.d.ts +0 -169
- package/blazorGlobalSrc/markdown-parser/base/interface.js +0 -4
- package/blazorGlobalSrc/markdown-parser/base/markdown-parser.d.ts +0 -69
- package/blazorGlobalSrc/markdown-parser/base/markdown-parser.js +0 -87
- package/blazorGlobalSrc/markdown-parser/base/types.d.ts +0 -7
- package/blazorGlobalSrc/markdown-parser/base/types.js +0 -4
- package/blazorGlobalSrc/markdown-parser/base.d.ts +0 -7
- package/blazorGlobalSrc/markdown-parser/base.js +0 -9
- package/blazorGlobalSrc/markdown-parser/index.d.ts +0 -5
- package/blazorGlobalSrc/markdown-parser/index.js +0 -9
- package/blazorGlobalSrc/markdown-parser/plugin/clearformat.d.ts +0 -28
- package/blazorGlobalSrc/markdown-parser/plugin/clearformat.js +0 -110
- package/blazorGlobalSrc/markdown-parser/plugin/formats.d.ts +0 -32
- package/blazorGlobalSrc/markdown-parser/plugin/formats.js +0 -225
- package/blazorGlobalSrc/markdown-parser/plugin/insert-text.d.ts +0 -24
- package/blazorGlobalSrc/markdown-parser/plugin/insert-text.js +0 -49
- package/blazorGlobalSrc/markdown-parser/plugin/link.d.ts +0 -24
- package/blazorGlobalSrc/markdown-parser/plugin/link.js +0 -50
- package/blazorGlobalSrc/markdown-parser/plugin/lists.d.ts +0 -39
- package/blazorGlobalSrc/markdown-parser/plugin/lists.js +0 -462
- package/blazorGlobalSrc/markdown-parser/plugin/markdown-selection.d.ts +0 -140
- package/blazorGlobalSrc/markdown-parser/plugin/markdown-selection.js +0 -104
- package/blazorGlobalSrc/markdown-parser/plugin/md-selection-formats.d.ts +0 -31
- package/blazorGlobalSrc/markdown-parser/plugin/md-selection-formats.js +0 -335
- package/blazorGlobalSrc/markdown-parser/plugin/table.d.ts +0 -52
- package/blazorGlobalSrc/markdown-parser/plugin/table.js +0 -216
- package/blazorGlobalSrc/markdown-parser/plugin/undo.d.ts +0 -83
- package/blazorGlobalSrc/markdown-parser/plugin/undo.js +0 -147
- package/blazorGlobalSrc/markdown-parser/plugin.d.ts +0 -11
- package/blazorGlobalSrc/markdown-parser/plugin.js +0 -15
- package/blazorGlobalSrc/rich-text-editor/actions/base-quick-toolbar.d.ts +0 -114
- package/blazorGlobalSrc/rich-text-editor/actions/base-quick-toolbar.js +0 -465
- package/blazorGlobalSrc/rich-text-editor/actions/base-toolbar.d.ts +0 -58
- package/blazorGlobalSrc/rich-text-editor/actions/base-toolbar.js +0 -216
- package/blazorGlobalSrc/rich-text-editor/actions/color-picker.d.ts +0 -52
- package/blazorGlobalSrc/rich-text-editor/actions/color-picker.js +0 -241
- package/blazorGlobalSrc/rich-text-editor/actions/count.d.ts +0 -55
- package/blazorGlobalSrc/rich-text-editor/actions/count.js +0 -117
- package/blazorGlobalSrc/rich-text-editor/actions/dropdown-buttons.d.ts +0 -72
- package/blazorGlobalSrc/rich-text-editor/actions/dropdown-buttons.js +0 -552
- package/blazorGlobalSrc/rich-text-editor/actions/emoji-picker.d.ts +0 -51
- package/blazorGlobalSrc/rich-text-editor/actions/emoji-picker.js +0 -853
- package/blazorGlobalSrc/rich-text-editor/actions/enter-key.d.ts +0 -28
- package/blazorGlobalSrc/rich-text-editor/actions/enter-key.js +0 -821
- package/blazorGlobalSrc/rich-text-editor/actions/execute-command-callback.d.ts +0 -11
- package/blazorGlobalSrc/rich-text-editor/actions/execute-command-callback.js +0 -28
- package/blazorGlobalSrc/rich-text-editor/actions/file-manager.d.ts +0 -45
- package/blazorGlobalSrc/rich-text-editor/actions/file-manager.js +0 -249
- package/blazorGlobalSrc/rich-text-editor/actions/format-painter.d.ts +0 -25
- package/blazorGlobalSrc/rich-text-editor/actions/format-painter.js +0 -156
- package/blazorGlobalSrc/rich-text-editor/actions/full-screen.d.ts +0 -40
- package/blazorGlobalSrc/rich-text-editor/actions/full-screen.js +0 -148
- package/blazorGlobalSrc/rich-text-editor/actions/html-attributes.d.ts +0 -15
- package/blazorGlobalSrc/rich-text-editor/actions/html-attributes.js +0 -50
- package/blazorGlobalSrc/rich-text-editor/actions/html-editor.d.ts +0 -120
- package/blazorGlobalSrc/rich-text-editor/actions/html-editor.js +0 -1244
- package/blazorGlobalSrc/rich-text-editor/actions/html-toolbar-status.d.ts +0 -14
- package/blazorGlobalSrc/rich-text-editor/actions/html-toolbar-status.js +0 -47
- package/blazorGlobalSrc/rich-text-editor/actions/import-export.d.ts +0 -21
- package/blazorGlobalSrc/rich-text-editor/actions/import-export.js +0 -117
- package/blazorGlobalSrc/rich-text-editor/actions/keyboard-model.d.ts +0 -30
- package/blazorGlobalSrc/rich-text-editor/actions/keyboard.d.ts +0 -110
- package/blazorGlobalSrc/rich-text-editor/actions/keyboard.js +0 -163
- package/blazorGlobalSrc/rich-text-editor/actions/markdown-editor.d.ts +0 -66
- package/blazorGlobalSrc/rich-text-editor/actions/markdown-editor.js +0 -142
- package/blazorGlobalSrc/rich-text-editor/actions/markdown-toolbar-status.d.ts +0 -23
- package/blazorGlobalSrc/rich-text-editor/actions/markdown-toolbar-status.js +0 -124
- package/blazorGlobalSrc/rich-text-editor/actions/paste-clean-up.d.ts +0 -86
- package/blazorGlobalSrc/rich-text-editor/actions/paste-clean-up.js +0 -1071
- package/blazorGlobalSrc/rich-text-editor/actions/quick-toolbar.d.ts +0 -151
- package/blazorGlobalSrc/rich-text-editor/actions/quick-toolbar.js +0 -548
- package/blazorGlobalSrc/rich-text-editor/actions/resize.d.ts +0 -37
- package/blazorGlobalSrc/rich-text-editor/actions/resize.js +0 -188
- package/blazorGlobalSrc/rich-text-editor/actions/sanitize-helper.d.ts +0 -11
- package/blazorGlobalSrc/rich-text-editor/actions/sanitize-helper.js +0 -168
- package/blazorGlobalSrc/rich-text-editor/actions/toolbar-action.d.ts +0 -18
- package/blazorGlobalSrc/rich-text-editor/actions/toolbar-action.js +0 -76
- package/blazorGlobalSrc/rich-text-editor/actions/toolbar.d.ts +0 -185
- package/blazorGlobalSrc/rich-text-editor/actions/toolbar.js +0 -512
- package/blazorGlobalSrc/rich-text-editor/actions/xhtml-validation.d.ts +0 -25
- package/blazorGlobalSrc/rich-text-editor/actions/xhtml-validation.js +0 -166
- package/blazorGlobalSrc/rich-text-editor/actions.d.ts +0 -26
- package/blazorGlobalSrc/rich-text-editor/actions.js +0 -30
- package/blazorGlobalSrc/rich-text-editor/audio.d.ts +0 -4
- package/blazorGlobalSrc/rich-text-editor/audio.js +0 -8
- package/blazorGlobalSrc/rich-text-editor/base/classes.d.ts +0 -628
- package/blazorGlobalSrc/rich-text-editor/base/classes.js +0 -129
- package/blazorGlobalSrc/rich-text-editor/base/constant.d.ts +0 -808
- package/blazorGlobalSrc/rich-text-editor/base/constant.js +0 -334
- package/blazorGlobalSrc/rich-text-editor/base/enum.d.ts +0 -81
- package/blazorGlobalSrc/rich-text-editor/base/enum.js +0 -37
- package/blazorGlobalSrc/rich-text-editor/base/interface.d.ts +0 -1577
- package/blazorGlobalSrc/rich-text-editor/base/interface.js +0 -194
- package/blazorGlobalSrc/rich-text-editor/base/rich-text-editor-model.d.ts +0 -1032
- package/blazorGlobalSrc/rich-text-editor/base/rich-text-editor.d.ts +0 -1699
- package/blazorGlobalSrc/rich-text-editor/base/rich-text-editor.js +0 -2645
- package/blazorGlobalSrc/rich-text-editor/base/util.d.ts +0 -212
- package/blazorGlobalSrc/rich-text-editor/base/util.js +0 -610
- package/blazorGlobalSrc/rich-text-editor/base.d.ts +0 -10
- package/blazorGlobalSrc/rich-text-editor/base.js +0 -13
- package/blazorGlobalSrc/rich-text-editor/formatter/formatter.d.ts +0 -87
- package/blazorGlobalSrc/rich-text-editor/formatter/formatter.js +0 -223
- package/blazorGlobalSrc/rich-text-editor/formatter/html-formatter.d.ts +0 -34
- package/blazorGlobalSrc/rich-text-editor/formatter/html-formatter.js +0 -44
- package/blazorGlobalSrc/rich-text-editor/formatter/markdown-formatter.d.ts +0 -39
- package/blazorGlobalSrc/rich-text-editor/formatter/markdown-formatter.js +0 -48
- package/blazorGlobalSrc/rich-text-editor/formatter.d.ts +0 -6
- package/blazorGlobalSrc/rich-text-editor/formatter.js +0 -10
- package/blazorGlobalSrc/rich-text-editor/html-editor.d.ts +0 -4
- package/blazorGlobalSrc/rich-text-editor/html-editor.js +0 -8
- package/blazorGlobalSrc/rich-text-editor/image.d.ts +0 -4
- package/blazorGlobalSrc/rich-text-editor/image.js +0 -8
- package/blazorGlobalSrc/rich-text-editor/index.d.ts +0 -9
- package/blazorGlobalSrc/rich-text-editor/index.js +0 -12
- package/blazorGlobalSrc/rich-text-editor/link.d.ts +0 -4
- package/blazorGlobalSrc/rich-text-editor/link.js +0 -8
- package/blazorGlobalSrc/rich-text-editor/markdown-editor.d.ts +0 -4
- package/blazorGlobalSrc/rich-text-editor/markdown-editor.js +0 -8
- package/blazorGlobalSrc/rich-text-editor/models/default-locale.d.ts +0 -25
- package/blazorGlobalSrc/rich-text-editor/models/default-locale.js +0 -391
- package/blazorGlobalSrc/rich-text-editor/models/iframe-settings-model.d.ts +0 -68
- package/blazorGlobalSrc/rich-text-editor/models/iframe-settings.d.ts +0 -61
- package/blazorGlobalSrc/rich-text-editor/models/iframe-settings.js +0 -60
- package/blazorGlobalSrc/rich-text-editor/models/inline-mode-model.d.ts +0 -24
- package/blazorGlobalSrc/rich-text-editor/models/inline-mode.d.ts +0 -20
- package/blazorGlobalSrc/rich-text-editor/models/inline-mode.js +0 -37
- package/blazorGlobalSrc/rich-text-editor/models/items.d.ts +0 -36
- package/blazorGlobalSrc/rich-text-editor/models/items.js +0 -1011
- package/blazorGlobalSrc/rich-text-editor/models/models.d.ts +0 -7
- package/blazorGlobalSrc/rich-text-editor/models/models.js +0 -4
- package/blazorGlobalSrc/rich-text-editor/models/slash-menu-settings-model.d.ts +0 -40
- package/blazorGlobalSrc/rich-text-editor/models/slash-menu-settings.d.ts +0 -50
- package/blazorGlobalSrc/rich-text-editor/models/slash-menu-settings.js +0 -143
- package/blazorGlobalSrc/rich-text-editor/models/toolbar-settings-model.d.ts +0 -1130
- package/blazorGlobalSrc/rich-text-editor/models/toolbar-settings.d.ts +0 -992
- package/blazorGlobalSrc/rich-text-editor/models/toolbar-settings.js +0 -510
- package/blazorGlobalSrc/rich-text-editor/models.d.ts +0 -4
- package/blazorGlobalSrc/rich-text-editor/models.js +0 -4
- package/blazorGlobalSrc/rich-text-editor/quick-toolbar.d.ts +0 -4
- package/blazorGlobalSrc/rich-text-editor/quick-toolbar.js +0 -8
- package/blazorGlobalSrc/rich-text-editor/renderer/audio-module.d.ts +0 -82
- package/blazorGlobalSrc/rich-text-editor/renderer/audio-module.js +0 -886
- package/blazorGlobalSrc/rich-text-editor/renderer/content-renderer.d.ts +0 -65
- package/blazorGlobalSrc/rich-text-editor/renderer/content-renderer.js +0 -49
- package/blazorGlobalSrc/rich-text-editor/renderer/dialog-renderer.d.ts +0 -39
- package/blazorGlobalSrc/rich-text-editor/renderer/dialog-renderer.js +0 -111
- package/blazorGlobalSrc/rich-text-editor/renderer/iframe-content-renderer.d.ts +0 -33
- package/blazorGlobalSrc/rich-text-editor/renderer/iframe-content-renderer.js +0 -101
- package/blazorGlobalSrc/rich-text-editor/renderer/image-module.d.ts +0 -199
- package/blazorGlobalSrc/rich-text-editor/renderer/image-module.js +0 -2494
- package/blazorGlobalSrc/rich-text-editor/renderer/link-module.d.ts +0 -63
- package/blazorGlobalSrc/rich-text-editor/renderer/link-module.js +0 -596
- package/blazorGlobalSrc/rich-text-editor/renderer/markdown-renderer.d.ts +0 -65
- package/blazorGlobalSrc/rich-text-editor/renderer/markdown-renderer.js +0 -38
- package/blazorGlobalSrc/rich-text-editor/renderer/popup-renderer.d.ts +0 -54
- package/blazorGlobalSrc/rich-text-editor/renderer/popup-renderer.js +0 -35
- package/blazorGlobalSrc/rich-text-editor/renderer/render.d.ts +0 -46
- package/blazorGlobalSrc/rich-text-editor/renderer/render.js +0 -70
- package/blazorGlobalSrc/rich-text-editor/renderer/slash-menu.d.ts +0 -20
- package/blazorGlobalSrc/rich-text-editor/renderer/slash-menu.js +0 -224
- package/blazorGlobalSrc/rich-text-editor/renderer/table-module.d.ts +0 -155
- package/blazorGlobalSrc/rich-text-editor/renderer/table-module.js +0 -2206
- package/blazorGlobalSrc/rich-text-editor/renderer/toolbar-renderer.d.ts +0 -131
- package/blazorGlobalSrc/rich-text-editor/renderer/toolbar-renderer.js +0 -747
- package/blazorGlobalSrc/rich-text-editor/renderer/video-module.d.ts +0 -120
- package/blazorGlobalSrc/rich-text-editor/renderer/video-module.js +0 -1507
- package/blazorGlobalSrc/rich-text-editor/renderer/view-source.d.ts +0 -74
- package/blazorGlobalSrc/rich-text-editor/renderer/view-source.js +0 -225
- package/blazorGlobalSrc/rich-text-editor/renderer.d.ts +0 -17
- package/blazorGlobalSrc/rich-text-editor/renderer.js +0 -21
- package/blazorGlobalSrc/rich-text-editor/services/renderer-factory.d.ts +0 -33
- package/blazorGlobalSrc/rich-text-editor/services/renderer-factory.js +0 -29
- package/blazorGlobalSrc/rich-text-editor/services/service-locator.d.ts +0 -29
- package/blazorGlobalSrc/rich-text-editor/services/service-locator.js +0 -25
- package/blazorGlobalSrc/rich-text-editor/services.d.ts +0 -5
- package/blazorGlobalSrc/rich-text-editor/services.js +0 -9
- package/blazorGlobalSrc/rich-text-editor/toolbar.d.ts +0 -4
- package/blazorGlobalSrc/rich-text-editor/toolbar.js +0 -8
- package/blazorGlobalSrc/rich-text-editor/video.d.ts +0 -4
- package/blazorGlobalSrc/rich-text-editor/video.js +0 -8
- package/blazorGlobalSrc/rich-text-editor.d.ts +0 -4
- package/blazorGlobalSrc/rich-text-editor.js +0 -8
- package/blazorGlobalSrc/selection/index.d.ts +0 -4
- package/blazorGlobalSrc/selection/index.js +0 -8
- package/blazorGlobalSrc/selection/selection.d.ts +0 -244
- package/blazorGlobalSrc/selection/selection.js +0 -309
- package/helpers/e2e/index.d.ts +0 -1
- package/helpers/e2e/index.js +0 -8
- package/helpers/e2e/rte-helper.d.ts +0 -79
- package/helpers/e2e/rte-helper.js +0 -81
- package/src/global.d.ts +0 -1
- package/tslint.json +0 -111
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
define(["require", "exports"], function (require, exports) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.markdownFormatTags = {
|
|
5
|
-
'h6': '###### ',
|
|
6
|
-
'h5': '##### ',
|
|
7
|
-
'h4': '#### ',
|
|
8
|
-
'h3': '### ',
|
|
9
|
-
'h2': '## ',
|
|
10
|
-
'h1': '# ',
|
|
11
|
-
'blockquote': '> ',
|
|
12
|
-
'pre': '```\n',
|
|
13
|
-
'p': ''
|
|
14
|
-
};
|
|
15
|
-
exports.markdownSelectionTags = {
|
|
16
|
-
'Bold': '**',
|
|
17
|
-
'Italic': '*',
|
|
18
|
-
'StrikeThrough': '~~',
|
|
19
|
-
'InlineCode': '`',
|
|
20
|
-
'SubScript': '<sub>',
|
|
21
|
-
'SuperScript': '<sup>',
|
|
22
|
-
'UpperCase': 'A-Z',
|
|
23
|
-
'LowerCase': 'a-z'
|
|
24
|
-
};
|
|
25
|
-
exports.markdownListsTags = {
|
|
26
|
-
'OL': '1. ',
|
|
27
|
-
'UL': '- '
|
|
28
|
-
};
|
|
29
|
-
exports.htmlKeyConfig = {
|
|
30
|
-
'toolbar-focus': 'alt+f10',
|
|
31
|
-
'escape': 'escape',
|
|
32
|
-
'backspace': 'backspace',
|
|
33
|
-
'insert-link': 'ctrl+k',
|
|
34
|
-
'insert-image': 'ctrl+shift+i',
|
|
35
|
-
'insert-audio': 'ctrl+shift+a',
|
|
36
|
-
'insert-video': 'ctrl+alt+v',
|
|
37
|
-
'insert-table': 'ctrl+shift+e',
|
|
38
|
-
'undo': 'ctrl+z',
|
|
39
|
-
'redo': 'ctrl+y',
|
|
40
|
-
'copy': 'ctrl+c',
|
|
41
|
-
'cut': 'ctrl+x',
|
|
42
|
-
'paste': 'ctrl+v',
|
|
43
|
-
'bold': 'ctrl+b',
|
|
44
|
-
'italic': 'ctrl+i',
|
|
45
|
-
'underline': 'ctrl+u',
|
|
46
|
-
'strikethrough': 'ctrl+shift+s',
|
|
47
|
-
'uppercase': 'ctrl+shift+u',
|
|
48
|
-
'lowercase': 'ctrl+shift+l',
|
|
49
|
-
'superscript': 'ctrl+shift+=',
|
|
50
|
-
'subscript': 'ctrl+=',
|
|
51
|
-
'indents': 'ctrl+]',
|
|
52
|
-
'outdents': 'ctrl+[',
|
|
53
|
-
'html-source': 'ctrl+shift+h',
|
|
54
|
-
'full-screen': 'ctrl+shift+f',
|
|
55
|
-
'decrease-fontsize': 'ctrl+shift+<',
|
|
56
|
-
'increase-fontsize': 'ctrl+shift+>',
|
|
57
|
-
'justify-center': 'ctrl+e',
|
|
58
|
-
'justify-full': 'ctrl+j',
|
|
59
|
-
'justify-left': 'ctrl+l',
|
|
60
|
-
'justify-right': 'ctrl+r',
|
|
61
|
-
'clear-format': 'ctrl+shift+r',
|
|
62
|
-
'ordered-list': 'ctrl+shift+o',
|
|
63
|
-
'unordered-list': 'ctrl+alt+o',
|
|
64
|
-
'space': 'space',
|
|
65
|
-
'enter': 'enter',
|
|
66
|
-
'tab': 'tab',
|
|
67
|
-
'delete': 'delete',
|
|
68
|
-
'format-copy': 'alt+shift+c',
|
|
69
|
-
'format-paste': 'alt+shift+v',
|
|
70
|
-
'inlinecode': 'ctrl+`'
|
|
71
|
-
};
|
|
72
|
-
exports.markdownKeyConfig = {
|
|
73
|
-
'toolbar-focus': 'alt+f10',
|
|
74
|
-
'escape': '27',
|
|
75
|
-
'insert-link': 'ctrl+k',
|
|
76
|
-
'insert-image': 'ctrl+shift+i',
|
|
77
|
-
'insert-table': 'ctrl+shift+e',
|
|
78
|
-
'undo': 'ctrl+z',
|
|
79
|
-
'redo': 'ctrl+y',
|
|
80
|
-
'copy': 'ctrl+c',
|
|
81
|
-
'cut': 'ctrl+x',
|
|
82
|
-
'paste': 'ctrl+v',
|
|
83
|
-
'bold': 'ctrl+b',
|
|
84
|
-
'italic': 'ctrl+i',
|
|
85
|
-
'strikethrough': 'ctrl+shift+s',
|
|
86
|
-
'uppercase': 'ctrl+shift+u',
|
|
87
|
-
'lowercase': 'ctrl+shift+l',
|
|
88
|
-
'superscript': 'ctrl+shift+=',
|
|
89
|
-
'subscript': 'ctrl+=',
|
|
90
|
-
'full-screen': 'ctrl+shift+f',
|
|
91
|
-
'ordered-list': 'ctrl+shift+o',
|
|
92
|
-
'unordered-list': 'ctrl+alt+o'
|
|
93
|
-
};
|
|
94
|
-
exports.pasteCleanupGroupingTags = {
|
|
95
|
-
'b': ['strong'],
|
|
96
|
-
'strong': ['b'],
|
|
97
|
-
'i': ['emp', 'cite'],
|
|
98
|
-
'emp': ['i', 'cite'],
|
|
99
|
-
'cite': ['i', 'emp']
|
|
100
|
-
};
|
|
101
|
-
exports.listConversionFilters = {
|
|
102
|
-
'first': 'MsoListParagraphCxSpFirst',
|
|
103
|
-
'middle': 'MsoListParagraphCxSpMiddle',
|
|
104
|
-
'last': 'MsoListParagraphCxSpLast'
|
|
105
|
-
};
|
|
106
|
-
exports.selfClosingTags = [
|
|
107
|
-
'BR',
|
|
108
|
-
'IMG'
|
|
109
|
-
];
|
|
110
|
-
exports.imageResizeFactor = {
|
|
111
|
-
topLeft: [-1, -1],
|
|
112
|
-
topRight: [1, -1],
|
|
113
|
-
botRight: [1, 1],
|
|
114
|
-
botLeft: [-1, 1]
|
|
115
|
-
};
|
|
116
|
-
exports.mentionRestrictKeys = [
|
|
117
|
-
'ArrowUp',
|
|
118
|
-
'ArrowDown',
|
|
119
|
-
'Enter',
|
|
120
|
-
'Tab',
|
|
121
|
-
'Escape'
|
|
122
|
-
];
|
|
123
|
-
});
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Constant values for Common
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Keydown event trigger
|
|
6
|
-
*
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const KEY_DOWN: string;
|
|
10
|
-
/**
|
|
11
|
-
* Undo and Redo action HTML plugin events
|
|
12
|
-
*
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export declare const ACTION: string;
|
|
16
|
-
/**
|
|
17
|
-
* Formats plugin events
|
|
18
|
-
*
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare const FORMAT_TYPE: string;
|
|
22
|
-
/**
|
|
23
|
-
* Keydown handler event trigger
|
|
24
|
-
*
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
export declare const KEY_DOWN_HANDLER: string;
|
|
28
|
-
/**
|
|
29
|
-
* List plugin events
|
|
30
|
-
*
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
export declare const LIST_TYPE: string;
|
|
34
|
-
/**
|
|
35
|
-
* Keyup handler event trigger
|
|
36
|
-
*
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
export declare const KEY_UP_HANDLER: string;
|
|
40
|
-
/**
|
|
41
|
-
* Keyup event trigger
|
|
42
|
-
*
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
export declare const KEY_UP: string;
|
|
46
|
-
/**
|
|
47
|
-
* Model changed plugin event trigger
|
|
48
|
-
*
|
|
49
|
-
* @hidden
|
|
50
|
-
*/
|
|
51
|
-
export declare const MODEL_CHANGED_PLUGIN: string;
|
|
52
|
-
/**
|
|
53
|
-
* Model changed event trigger
|
|
54
|
-
*
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
export declare const MODEL_CHANGED: string;
|
|
58
|
-
/**
|
|
59
|
-
* PasteCleanup plugin for MSWord content
|
|
60
|
-
*
|
|
61
|
-
* @hidden
|
|
62
|
-
*/
|
|
63
|
-
export declare const MS_WORD_CLEANUP_PLUGIN: string;
|
|
64
|
-
/**
|
|
65
|
-
* PasteCleanup for MSWord content
|
|
66
|
-
*
|
|
67
|
-
* @hidden
|
|
68
|
-
*/
|
|
69
|
-
export declare const MS_WORD_CLEANUP: string;
|
|
70
|
-
/**
|
|
71
|
-
* ActionBegin event callback
|
|
72
|
-
*
|
|
73
|
-
* @hidden
|
|
74
|
-
*/
|
|
75
|
-
export declare const ON_BEGIN: string;
|
|
76
|
-
/**
|
|
77
|
-
* Callback for spacelist action
|
|
78
|
-
*
|
|
79
|
-
* @hidden
|
|
80
|
-
*/
|
|
81
|
-
export declare const SPACE_ACTION: string;
|
|
82
|
-
/**
|
|
83
|
-
* Format painter event constant
|
|
84
|
-
*
|
|
85
|
-
* @hidden
|
|
86
|
-
*/
|
|
87
|
-
export declare const FORMAT_PAINTER_ACTIONS: string;
|
|
88
|
-
/**
|
|
89
|
-
* Blockquotes enter prevent when on list is applied event constant
|
|
90
|
-
*
|
|
91
|
-
* @hidden
|
|
92
|
-
*/
|
|
93
|
-
export declare const BLOCKQUOTE_LIST_HANDLE: string;
|
|
94
|
-
/**
|
|
95
|
-
* Emoji picker event constant
|
|
96
|
-
*
|
|
97
|
-
* @hidden
|
|
98
|
-
*/
|
|
99
|
-
export declare const EMOJI_PICKER_ACTIONS: string;
|
|
100
|
-
/**
|
|
101
|
-
* Mouse down event constant
|
|
102
|
-
*
|
|
103
|
-
* @hidden
|
|
104
|
-
*/
|
|
105
|
-
export declare const MOUSE_DOWN: string;
|
|
106
|
-
/**
|
|
107
|
-
* destroy event constant
|
|
108
|
-
*
|
|
109
|
-
* @hidden
|
|
110
|
-
*/
|
|
111
|
-
export declare const DESTROY: string;
|
|
112
|
-
/**
|
|
113
|
-
* internal_destroy event constant
|
|
114
|
-
*
|
|
115
|
-
* @hidden
|
|
116
|
-
*/
|
|
117
|
-
export declare const INTERNAL_DESTROY: string;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
define(["require", "exports"], function (require, exports) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.KEY_DOWN = 'keydown';
|
|
5
|
-
exports.ACTION = 'action';
|
|
6
|
-
exports.FORMAT_TYPE = 'format-type';
|
|
7
|
-
exports.KEY_DOWN_HANDLER = 'keydown-handler';
|
|
8
|
-
exports.LIST_TYPE = 'list-type';
|
|
9
|
-
exports.KEY_UP_HANDLER = 'keyup-handler';
|
|
10
|
-
exports.KEY_UP = 'keyup';
|
|
11
|
-
exports.MODEL_CHANGED_PLUGIN = 'model_changed_plugin';
|
|
12
|
-
exports.MODEL_CHANGED = 'model_changed';
|
|
13
|
-
exports.MS_WORD_CLEANUP_PLUGIN = 'ms_word_cleanup_plugin';
|
|
14
|
-
exports.MS_WORD_CLEANUP = 'ms_word_cleanup';
|
|
15
|
-
exports.ON_BEGIN = 'onBegin';
|
|
16
|
-
exports.SPACE_ACTION = 'actionBegin';
|
|
17
|
-
exports.FORMAT_PAINTER_ACTIONS = 'format_painter_actions';
|
|
18
|
-
exports.BLOCKQUOTE_LIST_HANDLE = 'blockquote_list_handled';
|
|
19
|
-
exports.EMOJI_PICKER_ACTIONS = 'emoji_picker_actions';
|
|
20
|
-
exports.MOUSE_DOWN = 'mouseDown';
|
|
21
|
-
exports.DESTROY = 'destroy';
|
|
22
|
-
exports.INTERNAL_DESTROY = 'internal_destroy';
|
|
23
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const IFRAME_EDITOR_STYLES: string;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
define(["require", "exports"], function (require, exports) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.IFRAME_EDITOR_STYLES = "\n@charset \"UTF-8\";\n\n* {\n box-sizing: border-box;\n}\n\nhtml {\n height: auto;\n}\n\nhtml, body {\n margin: 0;\n}\n\nbody {\n color: #333;\n word-wrap: break-word;\n}\n\n.e-content {\n background: unset;\n min-height: 100px;\n outline: 0 solid transparent;\n padding: 16px;\n position: relative;\n overflow-x: auto;\n font-weight: normal;\n line-height: 1.5;\n font-size: 14px;\n text-align: inherit;\n font-family: \"Roboto\", \"Segoe UI\", \"GeezaPro\", \"DejaVu Serif\", \"sans-serif\", \"-apple-system\", \"BlinkMacSystemFont\";\n}\n\n.e-content p {\n margin: 0 0 10px;\n margin-bottom: 10px;\n}\n\n.e-content h1 {\n font-size: 2.857em;\n font-weight: 600;\n line-height: 1.2;\n margin: 10px 0;\n}\n\n.e-content h2 {\n font-size: 2.285em;\n font-weight: 600;\n line-height: 1.2;\n margin: 10px 0;\n}\n\n.e-content h3 {\n font-size: 2em;\n font-weight: 600;\n line-height: 1.2;\n margin: 10px 0;\n}\n\n.e-content h4 {\n font-size: 1.714em;\n font-weight: 600;\n line-height: 1.2;\n margin: 10px 0;\n}\n\n.e-content h5 {\n font-size: 1.428em;\n font-weight: 600;\n line-height: 1.2;\n margin: 10px 0;\n}\n\n.e-content h6 {\n font-size: 1.142em;\n font-weight: 600;\n line-height: 1.5;\n margin: 10px 0;\n}\n\n.e-content blockquote {\n margin: 10px 0;\n padding-left: 12px;\n border-left: 2px solid #5c5c5c;\n}\n\n.e-rtl.e-content blockquote {\n padding-left: 0;\n padding-right: 12px;\n}\n\n.e-content pre {\n border: 0;\n border-radius: 0;\n color: #333;\n font-size: inherit;\n line-height: inherit;\n margin: 0 0 10px;\n overflow: visible;\n padding: 0;\n white-space: pre-wrap;\n word-break: inherit;\n word-wrap: break-word;\n}\n\n.e-content code {\n background: #9d9d9d26;\n color: #ed484c;\n}\n\n.e-content strong,\n.e-content b {\n font-weight: bold;\n}\n\n.e-content a {\n text-decoration: none;\n user-select: auto;\n}\n\n.e-content a:hover {\n text-decoration: underline;\n}\n\n.e-content li {\n margin-bottom: 10px;\n}\n\n.e-content li ol,\n.e-content li ul {\n margin-block-start: 10px;\n}\n\n.e-content ul {\n list-style-type: disc;\n}\n\n.e-content ul ul,\n.e-content ol ul {\n list-style-type: circle;\n}\n\n.e-content ul ul ul,\n.e-content ol ul ul,\n.e-content ul ol ul,\n.e-content ol ol ul {\n list-style-type: square;\n}\n\n.e-content p:last-child,\n.e-content pre:last-child,\n.e-content blockquote:last-child {\n margin-bottom: 0;\n}\n\n.e-content h3 + h4,\n.e-content h4 + h5,\n.e-content h5 + h6 {\n margin-top: 0.6em;\n}\n\n.e-content ul:last-child {\n margin-bottom: 0;\n}\n\n.e-content table {\n margin-bottom: 10px;\n border-collapse: collapse;\n empty-cells: show;\n}\n\n.e-content table.e-cell-select {\n position: relative;\n}\n\n.e-content table.e-cell-select::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border: 2px solid #4a90e2;\n pointer-events: none;\n}\n\ntable .e-cell-select {\n border: 1px double #4a90e2 !important;\n}\n\n.e-content table.e-rte-table th {\n background-color: rgba(157, 157, 157, .15);\n}\n\n.e-rte-table td,\n.e-rte-table th {\n border: 1px solid #BDBDBD;\n height: 20px;\n min-width: 20px;\n padding: 2px 5px;\n}\n\n.e-rte-table td.e-cell-select.e-multi-cells-select,\n.e-rte-table th.e-cell-select.e-multi-cells-select {\n position: relative;\n}\n\n.e-rte-table td.e-cell-select.e-multi-cells-select::after,\n.e-rte-table th.e-cell-select.e-multi-cells-select::after {\n background-color: rgba(13, 110, 253, 0.08);\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n bottom: 0;\n pointer-events: none;\n right: 0;\n}\n\ntable td.e-multi-cells-select ::selection,\ntable th.e-multi-cells-select ::selection {\n background-color: transparent;\n}\n\ntd.e-multi-cells-select,\nth.e-multi-cells-select {\n user-select: none !important;\n}\n\n.e-rte-table.e-dashed-border > tbody > tr > td,\n.e-rte-table.e-dashed-border > tbody > tr > th {\n border-style: dashed;\n}\n\n.e-rte-table.e-alternate-border tbody tr:nth-child(2n) {\n background-color: #F5F5F5;\n}\n\n.e-rte-image,\n.e-rte-audio,\n.e-rte-video {\n border: 0;\n cursor: pointer;\n display: block;\n float: none;\n margin: auto;\n max-width: 100%;\n position: relative;\n}\n\n.e-rte-image.e-imginline,\n.e-rte-audio.e-audio-inline,\n.e-rte-video.e-video-inline {\n margin-left: 5px;\n margin-right: 5px;\n display: inline-block;\n float: none;\n max-width: 100%;\n padding: 1px;\n vertical-align: bottom;\n}\n\n.e-rte-image.e-imgcenter,\n.e-rte-video.e-video-center {\n cursor: pointer;\n display: block;\n float: none;\n margin: 5px auto;\n max-width: 100%;\n position: relative;\n}\n\n.e-rte-image.e-imgright,\n.e-rte-video.e-video-right {\n float: right;\n margin: 0 auto;\n margin-left: 5px;\n text-align: right;\n}\n\n.e-rte-image.e-imgleft,\n.e-rte-video.e-video-left {\n float: left;\n margin: 0 auto;\n margin-right: 5px;\n text-align: left;\n}\n\n.e-rte-img-caption {\n display: inline-block;\n margin: 5px auto;\n max-width: 100%;\n position: relative;\n}\n\n.e-rte-img-caption.e-caption-inline {\n display: inline-block;\n margin: 5px auto;\n margin-left: 5px;\n margin-right: 5px;\n max-width: calc(100% - (2 * 5px));\n position: relative;\n text-align: center;\n vertical-align: bottom;\n}\n\n.e-rte-img-caption.e-imgcenter {\n display: contents;\n margin-left: auto;\n margin-right: auto;\n}\n\n.e-rte-img-caption.e-imgright {\n display: contents;\n margin-left: auto;\n margin-right: 0;\n}\n\n.e-rte-img-caption.e-imgleft {\n display: contents;\n margin-left: 0;\n margin-right: auto;\n}\n\n.e-img-caption.e-rte-img-caption.e-imgbreak {\n display: contents;\n}\n\n.e-rte-img-caption .e-img-inner {\n display: block;\n font-size: 16px;\n font-weight: initial;\n margin: auto;\n opacity: .9;\n position: relative;\n text-align: center;\n width: 100%;\n}\n\n.e-img-wrap {\n display: inline-block;\n margin: auto;\n padding: 0;\n text-align: center;\n width: 100%;\n}\n\n.e-imgleft,\n.e-video-left {\n float: left;\n margin: 0 5px 0 0;\n text-align: left;\n}\n\n.e-imgright,\n.e-video-right {\n float: right;\n margin: 0 0 0 5px;\n text-align: right;\n}\n\n.e-imgcenter,\n.e-video-center {\n cursor: pointer;\n display: block;\n float: none;\n height: auto;\n margin: 5px auto;\n max-width: 100%;\n position: relative;\n}\n\n.e-control img:not(.e-resize) {\n border: 2px solid transparent;\n z-index: 1000\n}\n\n.e-imginline,\n.e-audio-inline,\n.e-video-inline {\n display: inline-block;\n float: none;\n margin-left: 5px;\n margin-right: 5px;\n vertical-align: bottom;\n}\n\n.e-imgbreak,\n.e-audio-break,\n.e-video-break {\n border: 0;\n cursor: pointer;\n display: block;\n float: none;\n margin: 5px auto;\n max-width: 100%;\n position: relative;\n}\n\n.e-rte-image.e-img-focus:not(.e-resize),\n.e-audio-focus:not(.e-resize),\n.e-video-focus:not(.e-resize) {\n border: solid 2px #4a90e2;\n}\n\nimg.e-img-focus::selection,\naudio.e-audio-focus::selection,\n.e-video-focus::selection {\n background: transparent;\n color: transparent;\n}\n\nspan.e-rte-imageboxmark,\nspan.e-rte-videoboxmark {\n width: 10px;\n height: 10px;\n position: absolute;\n display: block;\n background: #4a90e2;\n border: 1px solid #fff;\n z-index: 1000;\n}\n\n.e-mob-rte.e-mob-span span.e-rte-imageboxmark,\n.e-mob-rte.e-mob-span span.e-rte-videoboxmark {\n background: #4a90e2;\n border: 1px solid #fff;\n}\n\n.e-mob-rte span.e-rte-imageboxmark,\n.e-mob-rte span.e-rte-videoboxmark {\n background: #fff;\n border: 1px solid #4a90e2;\n border-radius: 15px;\n height: 20px;\n width: 20px;\n}\n\n.e-mob-rte.e-mob-span span.e-rte-imageboxmark,\n.e-mob-rte.e-mob-span span.e-rte-videoboxmark {\n background: #4a90e2;\n border: 1px solid #fff;\n}\n\n.e-content img.e-resize,\n.e-content video.e-resize {\n z-index: 1000;\n}\n\n.e-img-caption .e-img-inner {\n outline: 0;\n}\n\n.e-rte-img-caption.e-imgleft .e-img-inner {\n float: left;\n text-align: left;\n}\n\n.e-rte-img-caption.e-imgright .e-img-inner {\n float: right;\n text-align: right;\n}\n\n.e-rte-img-caption.e-imgleft .e-img-wrap,\n.e-rte-img-caption.e-imgright .e-img-wrap {\n display: contents;\n}\n\n.e-img-caption a:focus-visible {\n outline: none;\n}\n\n.e-rte-img-caption .e-rte-image.e-imgright {\n margin-left: auto;\n margin-right: 0;\n}\n\n.e-rte-img-caption .e-rte-image.e-imgleft {\n margin: 0;\n}\n\nspan.e-table-box {\n cursor: nwse-resize;\n display: block;\n height: 10px;\n position: absolute;\n width: 10px;\n background-color: #ffffff;\n border: 1px solid #BDBDBD;\n}\n\nspan.e-table-box.e-rmob {\n height: 14px;\n width: 14px;\n background-color: #BDBDBD;\n border: 1px solid #BDBDBD;\n}\n\n.e-row-resize,\n.e-column-resize {\n background-color: transparent;\n background-repeat: repeat;\n bottom: 0;\n cursor: col-resize;\n height: 1px;\n overflow: visible;\n position: absolute;\n width: 1px;\n}\n\n.e-row-resize {\n cursor: row-resize;\n height: 1px;\n}\n\n.e-table-rhelper {\n cursor: col-resize;\n opacity: .87;\n position: absolute;\n}\n\n.e-table-rhelper.e-column-helper {\n width: 1px;\n}\n\n.e-table-rhelper.e-row-helper {\n height: 1px;\n}\n\n.e-reicon::before {\n border-bottom: 6px solid transparent;\n border-right: 6px solid;\n border-top: 6px solid transparent;\n content: '';\n display: block;\n height: 0;\n position: absolute;\n right: 4px;\n top: 4px;\n width: 20px;\n}\n\n.e-reicon::after {\n border-bottom: 6px solid transparent;\n border-left: 6px solid;\n border-top: 6px solid transparent;\n content: '';\n display: block;\n height: 0;\n left: 4px;\n position: absolute;\n top: 4px;\n width: 20px;\n z-index: 3;\n}\n\n.e-row-helper.e-reicon::after {\n top: 10px;\n transform: rotate(90deg);\n}\n\n.e-row-helper.e-reicon::before {\n left: 4px;\n top: -20px;\n transform: rotate(90deg);\n}\n\n\n.e-table-rhelper {\n background-color: #4a90e2;\n}\n\n.e-rtl {\n direction: rtl;\n}\n\n.e-rte-placeholder::before {\n content: attr(placeholder);\n opacity: 0.54;\n overflow: hidden;\n padding-top: 16px;\n position: absolute;\n text-align: start;\n top: 0;\n z-index: 1;\n}\n\n.e-resize-enabled,\n.e-count-enabled {\n padding-bottom: 0px;\n}\n";
|
|
5
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "./config", "./constant"], function (require, exports, config_1, constant_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
function __export(m) {
|
|
4
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
5
|
-
}
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
__export(config_1);
|
|
8
|
-
__export(constant_1);
|
|
9
|
-
});
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Specifies common models interfaces.
|
|
3
|
-
*
|
|
4
|
-
* @hidden
|
|
5
|
-
* @deprecated
|
|
6
|
-
*/
|
|
7
|
-
import { EditorMode } from './types';
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated
|
|
10
|
-
*/
|
|
11
|
-
export interface IAdvanceListItem {
|
|
12
|
-
listStyle?: string;
|
|
13
|
-
listImage?: string;
|
|
14
|
-
type?: string;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated
|
|
18
|
-
*/
|
|
19
|
-
export interface IMarkdownFormatterCallBack {
|
|
20
|
-
selectedText?: string;
|
|
21
|
-
editorMode?: EditorMode;
|
|
22
|
-
action?: string;
|
|
23
|
-
event?: KeyboardEvent | MouseEvent;
|
|
24
|
-
requestType?: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated
|
|
28
|
-
*/
|
|
29
|
-
export interface IHtmlFormatterCallBack {
|
|
30
|
-
selectedNode?: Element;
|
|
31
|
-
requestType?: string;
|
|
32
|
-
range?: Range;
|
|
33
|
-
editorMode?: EditorMode;
|
|
34
|
-
action?: string;
|
|
35
|
-
elements?: Element | Element[];
|
|
36
|
-
imgElem?: Element | Element[];
|
|
37
|
-
event?: KeyboardEvent | MouseEvent;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated
|
|
41
|
-
*/
|
|
42
|
-
export interface IMarkdownToolbarStatus {
|
|
43
|
-
OrderedList: boolean;
|
|
44
|
-
UnorderedList: boolean;
|
|
45
|
-
Formats: string;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @deprecated
|
|
49
|
-
*/
|
|
50
|
-
export interface IUndoCallBack {
|
|
51
|
-
callBack?: Function;
|
|
52
|
-
event?: Object;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* @deprecated
|
|
56
|
-
*/
|
|
57
|
-
export interface IToolbarStatus {
|
|
58
|
-
bold?: boolean;
|
|
59
|
-
italic?: boolean;
|
|
60
|
-
underline?: boolean;
|
|
61
|
-
strikethrough?: boolean;
|
|
62
|
-
superscript?: boolean;
|
|
63
|
-
subscript?: boolean;
|
|
64
|
-
fontcolor?: string;
|
|
65
|
-
fontname?: string;
|
|
66
|
-
fontsize?: string;
|
|
67
|
-
backgroundcolor?: string;
|
|
68
|
-
formats?: string;
|
|
69
|
-
alignments?: string;
|
|
70
|
-
orderedlist?: boolean;
|
|
71
|
-
unorderedlist?: boolean;
|
|
72
|
-
inlinecode?: boolean;
|
|
73
|
-
uppercase?: boolean;
|
|
74
|
-
lowercase?: boolean;
|
|
75
|
-
createlink?: boolean;
|
|
76
|
-
insertcode?: boolean;
|
|
77
|
-
blockquote?: boolean;
|
|
78
|
-
numberFormatList?: string | boolean;
|
|
79
|
-
bulletFormatList?: string | boolean;
|
|
80
|
-
InlineCode?: boolean;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* @deprecated
|
|
84
|
-
* @private
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* */
|
|
88
|
-
export interface IImageResizeFactor {
|
|
89
|
-
topLeft: [number, number];
|
|
90
|
-
topRight: [number, number];
|
|
91
|
-
botLeft: [number, number];
|
|
92
|
-
botRight: [number, number];
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* The `ImageOrTableCursor` is used to specify the image or table cursor in Enter key Module.
|
|
96
|
-
*
|
|
97
|
-
* @private
|
|
98
|
-
* @hidden
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
* */
|
|
102
|
-
export interface ImageOrTableCursor {
|
|
103
|
-
start: boolean;
|
|
104
|
-
startName: string;
|
|
105
|
-
end: boolean;
|
|
106
|
-
endName: string;
|
|
107
|
-
startNode?: HTMLElement;
|
|
108
|
-
endNode?: HTMLElement;
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* The `ImageDimension` is used to specify the width and height of the editor image.
|
|
112
|
-
*
|
|
113
|
-
* @private
|
|
114
|
-
* @hidden
|
|
115
|
-
*/
|
|
116
|
-
export interface ImageDimension {
|
|
117
|
-
width: number;
|
|
118
|
-
height: number;
|
|
119
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Specifies the modes available for rendering the Rich Text Editor.
|
|
3
|
-
* Options are either in HTML or Markdown format.
|
|
4
|
-
*/
|
|
5
|
-
export declare type EditorMode = 'HTML' | 'Markdown';
|
|
6
|
-
/**
|
|
7
|
-
* Specifies the formats available for saving images.
|
|
8
|
-
* Options include saving as Base64 or Blob.
|
|
9
|
-
*/
|
|
10
|
-
export declare type SaveFormat = 'Base64' | 'Blob';
|
|
11
|
-
/**
|
|
12
|
-
* Specifies the layout options for displaying audio or video content.
|
|
13
|
-
* Options are Inline or Break.
|
|
14
|
-
*/
|
|
15
|
-
export declare type DisplayLayoutOptions = 'Inline' | 'Break';
|
|
16
|
-
/**
|
|
17
|
-
* Specifies the HTML tag used when the enter key is pressed.
|
|
18
|
-
* Options include P, DIV, or BR.
|
|
19
|
-
*/
|
|
20
|
-
export declare type EnterKey = 'P' | 'DIV' | 'BR';
|
|
21
|
-
/**
|
|
22
|
-
* Specifies the HTML tag used when shift + enter keys are pressed.
|
|
23
|
-
* Options include P, DIV, or BR.
|
|
24
|
-
*/
|
|
25
|
-
export declare type ShiftEnterKey = 'P' | 'DIV' | 'BR';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
declare type BrowserList = 'Chrome' | 'Firefox' | 'Safari' | 'Edge' | 'Unknown';
|
|
2
|
-
declare type Platform = 'Windows' | 'macOS' | 'Linux' | 'iOS' | 'Android' | 'Unknown';
|
|
3
|
-
/**
|
|
4
|
-
* This class returns the browser platform details from the user agent string.
|
|
5
|
-
*/
|
|
6
|
-
export declare class CustomUserAgentData {
|
|
7
|
-
private userAgent;
|
|
8
|
-
private isTesting;
|
|
9
|
-
constructor(userAgent: string, testing: boolean);
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* To get the platform name from the user agent string.
|
|
13
|
-
*
|
|
14
|
-
* @hidden
|
|
15
|
-
* @returns {Platform} - Returns the platform name.
|
|
16
|
-
*/
|
|
17
|
-
getPlatform(): Platform;
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* To get the platform name from the user agent string.
|
|
21
|
-
*
|
|
22
|
-
* @hidden
|
|
23
|
-
* @returns {BrowserList} - Returns the platform name.
|
|
24
|
-
*/
|
|
25
|
-
getBrowser(): BrowserList;
|
|
26
|
-
/**
|
|
27
|
-
* To check whether the browser is a mobile device.
|
|
28
|
-
*
|
|
29
|
-
* @hidden
|
|
30
|
-
* @returns {boolean} - Returns true if the device is a mobile device.
|
|
31
|
-
*/
|
|
32
|
-
isMobileDevice(): boolean;
|
|
33
|
-
/**
|
|
34
|
-
* To check whether the browser is a mobile device.
|
|
35
|
-
*
|
|
36
|
-
* @hidden
|
|
37
|
-
* @returns {boolean} - Returns true if the device is a mobile device.
|
|
38
|
-
*/
|
|
39
|
-
isSafari(): boolean;
|
|
40
|
-
}
|
|
41
|
-
export {};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
define(["require", "exports"], function (require, exports) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
var CustomUserAgentData = (function () {
|
|
5
|
-
function CustomUserAgentData(userAgent, testing) {
|
|
6
|
-
this.userAgent = userAgent;
|
|
7
|
-
this.isTesting = testing;
|
|
8
|
-
}
|
|
9
|
-
CustomUserAgentData.prototype.getPlatform = function () {
|
|
10
|
-
if (!this.isTesting && window.navigator.userAgentData) {
|
|
11
|
-
return window.navigator.userAgentData.platform;
|
|
12
|
-
}
|
|
13
|
-
if (/windows/i.test(this.userAgent)) {
|
|
14
|
-
return 'Windows';
|
|
15
|
-
}
|
|
16
|
-
if (/macintosh|mac os/i.test(this.userAgent) && !(/iphone|ipad|ipod/i.test(this.userAgent))) {
|
|
17
|
-
return 'macOS';
|
|
18
|
-
}
|
|
19
|
-
if (/linux/i.test(this.userAgent) && !(/android/i.test(this.userAgent))) {
|
|
20
|
-
return 'Linux';
|
|
21
|
-
}
|
|
22
|
-
if (/iphone|ipad|ipod/i.test(this.userAgent)) {
|
|
23
|
-
return 'iOS';
|
|
24
|
-
}
|
|
25
|
-
if (/android/i.test(this.userAgent)) {
|
|
26
|
-
return 'Android';
|
|
27
|
-
}
|
|
28
|
-
return 'Unknown';
|
|
29
|
-
};
|
|
30
|
-
CustomUserAgentData.prototype.getBrowser = function () {
|
|
31
|
-
var brands = [];
|
|
32
|
-
if (!this.isTesting && window.navigator.userAgentData) {
|
|
33
|
-
brands = window.navigator.userAgentData.brands;
|
|
34
|
-
for (var _i = 0, brands_1 = brands; _i < brands_1.length; _i++) {
|
|
35
|
-
var brand = brands_1[_i];
|
|
36
|
-
if (brand.brand === 'Google Chrome') {
|
|
37
|
-
return 'Chrome';
|
|
38
|
-
}
|
|
39
|
-
else if (brand.brand === 'Microsoft Edge') {
|
|
40
|
-
return 'Edge';
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
if (/chrome|chromium|crios/i.test(this.userAgent) && !/edg/i.test(this.userAgent)) {
|
|
45
|
-
return 'Chrome';
|
|
46
|
-
}
|
|
47
|
-
if (/firefox|fxios/i.test(this.userAgent) && !/edg/i.test(this.userAgent)) {
|
|
48
|
-
return 'Firefox';
|
|
49
|
-
}
|
|
50
|
-
if (/safari/i.test(this.userAgent) && !/chrome|chromium|crios/i.test(this.userAgent)) {
|
|
51
|
-
return 'Safari';
|
|
52
|
-
}
|
|
53
|
-
if (/edg/i.test(this.userAgent)) {
|
|
54
|
-
return 'Edge';
|
|
55
|
-
}
|
|
56
|
-
return 'Unknown';
|
|
57
|
-
};
|
|
58
|
-
CustomUserAgentData.prototype.isMobileDevice = function () {
|
|
59
|
-
if (!this.isTesting && window.navigator.userAgentData) {
|
|
60
|
-
return window.navigator.userAgentData.mobile;
|
|
61
|
-
}
|
|
62
|
-
return /(iphone|ipod|ipad|android|blackberry|bb|playbook|windows phone|webos|opera mini|mobile)/i.test(this.userAgent);
|
|
63
|
-
};
|
|
64
|
-
CustomUserAgentData.prototype.isSafari = function () {
|
|
65
|
-
var platform = this.getPlatform();
|
|
66
|
-
return this.getBrowser() === 'Safari' && (platform === 'macOS' || platform === 'iOS');
|
|
67
|
-
};
|
|
68
|
-
return CustomUserAgentData;
|
|
69
|
-
}());
|
|
70
|
-
exports.CustomUserAgentData = CustomUserAgentData;
|
|
71
|
-
});
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { IToolbarStatus } from './interface';
|
|
2
|
-
/**
|
|
3
|
-
* @returns {void}
|
|
4
|
-
* @hidden
|
|
5
|
-
*/
|
|
6
|
-
export declare function isIDevice(): boolean;
|
|
7
|
-
/**
|
|
8
|
-
* @param {Element} editableElement - specifies the editable element.
|
|
9
|
-
* @param {string} selector - specifies the string values.
|
|
10
|
-
* @returns {void}
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare function setEditFrameFocus(editableElement: Element, selector: string): void;
|
|
14
|
-
/**
|
|
15
|
-
* @param {string} value - specifies the string value
|
|
16
|
-
* @returns {void}
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
export declare function updateTextNode(value: string): string;
|
|
20
|
-
/**
|
|
21
|
-
* @param {Node} startChildNodes - specifies the node
|
|
22
|
-
* @returns {void}
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
export declare function getLastTextNode(startChildNodes: Node): Node;
|
|
26
|
-
/**
|
|
27
|
-
* @returns {void}
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
export declare function getDefaultHtmlTbStatus(): IToolbarStatus;
|
|
31
|
-
/**
|
|
32
|
-
* @returns {void}
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
export declare function getDefaultMDTbStatus(): IToolbarStatus;
|
|
36
|
-
/**
|
|
37
|
-
* @param {Range} range - specifies the range
|
|
38
|
-
* @param {Node} parentNode - specifies the parent node
|
|
39
|
-
* @returns {void}
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
export declare function nestedListCleanUp(range: Range, parentNode: Node): void;
|
|
43
|
-
/**
|
|
44
|
-
* Method to scroll the content to the cursor position
|
|
45
|
-
*
|
|
46
|
-
* @param {Document} document - specifies the document.
|
|
47
|
-
* @param {HTMLElement | HTMLBodyElement} inputElement - specifies the input element.
|
|
48
|
-
* @returns {void}
|
|
49
|
-
*/
|
|
50
|
-
export declare function scrollToCursor(document: Document, inputElement: HTMLElement | HTMLBodyElement): void;
|
|
51
|
-
/**
|
|
52
|
-
* Inserts items at a specific index in an array.
|
|
53
|
-
*
|
|
54
|
-
* @template T
|
|
55
|
-
* @param {Array<T>} oldArray - Specifies the old array.
|
|
56
|
-
* @param {Array<T>} newArray - Specifies the elements to insert.
|
|
57
|
-
* @param {number} indexToInsert - Specifies the index to insert.
|
|
58
|
-
* @returns {Array<T>} - Returns the array after inserting the elements.
|
|
59
|
-
*/
|
|
60
|
-
export declare function insertItemsAtIndex<T>(oldArray: Array<T>, newArray: Array<T>, indexToInsert: number): Array<T>;
|
|
61
|
-
/**
|
|
62
|
-
* Wrapper function to remove a class from the element and remove the attribute if the class is empty.
|
|
63
|
-
*
|
|
64
|
-
* @param {Element[]|NodeList} elements - An array of elements that need to remove a list of classes
|
|
65
|
-
* @param {string|string[]} classes - String or array of string that need to add an individual element as a class
|
|
66
|
-
*
|
|
67
|
-
* @returns {Element[]|NodeList} - Returns the array of elements after removing the class.
|
|
68
|
-
* @private
|
|
69
|
-
*/
|
|
70
|
-
export declare function removeClassWithAttr(elements: Element[] | NodeList, classes: string | string[]): Element[] | NodeList;
|