@syncfusion/ej2-richtexteditor 24.1.41 → 24.1.43-569781
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 +1927 -1775
- 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 +2601 -1077
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +2706 -1181
- 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 +11 -0
- 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 +3 -3
- 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 -49
- 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 +15 -19
- package/src/editor-manager/plugin/indents.d.ts +2 -2
- package/src/editor-manager/plugin/indents.js +2 -2
- package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
- package/src/editor-manager/plugin/insert-methods.js +4 -4
- package/src/editor-manager/plugin/insert-text.d.ts +2 -2
- package/src/editor-manager/plugin/insert-text.js +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
- package/src/editor-manager/plugin/inserthtml.d.ts +3 -2
- package/src/editor-manager/plugin/inserthtml.js +64 -7
- 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 +6 -3
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +123 -67
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +4 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +213 -86
- package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
- package/src/editor-manager/plugin/nodecutter.js +8 -8
- package/src/editor-manager/plugin/selection-commands.d.ts +2 -1
- package/src/editor-manager/plugin/selection-commands.js +127 -4
- package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
- package/src/editor-manager/plugin/selection-exec.js +2 -2
- package/src/editor-manager/plugin/table.d.ts +2 -3
- package/src/editor-manager/plugin/table.js +35 -32
- 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/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 +12 -12
- package/src/rich-text-editor/actions/base-quick-toolbar.js +57 -20
- package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/base-toolbar.js +35 -37
- package/src/rich-text-editor/actions/color-picker.d.ts +3 -2
- package/src/rich-text-editor/actions/color-picker.js +12 -2
- 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 +2 -2
- package/src/rich-text-editor/actions/dropdown-buttons.js +23 -4
- package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
- package/src/rich-text-editor/actions/emoji-picker.js +4 -4
- package/src/rich-text-editor/actions/enter-key.js +4 -3
- package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
- package/src/rich-text-editor/actions/full-screen.js +6 -5
- package/src/rich-text-editor/actions/html-editor.d.ts +5 -5
- package/src/rich-text-editor/actions/html-editor.js +129 -45
- 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 +4 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +87 -12
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +16 -9
- package/src/rich-text-editor/actions/quick-toolbar.js +33 -18
- 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 +15 -16
- package/src/rich-text-editor/actions/toolbar.js +31 -100
- 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 +121 -126
- package/src/rich-text-editor/base/classes.js +121 -126
- package/src/rich-text-editor/base/constant.d.ts +190 -150
- package/src/rich-text-editor/base/constant.js +359 -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 +87 -53
- 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 +68 -65
- package/src/rich-text-editor/base/rich-text-editor.js +232 -199
- package/src/rich-text-editor/base/util.d.ts +5 -1
- package/src/rich-text-editor/base/util.js +47 -4
- package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
- package/src/rich-text-editor/formatter/formatter.js +23 -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 +30 -26
- 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 +2 -2
- 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 +14 -1
- 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 +14 -3
- 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 +200 -168
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +11 -2
- 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 +9 -2
- package/src/rich-text-editor/renderer/table-module.js +289 -137
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +13 -9
- package/src/rich-text-editor/renderer/toolbar-renderer.js +103 -24
- package/src/rich-text-editor/renderer/video-module.d.ts +4 -1
- package/src/rich-text-editor/renderer/video-module.js +62 -35
- package/src/rich-text-editor/renderer/view-source.d.ts +7 -6
- package/src/rich-text-editor/renderer/view-source.js +18 -10
- 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 +153 -49
- package/styles/bootstrap.css +158 -57
- package/styles/bootstrap4.css +145 -45
- package/styles/bootstrap5-dark.css +150 -45
- package/styles/bootstrap5.css +150 -45
- package/styles/fabric-dark.css +139 -39
- package/styles/fabric.css +140 -40
- package/styles/fluent-dark.css +147 -41
- package/styles/fluent.css +147 -41
- package/styles/highcontrast-light.css +139 -39
- package/styles/highcontrast.css +143 -40
- package/styles/material-dark.css +143 -39
- package/styles/material.css +143 -39
- package/styles/material3-dark.css +155 -49
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +155 -49
- 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 -2147
- 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 +906 -837
- package/styles/rich-text-editor/bootstrap-dark.css +153 -49
- package/styles/rich-text-editor/bootstrap.css +158 -57
- package/styles/rich-text-editor/bootstrap4.css +145 -45
- package/styles/rich-text-editor/bootstrap5-dark.css +150 -45
- package/styles/rich-text-editor/bootstrap5.css +150 -45
- package/styles/rich-text-editor/fabric-dark.css +139 -39
- package/styles/rich-text-editor/fabric.css +140 -40
- package/styles/rich-text-editor/fluent-dark.css +147 -41
- package/styles/rich-text-editor/fluent.css +147 -41
- package/styles/rich-text-editor/highcontrast-light.css +139 -39
- package/styles/rich-text-editor/highcontrast.css +143 -40
- 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 +143 -39
- package/styles/rich-text-editor/material.css +143 -39
- package/styles/rich-text-editor/material3-dark.css +155 -49
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.css +155 -49
- package/styles/rich-text-editor/material3.scss +1 -1
- package/styles/rich-text-editor/tailwind-dark.css +194 -66
- package/styles/rich-text-editor/tailwind.css +194 -66
- package/styles/tailwind-dark.css +194 -66
- package/styles/tailwind.css +194 -66
- 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;
|
|
@@ -163,7 +163,7 @@ export interface IRichTextEditor extends Component<HTMLElement> {
|
|
|
163
163
|
getText(): string;
|
|
164
164
|
updateValueData?(): void;
|
|
165
165
|
getBaseToolbarObject(): BaseToolbar;
|
|
166
|
-
setContentHeight(target
|
|
166
|
+
setContentHeight(target: ContentHeightSource, isExpand?: boolean): void;
|
|
167
167
|
keyConfig?: {
|
|
168
168
|
[key: string]: string;
|
|
169
169
|
};
|
|
@@ -196,9 +196,11 @@ export interface IRichTextEditor extends Component<HTMLElement> {
|
|
|
196
196
|
currentTarget: HTMLElement;
|
|
197
197
|
focusIn(): void;
|
|
198
198
|
showEmojiPicker?(x?: number, y?: number): void;
|
|
199
|
+
addAnchorAriaLabel?(value: string): string;
|
|
200
|
+
autoSaveOnIdle: boolean;
|
|
199
201
|
}
|
|
200
202
|
/**
|
|
201
|
-
|
|
203
|
+
* @deprecated
|
|
202
204
|
*/
|
|
203
205
|
export interface IRenderer {
|
|
204
206
|
linkQTBar?: BaseQuickToolbar;
|
|
@@ -252,7 +254,7 @@ export interface NotifyArgs {
|
|
|
252
254
|
action?: string;
|
|
253
255
|
callBack?(args?: string | IImageCommandsArgs, cropImageData?: {
|
|
254
256
|
[key: string]: string | boolean | number;
|
|
255
|
-
}[]): void;
|
|
257
|
+
}[], pasteTableSource?: string): void;
|
|
256
258
|
file?: Blob;
|
|
257
259
|
insertElement?: Element;
|
|
258
260
|
touchData?: ITouchData;
|
|
@@ -260,6 +262,11 @@ export interface NotifyArgs {
|
|
|
260
262
|
formatPainterSettings?: FormatPainterSettingsModel;
|
|
261
263
|
emojiPickerSettings?: EmojiSettingsModel;
|
|
262
264
|
ariaLabel?: string;
|
|
265
|
+
/**
|
|
266
|
+
* Defines the source of the Table content.
|
|
267
|
+
* @private
|
|
268
|
+
*/
|
|
269
|
+
pasteTableSource?: string;
|
|
263
270
|
}
|
|
264
271
|
/**
|
|
265
272
|
* Provides information about the current and previous cssClass property .
|
|
@@ -269,7 +276,7 @@ export interface ICssClassArgs {
|
|
|
269
276
|
oldCssClass?: string;
|
|
270
277
|
}
|
|
271
278
|
/**
|
|
272
|
-
|
|
279
|
+
* @deprecated
|
|
273
280
|
*/
|
|
274
281
|
export interface IItemCollectionArgs {
|
|
275
282
|
/** Defines the instance of the current selection */
|
|
@@ -300,7 +307,7 @@ export interface ITouchData {
|
|
|
300
307
|
}
|
|
301
308
|
/**
|
|
302
309
|
* @hidden
|
|
303
|
-
|
|
310
|
+
* @deprecated
|
|
304
311
|
*/
|
|
305
312
|
export interface IFormatPainter {
|
|
306
313
|
/** Stores the previous action. */
|
|
@@ -309,7 +316,7 @@ export interface IFormatPainter {
|
|
|
309
316
|
}
|
|
310
317
|
/**
|
|
311
318
|
* @hidden
|
|
312
|
-
|
|
319
|
+
* @deprecated
|
|
313
320
|
*/
|
|
314
321
|
export interface IColorPickerModel extends ColorPickerModel {
|
|
315
322
|
element?: HTMLElement;
|
|
@@ -322,7 +329,7 @@ export interface IColorPickerModel extends ColorPickerModel {
|
|
|
322
329
|
}
|
|
323
330
|
/**
|
|
324
331
|
* @hidden
|
|
325
|
-
|
|
332
|
+
* @deprecated
|
|
326
333
|
*/
|
|
327
334
|
export interface IColorPickerEventArgs extends ColorPickerEventArgs {
|
|
328
335
|
item?: IColorPickerModel;
|
|
@@ -331,7 +338,7 @@ export interface IColorPickerEventArgs extends ColorPickerEventArgs {
|
|
|
331
338
|
}
|
|
332
339
|
/**
|
|
333
340
|
* @hidden
|
|
334
|
-
|
|
341
|
+
* @deprecated
|
|
335
342
|
*/
|
|
336
343
|
export interface IDropDownItem extends ItemModel {
|
|
337
344
|
command?: string;
|
|
@@ -342,13 +349,13 @@ export interface IDropDownItem extends ItemModel {
|
|
|
342
349
|
}
|
|
343
350
|
/**
|
|
344
351
|
* @hidden
|
|
345
|
-
|
|
352
|
+
* @deprecated
|
|
346
353
|
*/
|
|
347
354
|
export interface IDropDownClickArgs extends ClickEventArgs {
|
|
348
355
|
item: IDropDownItem;
|
|
349
356
|
}
|
|
350
357
|
/**
|
|
351
|
-
|
|
358
|
+
* @deprecated
|
|
352
359
|
*/
|
|
353
360
|
export interface IColorPickerRenderArgs {
|
|
354
361
|
items?: string[];
|
|
@@ -356,7 +363,7 @@ export interface IColorPickerRenderArgs {
|
|
|
356
363
|
container?: HTMLElement;
|
|
357
364
|
}
|
|
358
365
|
/**
|
|
359
|
-
|
|
366
|
+
* @deprecated
|
|
360
367
|
*/
|
|
361
368
|
export interface IImageNotifyArgs {
|
|
362
369
|
module?: string;
|
|
@@ -452,7 +459,7 @@ export interface IVideoCommandsArgs {
|
|
|
452
459
|
selectParent?: Node[];
|
|
453
460
|
}
|
|
454
461
|
/**
|
|
455
|
-
|
|
462
|
+
* @deprecated
|
|
456
463
|
*/
|
|
457
464
|
export interface ImageDragEvent extends DragEvent {
|
|
458
465
|
rangeParent?: Element;
|
|
@@ -491,7 +498,7 @@ export interface ILinkCommandsArgs {
|
|
|
491
498
|
*/
|
|
492
499
|
export interface ITableCommandsArgs {
|
|
493
500
|
/**
|
|
494
|
-
|
|
501
|
+
* @deprecated
|
|
495
502
|
* This argument deprecated. Use `rows` argument.
|
|
496
503
|
*/
|
|
497
504
|
row?: number;
|
|
@@ -509,7 +516,7 @@ export interface ITableCommandsArgs {
|
|
|
509
516
|
selection?: NodeSelection;
|
|
510
517
|
}
|
|
511
518
|
/**
|
|
512
|
-
|
|
519
|
+
* @deprecated
|
|
513
520
|
*/
|
|
514
521
|
export interface IFormatPainterArgs {
|
|
515
522
|
/**
|
|
@@ -535,7 +542,7 @@ export interface EmojiIconsSet {
|
|
|
535
542
|
icons: IEmojiIcons[];
|
|
536
543
|
}
|
|
537
544
|
/**
|
|
538
|
-
|
|
545
|
+
* @deprecated
|
|
539
546
|
*/
|
|
540
547
|
export interface ITableArgs {
|
|
541
548
|
rows?: number;
|
|
@@ -551,7 +558,7 @@ export interface ITableArgs {
|
|
|
551
558
|
subCommand?: string;
|
|
552
559
|
}
|
|
553
560
|
/**
|
|
554
|
-
|
|
561
|
+
* @deprecated
|
|
555
562
|
*/
|
|
556
563
|
export interface ITableNotifyArgs {
|
|
557
564
|
module?: string;
|
|
@@ -591,14 +598,14 @@ export interface IToolbarItems {
|
|
|
591
598
|
}
|
|
592
599
|
/**
|
|
593
600
|
* @hidden
|
|
594
|
-
|
|
601
|
+
* @deprecated
|
|
595
602
|
*/
|
|
596
603
|
export interface IToolbarItemModel extends ItemModel {
|
|
597
604
|
command?: string;
|
|
598
605
|
subCommand?: string;
|
|
599
606
|
}
|
|
600
607
|
/**
|
|
601
|
-
|
|
608
|
+
* @deprecated
|
|
602
609
|
*/
|
|
603
610
|
export interface IToolbarOptions {
|
|
604
611
|
enableRtl: boolean;
|
|
@@ -610,7 +617,7 @@ export interface IToolbarOptions {
|
|
|
610
617
|
cssClass?: string;
|
|
611
618
|
}
|
|
612
619
|
/**
|
|
613
|
-
|
|
620
|
+
* @deprecated
|
|
614
621
|
*/
|
|
615
622
|
export interface IToolbarSettings {
|
|
616
623
|
enable?: boolean;
|
|
@@ -619,7 +626,7 @@ export interface IToolbarSettings {
|
|
|
619
626
|
type?: ToolbarType;
|
|
620
627
|
}
|
|
621
628
|
/**
|
|
622
|
-
|
|
629
|
+
* @deprecated
|
|
623
630
|
*/
|
|
624
631
|
export interface IToolbarRenderOptions {
|
|
625
632
|
target: HTMLElement;
|
|
@@ -629,7 +636,7 @@ export interface IToolbarRenderOptions {
|
|
|
629
636
|
cssClass?: string;
|
|
630
637
|
}
|
|
631
638
|
/**
|
|
632
|
-
|
|
639
|
+
* @deprecated
|
|
633
640
|
*/
|
|
634
641
|
export interface IDropDownModel {
|
|
635
642
|
content?: string;
|
|
@@ -640,7 +647,7 @@ export interface IDropDownModel {
|
|
|
640
647
|
element: HTMLElement;
|
|
641
648
|
}
|
|
642
649
|
/**
|
|
643
|
-
|
|
650
|
+
* @deprecated
|
|
644
651
|
*/
|
|
645
652
|
export interface IToolsItems {
|
|
646
653
|
id: string;
|
|
@@ -662,7 +669,7 @@ export interface IToolsItemConfigs {
|
|
|
662
669
|
}
|
|
663
670
|
/**
|
|
664
671
|
* @hidden
|
|
665
|
-
|
|
672
|
+
* @deprecated
|
|
666
673
|
*/
|
|
667
674
|
export interface IListDropDownModel extends DropDownItemModel {
|
|
668
675
|
cssClass?: string;
|
|
@@ -675,7 +682,7 @@ export interface IListDropDownModel extends DropDownItemModel {
|
|
|
675
682
|
}
|
|
676
683
|
/**
|
|
677
684
|
* @hidden
|
|
678
|
-
|
|
685
|
+
* @deprecated
|
|
679
686
|
*/
|
|
680
687
|
export interface IDropDownItemModel extends DropDownItemModel {
|
|
681
688
|
cssClass?: string;
|
|
@@ -697,7 +704,7 @@ export interface ActionCompleteEventArgs {
|
|
|
697
704
|
/**
|
|
698
705
|
* Defines the selected elements.
|
|
699
706
|
*
|
|
700
|
-
|
|
707
|
+
* @deprecated
|
|
701
708
|
*/
|
|
702
709
|
elements?: Node[];
|
|
703
710
|
/** Defines the event item. */
|
|
@@ -705,7 +712,7 @@ export interface ActionCompleteEventArgs {
|
|
|
705
712
|
/**
|
|
706
713
|
* Defines the selected range.
|
|
707
714
|
*
|
|
708
|
-
|
|
715
|
+
* @deprecated
|
|
709
716
|
*/
|
|
710
717
|
range?: Range;
|
|
711
718
|
}
|
|
@@ -720,7 +727,7 @@ export interface ActionBeginEventArgs {
|
|
|
720
727
|
/**
|
|
721
728
|
* Defines the current item.
|
|
722
729
|
*
|
|
723
|
-
|
|
730
|
+
* @deprecated
|
|
724
731
|
*/
|
|
725
732
|
item?: IToolbarItemModel | IDropDownItemModel;
|
|
726
733
|
/** Defines the current item. */
|
|
@@ -732,13 +739,13 @@ export interface ActionBeginEventArgs {
|
|
|
732
739
|
/**
|
|
733
740
|
* Defines the url action details.
|
|
734
741
|
*
|
|
735
|
-
|
|
742
|
+
* @deprecated
|
|
736
743
|
*/
|
|
737
744
|
itemCollection?: IItemCollectionArgs;
|
|
738
745
|
/**
|
|
739
746
|
* Defines the emoji picker details.
|
|
740
747
|
*
|
|
741
|
-
|
|
748
|
+
* @deprecated
|
|
742
749
|
*/
|
|
743
750
|
emojiPickerArgs?: IEmojiPickerArgs;
|
|
744
751
|
}
|
|
@@ -753,7 +760,7 @@ export interface PrintEventArgs extends ActionBeginEventArgs {
|
|
|
753
760
|
element?: Element;
|
|
754
761
|
}
|
|
755
762
|
/**
|
|
756
|
-
|
|
763
|
+
* @deprecated
|
|
757
764
|
*/
|
|
758
765
|
export interface IShowPopupArgs {
|
|
759
766
|
args?: MouseEvent | TouchEvent | KeyboardEvent;
|
|
@@ -762,7 +769,7 @@ export interface IShowPopupArgs {
|
|
|
762
769
|
elements?: Element | Element[];
|
|
763
770
|
}
|
|
764
771
|
/**
|
|
765
|
-
|
|
772
|
+
* @deprecated
|
|
766
773
|
*/
|
|
767
774
|
export interface IUpdateItemsModel {
|
|
768
775
|
targetItem: string;
|
|
@@ -770,7 +777,7 @@ export interface IUpdateItemsModel {
|
|
|
770
777
|
baseToolbar: BaseToolbar;
|
|
771
778
|
}
|
|
772
779
|
/**
|
|
773
|
-
|
|
780
|
+
* @deprecated
|
|
774
781
|
*/
|
|
775
782
|
export interface IDropDownRenderArgs {
|
|
776
783
|
items?: string[];
|
|
@@ -778,7 +785,7 @@ export interface IDropDownRenderArgs {
|
|
|
778
785
|
container?: HTMLElement;
|
|
779
786
|
}
|
|
780
787
|
/**
|
|
781
|
-
|
|
788
|
+
* @deprecated
|
|
782
789
|
*/
|
|
783
790
|
export interface IShowQuickTBarOptions {
|
|
784
791
|
x: number;
|
|
@@ -798,14 +805,14 @@ export interface IShowQuickTBarOptions {
|
|
|
798
805
|
bodyRightSpace: number;
|
|
799
806
|
}
|
|
800
807
|
/**
|
|
801
|
-
|
|
808
|
+
* @deprecated
|
|
802
809
|
*/
|
|
803
810
|
export interface IPositionChanged {
|
|
804
811
|
x: boolean;
|
|
805
812
|
y: boolean;
|
|
806
813
|
}
|
|
807
814
|
/**
|
|
808
|
-
|
|
815
|
+
* @deprecated
|
|
809
816
|
*/
|
|
810
817
|
export interface IQuickToolbarOptions {
|
|
811
818
|
popupType: string;
|
|
@@ -821,7 +828,7 @@ export interface BeforeQuickToolbarOpenArgs {
|
|
|
821
828
|
/**
|
|
822
829
|
* Defines the instance of the current popup element
|
|
823
830
|
*
|
|
824
|
-
|
|
831
|
+
* @deprecated
|
|
825
832
|
*/
|
|
826
833
|
popup?: Popup;
|
|
827
834
|
/** Determine whether the quick toolbar is open */
|
|
@@ -858,7 +865,7 @@ export interface QuickToolbarEventArgs {
|
|
|
858
865
|
/**
|
|
859
866
|
* Defines the instance of the current popup element
|
|
860
867
|
*
|
|
861
|
-
|
|
868
|
+
* @deprecated
|
|
862
869
|
*/
|
|
863
870
|
popup?: Popup;
|
|
864
871
|
/**
|
|
@@ -871,7 +878,7 @@ export interface QuickToolbarEventArgs {
|
|
|
871
878
|
name?: string;
|
|
872
879
|
}
|
|
873
880
|
/**
|
|
874
|
-
|
|
881
|
+
* @deprecated
|
|
875
882
|
*/
|
|
876
883
|
export interface IAdapterProcess {
|
|
877
884
|
text: string;
|
|
@@ -912,7 +919,7 @@ export interface IFormatter {
|
|
|
912
919
|
mdSelectionFormat?: MDSelectionFormats;
|
|
913
920
|
}
|
|
914
921
|
/**
|
|
915
|
-
|
|
922
|
+
* @deprecated
|
|
916
923
|
*/
|
|
917
924
|
export interface IHtmlFormatterModel {
|
|
918
925
|
currentDocument?: Document;
|
|
@@ -926,7 +933,7 @@ export interface IHtmlFormatterModel {
|
|
|
926
933
|
formatPainterSettings?: FormatPainterSettingsModel;
|
|
927
934
|
}
|
|
928
935
|
/**
|
|
929
|
-
|
|
936
|
+
* @deprecated
|
|
930
937
|
*/
|
|
931
938
|
export interface IMarkdownFormatterModel {
|
|
932
939
|
element?: Element;
|
|
@@ -947,7 +954,7 @@ export interface IMarkdownFormatterModel {
|
|
|
947
954
|
};
|
|
948
955
|
}
|
|
949
956
|
/**
|
|
950
|
-
|
|
957
|
+
* @deprecated
|
|
951
958
|
*/
|
|
952
959
|
export interface IFontProperties {
|
|
953
960
|
default?: string;
|
|
@@ -955,19 +962,19 @@ export interface IFontProperties {
|
|
|
955
962
|
width?: string;
|
|
956
963
|
}
|
|
957
964
|
/**
|
|
958
|
-
|
|
965
|
+
* @deprecated
|
|
959
966
|
*/
|
|
960
967
|
export interface IBulletFormatListPropertiesProperties {
|
|
961
968
|
types?: IListDropDownModel[];
|
|
962
969
|
}
|
|
963
970
|
/**
|
|
964
|
-
|
|
971
|
+
* @deprecated
|
|
965
972
|
*/
|
|
966
973
|
export interface INumberFormatListPropertiesProperties {
|
|
967
974
|
types?: IListDropDownModel[];
|
|
968
975
|
}
|
|
969
976
|
/**
|
|
970
|
-
|
|
977
|
+
* @deprecated
|
|
971
978
|
*/
|
|
972
979
|
export interface IFormatProperties {
|
|
973
980
|
default?: string;
|
|
@@ -975,7 +982,7 @@ export interface IFormatProperties {
|
|
|
975
982
|
width?: string;
|
|
976
983
|
}
|
|
977
984
|
/**
|
|
978
|
-
|
|
985
|
+
* @deprecated
|
|
979
986
|
*/
|
|
980
987
|
export interface OffsetPosition {
|
|
981
988
|
left: number;
|
|
@@ -1035,7 +1042,7 @@ export interface SanitizeRemoveAttrs {
|
|
|
1035
1042
|
selector?: string;
|
|
1036
1043
|
}
|
|
1037
1044
|
/**
|
|
1038
|
-
|
|
1045
|
+
* @deprecated
|
|
1039
1046
|
*/
|
|
1040
1047
|
export interface ISetToolbarStatusArgs {
|
|
1041
1048
|
args: IToolbarStatus;
|
|
@@ -1292,7 +1299,7 @@ export interface FocusEventArgs {
|
|
|
1292
1299
|
*/
|
|
1293
1300
|
export declare type ColorModeType = 'Picker' | 'Palette';
|
|
1294
1301
|
/**
|
|
1295
|
-
|
|
1302
|
+
* @deprecated
|
|
1296
1303
|
*/
|
|
1297
1304
|
export interface IColorProperties {
|
|
1298
1305
|
default?: string;
|
|
@@ -1304,7 +1311,7 @@ export interface IColorProperties {
|
|
|
1304
1311
|
modeSwitcher?: boolean;
|
|
1305
1312
|
}
|
|
1306
1313
|
/**
|
|
1307
|
-
|
|
1314
|
+
* @deprecated
|
|
1308
1315
|
*/
|
|
1309
1316
|
export interface IExecutionGroup {
|
|
1310
1317
|
command: string;
|
|
@@ -1338,7 +1345,7 @@ export interface ImageUploadingEventArgs {
|
|
|
1338
1345
|
}
|
|
1339
1346
|
/**
|
|
1340
1347
|
* @hidden
|
|
1341
|
-
|
|
1348
|
+
* @deprecated
|
|
1342
1349
|
*/
|
|
1343
1350
|
export declare const executeGroup: {
|
|
1344
1351
|
[key: string]: IExecutionGroup;
|
|
@@ -1349,7 +1356,7 @@ export declare const executeGroup: {
|
|
|
1349
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';
|
|
1350
1357
|
/**
|
|
1351
1358
|
* @hidden
|
|
1352
|
-
|
|
1359
|
+
* @deprecated
|
|
1353
1360
|
*/
|
|
1354
1361
|
export interface StatusArgs {
|
|
1355
1362
|
html: Object;
|
|
@@ -1372,9 +1379,36 @@ export interface ToolbarStatusEventArgs {
|
|
|
1372
1379
|
}
|
|
1373
1380
|
/**
|
|
1374
1381
|
* @hidden
|
|
1375
|
-
|
|
1382
|
+
* @deprecated
|
|
1376
1383
|
*/
|
|
1377
1384
|
export interface CleanupResizeElemArgs {
|
|
1378
1385
|
name?: string;
|
|
1379
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;
|
|
1380
1414
|
}
|