@syncfusion/ej2-richtexteditor 23.2.7 → 24.1.41-569421
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 +259 -259
- package/CHANGELOG.md +1953 -1749
- package/README.md +76 -76
- 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 +9971 -8025
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +8445 -6498
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/helpers/e2e/index.js +3 -3
- package/helpers/e2e/rte-helper.js +13 -13
- package/license +9 -9
- package/package.json +74 -74
- package/src/common/config.d.ts +7 -0
- package/src/common/config.js +12 -1
- package/src/common/constant.d.ts +6 -0
- package/src/common/constant.js +6 -0
- package/src/common/interface.d.ts +19 -7
- package/src/common/types.d.ts +6 -0
- package/src/common/util.d.ts +6 -0
- package/src/common/util.js +61 -20
- package/src/editor-manager/base/classes.d.ts +1 -1
- package/src/editor-manager/base/classes.js +1 -1
- package/src/editor-manager/base/constant.d.ts +6 -0
- package/src/editor-manager/base/constant.js +6 -0
- package/src/editor-manager/base/editor-manager.d.ts +8 -3
- package/src/editor-manager/base/editor-manager.js +62 -3
- package/src/editor-manager/base/enum.d.ts +2 -2
- package/src/editor-manager/base/interface.d.ts +17 -9
- 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/audio.d.ts +3 -3
- package/src/editor-manager/plugin/audio.js +16 -6
- 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 +39 -35
- package/src/editor-manager/plugin/dom-node.js +203 -62
- package/src/editor-manager/plugin/format-painter-actions.d.ts +2 -1
- package/src/editor-manager/plugin/format-painter-actions.js +20 -2
- package/src/editor-manager/plugin/formats.d.ts +3 -2
- package/src/editor-manager/plugin/formats.js +40 -5
- package/src/editor-manager/plugin/image.d.ts +3 -3
- package/src/editor-manager/plugin/image.js +41 -18
- package/src/editor-manager/plugin/indents.d.ts +2 -2
- package/src/editor-manager/plugin/indents.js +3 -3
- 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 +3 -2
- package/src/editor-manager/plugin/inserthtml.js +85 -22
- 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 +10 -5
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +161 -72
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +4 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +216 -86
- package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
- package/src/editor-manager/plugin/nodecutter.js +11 -8
- package/src/editor-manager/plugin/selection-commands.d.ts +3 -1
- package/src/editor-manager/plugin/selection-commands.js +249 -5
- 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 +6 -3
- package/src/editor-manager/plugin/table.js +97 -51
- package/src/editor-manager/plugin/toolbar-status.d.ts +4 -4
- package/src/editor-manager/plugin/toolbar-status.js +22 -12
- package/src/editor-manager/plugin/undo.d.ts +7 -6
- package/src/editor-manager/plugin/undo.js +27 -7
- package/src/editor-manager/plugin/video.d.ts +3 -3
- package/src/editor-manager/plugin/video.js +3 -3
- 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/insert-text.d.ts +2 -2
- package/src/markdown-parser/plugin/insert-text.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 +1 -1
- package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
- 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 +13 -12
- package/src/rich-text-editor/actions/base-quick-toolbar.js +70 -23
- package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/base-toolbar.js +36 -37
- package/src/rich-text-editor/actions/color-picker.d.ts +3 -2
- package/src/rich-text-editor/actions/color-picker.js +15 -5
- package/src/rich-text-editor/actions/count.d.ts +3 -3
- package/src/rich-text-editor/actions/count.js +4 -4
- package/src/rich-text-editor/actions/dropdown-buttons.d.ts +3 -2
- package/src/rich-text-editor/actions/dropdown-buttons.js +13 -7
- package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
- package/src/rich-text-editor/actions/emoji-picker.js +17 -8
- package/src/rich-text-editor/actions/enter-key.js +10 -5
- package/src/rich-text-editor/actions/file-manager.js +1 -1
- package/src/rich-text-editor/actions/format-painter.js +5 -2
- package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
- package/src/rich-text-editor/actions/full-screen.js +8 -7
- package/src/rich-text-editor/actions/html-editor.d.ts +5 -3
- package/src/rich-text-editor/actions/html-editor.js +134 -22
- package/src/rich-text-editor/actions/keyboard-model.d.ts +16 -16
- package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
- package/src/rich-text-editor/actions/keyboard.js +23 -21
- package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
- package/src/rich-text-editor/actions/markdown-editor.js +5 -3
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +6 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +157 -29
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +17 -9
- package/src/rich-text-editor/actions/quick-toolbar.js +68 -21
- package/src/rich-text-editor/actions/resize.js +2 -1
- package/src/rich-text-editor/actions/toolbar-action.js +1 -1
- package/src/rich-text-editor/actions/toolbar.d.ts +16 -16
- package/src/rich-text-editor/actions/toolbar.js +48 -109
- 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 +125 -125
- package/src/rich-text-editor/base/classes.js +125 -125
- package/src/rich-text-editor/base/constant.d.ts +195 -150
- package/src/rich-text-editor/base/constant.js +364 -150
- 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 +96 -52
- package/src/rich-text-editor/base/interface.js +1 -1
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +891 -891
- package/src/rich-text-editor/base/rich-text-editor.d.ts +76 -64
- package/src/rich-text-editor/base/rich-text-editor.js +247 -160
- package/src/rich-text-editor/base/util.d.ts +1 -1
- package/src/rich-text-editor/base/util.js +23 -5
- package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
- package/src/rich-text-editor/formatter/formatter.js +24 -12
- 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/default-locale.js +31 -25
- package/src/rich-text-editor/models/iframe-settings-model.d.ts +26 -26
- package/src/rich-text-editor/models/iframe-settings.js +19 -19
- package/src/rich-text-editor/models/inline-mode-model.d.ts +11 -11
- package/src/rich-text-editor/models/inline-mode.js +19 -19
- package/src/rich-text-editor/models/items.js +3 -3
- package/src/rich-text-editor/models/toolbar-settings-model.d.ts +760 -760
- package/src/rich-text-editor/models/toolbar-settings.d.ts +1 -1
- package/src/rich-text-editor/models/toolbar-settings.js +20 -20
- package/src/rich-text-editor/renderer/audio-module.d.ts +2 -1
- package/src/rich-text-editor/renderer/audio-module.js +23 -5
- 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 +4 -2
- package/src/rich-text-editor/renderer/dialog-renderer.js +24 -4
- package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +19 -18
- package/src/rich-text-editor/renderer/image-module.d.ts +10 -2
- package/src/rich-text-editor/renderer/image-module.js +265 -221
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +54 -25
- 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 +11 -2
- package/src/rich-text-editor/renderer/table-module.js +344 -169
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +12 -15
- package/src/rich-text-editor/renderer/toolbar-renderer.js +115 -110
- package/src/rich-text-editor/renderer/video-module.d.ts +4 -1
- package/src/rich-text-editor/renderer/video-module.js +83 -42
- package/src/rich-text-editor/renderer/view-source.d.ts +7 -6
- package/src/rich-text-editor/renderer/view-source.js +21 -11
- 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 +25 -22
- package/styles/_all.scss +1 -1
- package/styles/bootstrap-dark.css +353 -103
- package/styles/bootstrap.css +357 -112
- package/styles/bootstrap4.css +338 -96
- package/styles/bootstrap5-dark.css +344 -97
- package/styles/bootstrap5.css +344 -97
- package/styles/fabric-dark.css +332 -90
- package/styles/fabric.css +333 -91
- package/styles/fluent-dark.css +360 -98
- package/styles/fluent.css +360 -98
- package/styles/highcontrast-light.css +332 -90
- package/styles/highcontrast.css +336 -91
- package/styles/material-dark.css +339 -92
- package/styles/material.css +339 -92
- package/styles/material3-dark.css +348 -100
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +348 -100
- package/styles/material3.scss +1 -1
- package/styles/rich-text-editor/_all.scss +2 -2
- package/styles/rich-text-editor/_bds-definition.scss +279 -0
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +281 -277
- package/styles/rich-text-editor/_bootstrap-definition.scss +337 -334
- package/styles/rich-text-editor/_bootstrap4-definition.scss +464 -460
- package/styles/rich-text-editor/_bootstrap5-definition.scss +266 -262
- package/styles/rich-text-editor/_fabric-dark-definition.scss +263 -259
- package/styles/rich-text-editor/_fabric-definition.scss +261 -257
- package/styles/rich-text-editor/_fluent-definition.scss +267 -263
- package/styles/rich-text-editor/_fusionnew-definition.scss +265 -261
- package/styles/rich-text-editor/_highcontrast-definition.scss +261 -257
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +261 -257
- package/styles/rich-text-editor/_layout.scss +2249 -2072
- package/styles/rich-text-editor/_material-dark-definition.scss +266 -262
- package/styles/rich-text-editor/_material-definition.scss +264 -260
- package/styles/rich-text-editor/_material3-definition.scss +266 -262
- package/styles/rich-text-editor/_tailwind-definition.scss +261 -257
- package/styles/rich-text-editor/_theme.scss +926 -837
- package/styles/rich-text-editor/bootstrap-dark.css +353 -103
- package/styles/rich-text-editor/bootstrap.css +357 -112
- package/styles/rich-text-editor/bootstrap4.css +338 -96
- package/styles/rich-text-editor/bootstrap5-dark.css +344 -97
- package/styles/rich-text-editor/bootstrap5.css +344 -97
- package/styles/rich-text-editor/fabric-dark.css +332 -90
- package/styles/rich-text-editor/fabric.css +333 -91
- package/styles/rich-text-editor/fluent-dark.css +360 -98
- package/styles/rich-text-editor/fluent.css +360 -98
- package/styles/rich-text-editor/highcontrast-light.css +332 -90
- package/styles/rich-text-editor/highcontrast.css +336 -91
- package/styles/rich-text-editor/icons/_bds.scss +348 -0
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +349 -349
- package/styles/rich-text-editor/icons/_bootstrap.scss +349 -349
- package/styles/rich-text-editor/icons/_bootstrap4.scss +349 -349
- package/styles/rich-text-editor/icons/_bootstrap5.scss +348 -348
- package/styles/rich-text-editor/icons/_fabric-dark.scss +349 -349
- package/styles/rich-text-editor/icons/_fabric.scss +349 -349
- package/styles/rich-text-editor/icons/_fluent.scss +348 -348
- package/styles/rich-text-editor/icons/_fusionnew.scss +348 -348
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +349 -349
- package/styles/rich-text-editor/icons/_highcontrast.scss +349 -349
- package/styles/rich-text-editor/icons/_material-dark.scss +349 -349
- package/styles/rich-text-editor/icons/_material.scss +349 -349
- package/styles/rich-text-editor/icons/_material3.scss +348 -348
- package/styles/rich-text-editor/icons/_tailwind.scss +348 -348
- package/styles/rich-text-editor/material-dark.css +339 -92
- package/styles/rich-text-editor/material.css +339 -92
- package/styles/rich-text-editor/material3-dark.css +348 -100
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.css +348 -100
- package/styles/rich-text-editor/material3.scss +1 -1
- package/styles/rich-text-editor/tailwind-dark.css +383 -113
- package/styles/rich-text-editor/tailwind.css +383 -113
- package/styles/tailwind-dark.css +383 -113
- package/styles/tailwind.css +383 -113
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -41
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +0 -27
- package/dist/ej2-richtexteditor.min.js +0 -10
- 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/tslint.json +0 -111
|
@@ -8,7 +8,7 @@ import { ClickEventArgs } from '@syncfusion/ej2-navigations';
|
|
|
8
8
|
import { BaseToolbar } from '../actions/base-toolbar';
|
|
9
9
|
import { BaseQuickToolbar } from '../actions/base-quick-toolbar';
|
|
10
10
|
import { NodeSelection } from '../../selection/selection';
|
|
11
|
-
import { EditorMode, EnterKey, ShiftEnterKey } from './../../common/types';
|
|
11
|
+
import { ContentHeightSource, EditorMode, EnterKey, ShiftEnterKey } from './../../common/types';
|
|
12
12
|
import { MarkdownSelection } from './../../markdown-parser/plugin/markdown-selection';
|
|
13
13
|
import { ToolbarSettingsModel, IFrameSettingsModel, ImageSettingsModel, AudioSettingsModel, VideoSettingsModel, TableSettingsModel, FormatPainterSettingsModel, EmojiSettingsModel } from '../models/models';
|
|
14
14
|
import { QuickToolbarSettingsModel, InlineModeModel, PasteCleanupSettingsModel, FileManagerSettingsModel } from '../models/models';
|
|
@@ -41,7 +41,7 @@ import { EmojiPicker } from '../actions/emoji-picker';
|
|
|
41
41
|
* Specifies Rich Text Editor interfaces.
|
|
42
42
|
*
|
|
43
43
|
* @hidden
|
|
44
|
-
|
|
44
|
+
* @deprecated
|
|
45
45
|
*/
|
|
46
46
|
export interface IRichTextEditor extends Component<HTMLElement> {
|
|
47
47
|
toolbarSettings?: ToolbarSettingsModel;
|
|
@@ -159,10 +159,11 @@ export interface IRichTextEditor extends Component<HTMLElement> {
|
|
|
159
159
|
getCollection?(items: string | string[]): string[];
|
|
160
160
|
getRange(): Range;
|
|
161
161
|
getID(): string;
|
|
162
|
+
getCssClass(isSpace?: boolean): string;
|
|
162
163
|
getText(): string;
|
|
163
164
|
updateValueData?(): void;
|
|
164
165
|
getBaseToolbarObject(): BaseToolbar;
|
|
165
|
-
setContentHeight(target
|
|
166
|
+
setContentHeight(target: ContentHeightSource, isExpand?: boolean): void;
|
|
166
167
|
keyConfig?: {
|
|
167
168
|
[key: string]: string;
|
|
168
169
|
};
|
|
@@ -195,9 +196,11 @@ export interface IRichTextEditor extends Component<HTMLElement> {
|
|
|
195
196
|
currentTarget: HTMLElement;
|
|
196
197
|
focusIn(): void;
|
|
197
198
|
showEmojiPicker?(x?: number, y?: number): void;
|
|
199
|
+
addAnchorAriaLabel?(value: string): string;
|
|
200
|
+
autoSaveOnIdle: boolean;
|
|
198
201
|
}
|
|
199
202
|
/**
|
|
200
|
-
|
|
203
|
+
* @deprecated
|
|
201
204
|
*/
|
|
202
205
|
export interface IRenderer {
|
|
203
206
|
linkQTBar?: BaseQuickToolbar;
|
|
@@ -251,7 +254,7 @@ export interface NotifyArgs {
|
|
|
251
254
|
action?: string;
|
|
252
255
|
callBack?(args?: string | IImageCommandsArgs, cropImageData?: {
|
|
253
256
|
[key: string]: string | boolean | number;
|
|
254
|
-
}[]): void;
|
|
257
|
+
}[], pasteTableSource?: string): void;
|
|
255
258
|
file?: Blob;
|
|
256
259
|
insertElement?: Element;
|
|
257
260
|
touchData?: ITouchData;
|
|
@@ -259,6 +262,11 @@ export interface NotifyArgs {
|
|
|
259
262
|
formatPainterSettings?: FormatPainterSettingsModel;
|
|
260
263
|
emojiPickerSettings?: EmojiSettingsModel;
|
|
261
264
|
ariaLabel?: string;
|
|
265
|
+
/**
|
|
266
|
+
* Defines the source of the Table content.
|
|
267
|
+
* @private
|
|
268
|
+
*/
|
|
269
|
+
pasteTableSource?: string;
|
|
262
270
|
}
|
|
263
271
|
/**
|
|
264
272
|
* Provides information about the current and previous cssClass property .
|
|
@@ -268,7 +276,7 @@ export interface ICssClassArgs {
|
|
|
268
276
|
oldCssClass?: string;
|
|
269
277
|
}
|
|
270
278
|
/**
|
|
271
|
-
|
|
279
|
+
* @deprecated
|
|
272
280
|
*/
|
|
273
281
|
export interface IItemCollectionArgs {
|
|
274
282
|
/** Defines the instance of the current selection */
|
|
@@ -299,7 +307,7 @@ export interface ITouchData {
|
|
|
299
307
|
}
|
|
300
308
|
/**
|
|
301
309
|
* @hidden
|
|
302
|
-
|
|
310
|
+
* @deprecated
|
|
303
311
|
*/
|
|
304
312
|
export interface IFormatPainter {
|
|
305
313
|
/** Stores the previous action. */
|
|
@@ -308,7 +316,7 @@ export interface IFormatPainter {
|
|
|
308
316
|
}
|
|
309
317
|
/**
|
|
310
318
|
* @hidden
|
|
311
|
-
|
|
319
|
+
* @deprecated
|
|
312
320
|
*/
|
|
313
321
|
export interface IColorPickerModel extends ColorPickerModel {
|
|
314
322
|
element?: HTMLElement;
|
|
@@ -321,7 +329,7 @@ export interface IColorPickerModel extends ColorPickerModel {
|
|
|
321
329
|
}
|
|
322
330
|
/**
|
|
323
331
|
* @hidden
|
|
324
|
-
|
|
332
|
+
* @deprecated
|
|
325
333
|
*/
|
|
326
334
|
export interface IColorPickerEventArgs extends ColorPickerEventArgs {
|
|
327
335
|
item?: IColorPickerModel;
|
|
@@ -330,7 +338,7 @@ export interface IColorPickerEventArgs extends ColorPickerEventArgs {
|
|
|
330
338
|
}
|
|
331
339
|
/**
|
|
332
340
|
* @hidden
|
|
333
|
-
|
|
341
|
+
* @deprecated
|
|
334
342
|
*/
|
|
335
343
|
export interface IDropDownItem extends ItemModel {
|
|
336
344
|
command?: string;
|
|
@@ -341,13 +349,13 @@ export interface IDropDownItem extends ItemModel {
|
|
|
341
349
|
}
|
|
342
350
|
/**
|
|
343
351
|
* @hidden
|
|
344
|
-
|
|
352
|
+
* @deprecated
|
|
345
353
|
*/
|
|
346
354
|
export interface IDropDownClickArgs extends ClickEventArgs {
|
|
347
355
|
item: IDropDownItem;
|
|
348
356
|
}
|
|
349
357
|
/**
|
|
350
|
-
|
|
358
|
+
* @deprecated
|
|
351
359
|
*/
|
|
352
360
|
export interface IColorPickerRenderArgs {
|
|
353
361
|
items?: string[];
|
|
@@ -355,7 +363,7 @@ export interface IColorPickerRenderArgs {
|
|
|
355
363
|
container?: HTMLElement;
|
|
356
364
|
}
|
|
357
365
|
/**
|
|
358
|
-
|
|
366
|
+
* @deprecated
|
|
359
367
|
*/
|
|
360
368
|
export interface IImageNotifyArgs {
|
|
361
369
|
module?: string;
|
|
@@ -377,6 +385,7 @@ export interface IImageNotifyArgs {
|
|
|
377
385
|
member?: string;
|
|
378
386
|
name?: string;
|
|
379
387
|
cssClass?: string;
|
|
388
|
+
ariaLabel?: string;
|
|
380
389
|
}
|
|
381
390
|
/**
|
|
382
391
|
* Provides information about a Image added in the Rich Text Editor.
|
|
@@ -450,7 +459,7 @@ export interface IVideoCommandsArgs {
|
|
|
450
459
|
selectParent?: Node[];
|
|
451
460
|
}
|
|
452
461
|
/**
|
|
453
|
-
|
|
462
|
+
* @deprecated
|
|
454
463
|
*/
|
|
455
464
|
export interface ImageDragEvent extends DragEvent {
|
|
456
465
|
rangeParent?: Element;
|
|
@@ -489,7 +498,7 @@ export interface ILinkCommandsArgs {
|
|
|
489
498
|
*/
|
|
490
499
|
export interface ITableCommandsArgs {
|
|
491
500
|
/**
|
|
492
|
-
|
|
501
|
+
* @deprecated
|
|
493
502
|
* This argument deprecated. Use `rows` argument.
|
|
494
503
|
*/
|
|
495
504
|
row?: number;
|
|
@@ -507,7 +516,7 @@ export interface ITableCommandsArgs {
|
|
|
507
516
|
selection?: NodeSelection;
|
|
508
517
|
}
|
|
509
518
|
/**
|
|
510
|
-
|
|
519
|
+
* @deprecated
|
|
511
520
|
*/
|
|
512
521
|
export interface IFormatPainterArgs {
|
|
513
522
|
/**
|
|
@@ -533,7 +542,7 @@ export interface EmojiIconsSet {
|
|
|
533
542
|
icons: IEmojiIcons[];
|
|
534
543
|
}
|
|
535
544
|
/**
|
|
536
|
-
|
|
545
|
+
* @deprecated
|
|
537
546
|
*/
|
|
538
547
|
export interface ITableArgs {
|
|
539
548
|
rows?: number;
|
|
@@ -549,7 +558,7 @@ export interface ITableArgs {
|
|
|
549
558
|
subCommand?: string;
|
|
550
559
|
}
|
|
551
560
|
/**
|
|
552
|
-
|
|
561
|
+
* @deprecated
|
|
553
562
|
*/
|
|
554
563
|
export interface ITableNotifyArgs {
|
|
555
564
|
module?: string;
|
|
@@ -589,14 +598,14 @@ export interface IToolbarItems {
|
|
|
589
598
|
}
|
|
590
599
|
/**
|
|
591
600
|
* @hidden
|
|
592
|
-
|
|
601
|
+
* @deprecated
|
|
593
602
|
*/
|
|
594
603
|
export interface IToolbarItemModel extends ItemModel {
|
|
595
604
|
command?: string;
|
|
596
605
|
subCommand?: string;
|
|
597
606
|
}
|
|
598
607
|
/**
|
|
599
|
-
|
|
608
|
+
* @deprecated
|
|
600
609
|
*/
|
|
601
610
|
export interface IToolbarOptions {
|
|
602
611
|
enableRtl: boolean;
|
|
@@ -608,7 +617,7 @@ export interface IToolbarOptions {
|
|
|
608
617
|
cssClass?: string;
|
|
609
618
|
}
|
|
610
619
|
/**
|
|
611
|
-
|
|
620
|
+
* @deprecated
|
|
612
621
|
*/
|
|
613
622
|
export interface IToolbarSettings {
|
|
614
623
|
enable?: boolean;
|
|
@@ -617,7 +626,7 @@ export interface IToolbarSettings {
|
|
|
617
626
|
type?: ToolbarType;
|
|
618
627
|
}
|
|
619
628
|
/**
|
|
620
|
-
|
|
629
|
+
* @deprecated
|
|
621
630
|
*/
|
|
622
631
|
export interface IToolbarRenderOptions {
|
|
623
632
|
target: HTMLElement;
|
|
@@ -627,7 +636,7 @@ export interface IToolbarRenderOptions {
|
|
|
627
636
|
cssClass?: string;
|
|
628
637
|
}
|
|
629
638
|
/**
|
|
630
|
-
|
|
639
|
+
* @deprecated
|
|
631
640
|
*/
|
|
632
641
|
export interface IDropDownModel {
|
|
633
642
|
content?: string;
|
|
@@ -638,7 +647,7 @@ export interface IDropDownModel {
|
|
|
638
647
|
element: HTMLElement;
|
|
639
648
|
}
|
|
640
649
|
/**
|
|
641
|
-
|
|
650
|
+
* @deprecated
|
|
642
651
|
*/
|
|
643
652
|
export interface IToolsItems {
|
|
644
653
|
id: string;
|
|
@@ -660,7 +669,7 @@ export interface IToolsItemConfigs {
|
|
|
660
669
|
}
|
|
661
670
|
/**
|
|
662
671
|
* @hidden
|
|
663
|
-
|
|
672
|
+
* @deprecated
|
|
664
673
|
*/
|
|
665
674
|
export interface IListDropDownModel extends DropDownItemModel {
|
|
666
675
|
cssClass?: string;
|
|
@@ -673,7 +682,7 @@ export interface IListDropDownModel extends DropDownItemModel {
|
|
|
673
682
|
}
|
|
674
683
|
/**
|
|
675
684
|
* @hidden
|
|
676
|
-
|
|
685
|
+
* @deprecated
|
|
677
686
|
*/
|
|
678
687
|
export interface IDropDownItemModel extends DropDownItemModel {
|
|
679
688
|
cssClass?: string;
|
|
@@ -695,7 +704,7 @@ export interface ActionCompleteEventArgs {
|
|
|
695
704
|
/**
|
|
696
705
|
* Defines the selected elements.
|
|
697
706
|
*
|
|
698
|
-
|
|
707
|
+
* @deprecated
|
|
699
708
|
*/
|
|
700
709
|
elements?: Node[];
|
|
701
710
|
/** Defines the event item. */
|
|
@@ -703,7 +712,7 @@ export interface ActionCompleteEventArgs {
|
|
|
703
712
|
/**
|
|
704
713
|
* Defines the selected range.
|
|
705
714
|
*
|
|
706
|
-
|
|
715
|
+
* @deprecated
|
|
707
716
|
*/
|
|
708
717
|
range?: Range;
|
|
709
718
|
}
|
|
@@ -718,7 +727,7 @@ export interface ActionBeginEventArgs {
|
|
|
718
727
|
/**
|
|
719
728
|
* Defines the current item.
|
|
720
729
|
*
|
|
721
|
-
|
|
730
|
+
* @deprecated
|
|
722
731
|
*/
|
|
723
732
|
item?: IToolbarItemModel | IDropDownItemModel;
|
|
724
733
|
/** Defines the current item. */
|
|
@@ -730,13 +739,13 @@ export interface ActionBeginEventArgs {
|
|
|
730
739
|
/**
|
|
731
740
|
* Defines the url action details.
|
|
732
741
|
*
|
|
733
|
-
|
|
742
|
+
* @deprecated
|
|
734
743
|
*/
|
|
735
744
|
itemCollection?: IItemCollectionArgs;
|
|
736
745
|
/**
|
|
737
746
|
* Defines the emoji picker details.
|
|
738
747
|
*
|
|
739
|
-
|
|
748
|
+
* @deprecated
|
|
740
749
|
*/
|
|
741
750
|
emojiPickerArgs?: IEmojiPickerArgs;
|
|
742
751
|
}
|
|
@@ -751,7 +760,7 @@ export interface PrintEventArgs extends ActionBeginEventArgs {
|
|
|
751
760
|
element?: Element;
|
|
752
761
|
}
|
|
753
762
|
/**
|
|
754
|
-
|
|
763
|
+
* @deprecated
|
|
755
764
|
*/
|
|
756
765
|
export interface IShowPopupArgs {
|
|
757
766
|
args?: MouseEvent | TouchEvent | KeyboardEvent;
|
|
@@ -760,7 +769,7 @@ export interface IShowPopupArgs {
|
|
|
760
769
|
elements?: Element | Element[];
|
|
761
770
|
}
|
|
762
771
|
/**
|
|
763
|
-
|
|
772
|
+
* @deprecated
|
|
764
773
|
*/
|
|
765
774
|
export interface IUpdateItemsModel {
|
|
766
775
|
targetItem: string;
|
|
@@ -768,7 +777,7 @@ export interface IUpdateItemsModel {
|
|
|
768
777
|
baseToolbar: BaseToolbar;
|
|
769
778
|
}
|
|
770
779
|
/**
|
|
771
|
-
|
|
780
|
+
* @deprecated
|
|
772
781
|
*/
|
|
773
782
|
export interface IDropDownRenderArgs {
|
|
774
783
|
items?: string[];
|
|
@@ -776,7 +785,7 @@ export interface IDropDownRenderArgs {
|
|
|
776
785
|
container?: HTMLElement;
|
|
777
786
|
}
|
|
778
787
|
/**
|
|
779
|
-
|
|
788
|
+
* @deprecated
|
|
780
789
|
*/
|
|
781
790
|
export interface IShowQuickTBarOptions {
|
|
782
791
|
x: number;
|
|
@@ -796,14 +805,14 @@ export interface IShowQuickTBarOptions {
|
|
|
796
805
|
bodyRightSpace: number;
|
|
797
806
|
}
|
|
798
807
|
/**
|
|
799
|
-
|
|
808
|
+
* @deprecated
|
|
800
809
|
*/
|
|
801
810
|
export interface IPositionChanged {
|
|
802
811
|
x: boolean;
|
|
803
812
|
y: boolean;
|
|
804
813
|
}
|
|
805
814
|
/**
|
|
806
|
-
|
|
815
|
+
* @deprecated
|
|
807
816
|
*/
|
|
808
817
|
export interface IQuickToolbarOptions {
|
|
809
818
|
popupType: string;
|
|
@@ -819,7 +828,7 @@ export interface BeforeQuickToolbarOpenArgs {
|
|
|
819
828
|
/**
|
|
820
829
|
* Defines the instance of the current popup element
|
|
821
830
|
*
|
|
822
|
-
|
|
831
|
+
* @deprecated
|
|
823
832
|
*/
|
|
824
833
|
popup?: Popup;
|
|
825
834
|
/** Determine whether the quick toolbar is open */
|
|
@@ -856,7 +865,7 @@ export interface QuickToolbarEventArgs {
|
|
|
856
865
|
/**
|
|
857
866
|
* Defines the instance of the current popup element
|
|
858
867
|
*
|
|
859
|
-
|
|
868
|
+
* @deprecated
|
|
860
869
|
*/
|
|
861
870
|
popup?: Popup;
|
|
862
871
|
/**
|
|
@@ -869,7 +878,7 @@ export interface QuickToolbarEventArgs {
|
|
|
869
878
|
name?: string;
|
|
870
879
|
}
|
|
871
880
|
/**
|
|
872
|
-
|
|
881
|
+
* @deprecated
|
|
873
882
|
*/
|
|
874
883
|
export interface IAdapterProcess {
|
|
875
884
|
text: string;
|
|
@@ -910,7 +919,7 @@ export interface IFormatter {
|
|
|
910
919
|
mdSelectionFormat?: MDSelectionFormats;
|
|
911
920
|
}
|
|
912
921
|
/**
|
|
913
|
-
|
|
922
|
+
* @deprecated
|
|
914
923
|
*/
|
|
915
924
|
export interface IHtmlFormatterModel {
|
|
916
925
|
currentDocument?: Document;
|
|
@@ -924,7 +933,7 @@ export interface IHtmlFormatterModel {
|
|
|
924
933
|
formatPainterSettings?: FormatPainterSettingsModel;
|
|
925
934
|
}
|
|
926
935
|
/**
|
|
927
|
-
|
|
936
|
+
* @deprecated
|
|
928
937
|
*/
|
|
929
938
|
export interface IMarkdownFormatterModel {
|
|
930
939
|
element?: Element;
|
|
@@ -945,7 +954,7 @@ export interface IMarkdownFormatterModel {
|
|
|
945
954
|
};
|
|
946
955
|
}
|
|
947
956
|
/**
|
|
948
|
-
|
|
957
|
+
* @deprecated
|
|
949
958
|
*/
|
|
950
959
|
export interface IFontProperties {
|
|
951
960
|
default?: string;
|
|
@@ -953,19 +962,19 @@ export interface IFontProperties {
|
|
|
953
962
|
width?: string;
|
|
954
963
|
}
|
|
955
964
|
/**
|
|
956
|
-
|
|
965
|
+
* @deprecated
|
|
957
966
|
*/
|
|
958
967
|
export interface IBulletFormatListPropertiesProperties {
|
|
959
968
|
types?: IListDropDownModel[];
|
|
960
969
|
}
|
|
961
970
|
/**
|
|
962
|
-
|
|
971
|
+
* @deprecated
|
|
963
972
|
*/
|
|
964
973
|
export interface INumberFormatListPropertiesProperties {
|
|
965
974
|
types?: IListDropDownModel[];
|
|
966
975
|
}
|
|
967
976
|
/**
|
|
968
|
-
|
|
977
|
+
* @deprecated
|
|
969
978
|
*/
|
|
970
979
|
export interface IFormatProperties {
|
|
971
980
|
default?: string;
|
|
@@ -973,7 +982,7 @@ export interface IFormatProperties {
|
|
|
973
982
|
width?: string;
|
|
974
983
|
}
|
|
975
984
|
/**
|
|
976
|
-
|
|
985
|
+
* @deprecated
|
|
977
986
|
*/
|
|
978
987
|
export interface OffsetPosition {
|
|
979
988
|
left: number;
|
|
@@ -1033,7 +1042,7 @@ export interface SanitizeRemoveAttrs {
|
|
|
1033
1042
|
selector?: string;
|
|
1034
1043
|
}
|
|
1035
1044
|
/**
|
|
1036
|
-
|
|
1045
|
+
* @deprecated
|
|
1037
1046
|
*/
|
|
1038
1047
|
export interface ISetToolbarStatusArgs {
|
|
1039
1048
|
args: IToolbarStatus;
|
|
@@ -1290,7 +1299,7 @@ export interface FocusEventArgs {
|
|
|
1290
1299
|
*/
|
|
1291
1300
|
export declare type ColorModeType = 'Picker' | 'Palette';
|
|
1292
1301
|
/**
|
|
1293
|
-
|
|
1302
|
+
* @deprecated
|
|
1294
1303
|
*/
|
|
1295
1304
|
export interface IColorProperties {
|
|
1296
1305
|
default?: string;
|
|
@@ -1302,7 +1311,7 @@ export interface IColorProperties {
|
|
|
1302
1311
|
modeSwitcher?: boolean;
|
|
1303
1312
|
}
|
|
1304
1313
|
/**
|
|
1305
|
-
|
|
1314
|
+
* @deprecated
|
|
1306
1315
|
*/
|
|
1307
1316
|
export interface IExecutionGroup {
|
|
1308
1317
|
command: string;
|
|
@@ -1336,7 +1345,7 @@ export interface ImageUploadingEventArgs {
|
|
|
1336
1345
|
}
|
|
1337
1346
|
/**
|
|
1338
1347
|
* @hidden
|
|
1339
|
-
|
|
1348
|
+
* @deprecated
|
|
1340
1349
|
*/
|
|
1341
1350
|
export declare const executeGroup: {
|
|
1342
1351
|
[key: string]: IExecutionGroup;
|
|
@@ -1347,7 +1356,7 @@ export declare const executeGroup: {
|
|
|
1347
1356
|
export declare type CommandName = 'bold' | 'italic' | 'underline' | 'strikeThrough' | 'superscript' | 'subscript' | 'uppercase' | 'lowercase' | 'fontColor' | 'fontName' | 'fontSize' | 'backColor' | 'justifyCenter' | 'justifyFull' | 'justifyLeft' | 'justifyRight' | 'undo' | 'createLink' | 'formatBlock' | 'heading' | 'indent' | 'insertHTML' | 'insertOrderedList' | 'insertUnorderedList' | 'insertParagraph' | 'outdent' | 'redo' | 'removeFormat' | 'insertText' | 'insertImage' | 'insertAudio' | 'insertVideo' | 'insertHorizontalRule' | 'insertBrOnReturn' | 'insertCode' | 'insertTable' | 'editImage' | 'editLink' | 'applyFormatPainter' | 'copyFormatPainter' | 'escapeFormatPainter' | 'emojiPicker';
|
|
1348
1357
|
/**
|
|
1349
1358
|
* @hidden
|
|
1350
|
-
|
|
1359
|
+
* @deprecated
|
|
1351
1360
|
*/
|
|
1352
1361
|
export interface StatusArgs {
|
|
1353
1362
|
html: Object;
|
|
@@ -1368,3 +1377,38 @@ export interface ToolbarStatusEventArgs {
|
|
|
1368
1377
|
/** Defines the markdown toolbar status arguments. */
|
|
1369
1378
|
markdown?: object;
|
|
1370
1379
|
}
|
|
1380
|
+
/**
|
|
1381
|
+
* @hidden
|
|
1382
|
+
* @deprecated
|
|
1383
|
+
*/
|
|
1384
|
+
export interface CleanupResizeElemArgs {
|
|
1385
|
+
name?: string;
|
|
1386
|
+
value: string;
|
|
1387
|
+
callBack(value: string): void;
|
|
1388
|
+
}
|
|
1389
|
+
/**
|
|
1390
|
+
* @hidden
|
|
1391
|
+
* @private
|
|
1392
|
+
*/
|
|
1393
|
+
export interface IBaseQuickToolbar {
|
|
1394
|
+
/**
|
|
1395
|
+
* Instance of the Quick Toolabr Popup.
|
|
1396
|
+
*/
|
|
1397
|
+
popupObj: Popup;
|
|
1398
|
+
/**
|
|
1399
|
+
* Parent Element of the Quick Toolbar.
|
|
1400
|
+
*/
|
|
1401
|
+
element: HTMLElement;
|
|
1402
|
+
/**
|
|
1403
|
+
* Boolean to check whether the quick toolbar is rendered in the DOM.
|
|
1404
|
+
*/
|
|
1405
|
+
isRendered: boolean;
|
|
1406
|
+
/**
|
|
1407
|
+
* Instance of the Toolbar rendered inside the Popup.
|
|
1408
|
+
*/
|
|
1409
|
+
quickTBarObj: BaseToolbar;
|
|
1410
|
+
/**
|
|
1411
|
+
* Element of the Toolbar rendered inside the Popup.
|
|
1412
|
+
*/
|
|
1413
|
+
toolbarElement: HTMLElement;
|
|
1414
|
+
}
|