@syncfusion/ej2-richtexteditor 23.2.7-52849 → 24.1.41
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 -0
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +40 -40
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +27 -27
- package/CHANGELOG.md +1775 -1751
- package/README.md +76 -76
- package/dist/ej2-richtexteditor.min.js +10 -0
- package/dist/ej2-richtexteditor.umd.min.js +10 -1
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +682 -434
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +791 -543
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/dist/global/ej2-richtexteditor.min.js +11 -0
- package/dist/global/ej2-richtexteditor.min.js.map +1 -0
- package/dist/global/index.d.ts +14 -0
- 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.js +1 -1
- package/src/common/interface.d.ts +7 -7
- package/src/editor-manager/base/classes.d.ts +1 -1
- package/src/editor-manager/base/classes.js +1 -1
- package/src/editor-manager/base/editor-manager.d.ts +3 -3
- package/src/editor-manager/base/editor-manager.js +3 -3
- package/src/editor-manager/base/enum.d.ts +2 -2
- package/src/editor-manager/base/interface.d.ts +9 -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 +34 -34
- package/src/editor-manager/plugin/dom-node.js +35 -48
- package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
- package/src/editor-manager/plugin/format-painter-actions.js +1 -1
- package/src/editor-manager/plugin/formats.d.ts +2 -2
- package/src/editor-manager/plugin/formats.js +2 -2
- package/src/editor-manager/plugin/image.d.ts +3 -3
- package/src/editor-manager/plugin/image.js +33 -6
- package/src/editor-manager/plugin/indents.d.ts +2 -2
- package/src/editor-manager/plugin/indents.js +2 -2
- package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
- package/src/editor-manager/plugin/insert-methods.js +4 -4
- package/src/editor-manager/plugin/insert-text.d.ts +2 -2
- package/src/editor-manager/plugin/insert-text.js +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
- package/src/editor-manager/plugin/inserthtml.d.ts +2 -2
- package/src/editor-manager/plugin/inserthtml.js +7 -4
- 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 +2 -2
- package/src/editor-manager/plugin/lists.d.ts +2 -2
- package/src/editor-manager/plugin/lists.js +2 -2
- package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
- package/src/editor-manager/plugin/ms-word-clean-up.js +5 -2
- package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
- package/src/editor-manager/plugin/nodecutter.js +7 -7
- package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
- package/src/editor-manager/plugin/selection-commands.js +40 -1
- package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
- package/src/editor-manager/plugin/selection-exec.js +2 -2
- package/src/editor-manager/plugin/table.d.ts +2 -2
- package/src/editor-manager/plugin/table.js +2 -2
- package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
- package/src/editor-manager/plugin/toolbar-status.js +2 -2
- package/src/editor-manager/plugin/undo.d.ts +6 -6
- package/src/editor-manager/plugin/undo.js +6 -6
- package/src/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 +9 -9
- package/src/rich-text-editor/actions/base-quick-toolbar.js +27 -13
- package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
- package/src/rich-text-editor/actions/base-toolbar.js +3 -3
- package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
- package/src/rich-text-editor/actions/color-picker.js +5 -5
- package/src/rich-text-editor/actions/count.d.ts +3 -3
- package/src/rich-text-editor/actions/count.js +3 -3
- package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
- package/src/rich-text-editor/actions/dropdown-buttons.js +6 -4
- package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
- package/src/rich-text-editor/actions/emoji-picker.js +13 -4
- package/src/rich-text-editor/actions/enter-key.js +2 -1
- package/src/rich-text-editor/actions/file-manager.js +1 -1
- package/src/rich-text-editor/actions/format-painter.js +1 -1
- package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
- package/src/rich-text-editor/actions/full-screen.js +5 -5
- package/src/rich-text-editor/actions/html-editor.d.ts +5 -3
- package/src/rich-text-editor/actions/html-editor.js +32 -6
- 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 +20 -20
- package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
- package/src/rich-text-editor/actions/markdown-editor.js +2 -2
- package/src/rich-text-editor/actions/paste-clean-up.d.ts +3 -1
- package/src/rich-text-editor/actions/paste-clean-up.js +73 -20
- package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
- package/src/rich-text-editor/actions/quick-toolbar.js +33 -14
- package/src/rich-text-editor/actions/toolbar.d.ts +14 -13
- package/src/rich-text-editor/actions/toolbar.js +31 -23
- 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 +126 -121
- package/src/rich-text-editor/base/classes.js +126 -121
- package/src/rich-text-editor/base/constant.d.ts +155 -150
- package/src/rich-text-editor/base/constant.js +155 -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 +59 -49
- 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 +69 -60
- package/src/rich-text-editor/base/rich-text-editor.js +143 -80
- package/src/rich-text-editor/base/util.d.ts +1 -1
- package/src/rich-text-editor/base/util.js +12 -3
- package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
- package/src/rich-text-editor/formatter/formatter.js +9 -9
- 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 +2 -0
- 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 +1 -1
- package/src/rich-text-editor/models/toolbar-settings-model.d.ts +760 -760
- package/src/rich-text-editor/models/toolbar-settings.js +19 -19
- package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/audio-module.js +1 -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 +2 -2
- package/src/rich-text-editor/renderer/dialog-renderer.js +12 -3
- package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +17 -17
- package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/image-module.js +53 -53
- package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/link-module.js +44 -24
- 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 +3 -1
- package/src/rich-text-editor/renderer/table-module.js +44 -31
- package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -15
- package/src/rich-text-editor/renderer/toolbar-renderer.js +22 -102
- package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
- package/src/rich-text-editor/renderer/video-module.js +1 -1
- package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
- package/src/rich-text-editor/renderer/view-source.js +9 -7
- package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
- package/src/rich-text-editor/services/renderer-factory.js +3 -3
- package/src/rich-text-editor/services/service-locator.d.ts +3 -3
- package/src/rich-text-editor/services/service-locator.js +3 -3
- package/src/selection/selection.d.ts +22 -22
- package/src/selection/selection.js +22 -22
- package/styles/_all.scss +1 -1
- package/styles/bootstrap-dark.css +194 -52
- package/styles/bootstrap.css +197 -53
- package/styles/bootstrap4.css +194 -52
- package/styles/bootstrap5-dark.css +195 -53
- package/styles/bootstrap5.css +195 -53
- package/styles/fabric-dark.css +194 -52
- package/styles/fabric.css +194 -52
- package/styles/fluent-dark.css +197 -53
- package/styles/fluent.css +197 -53
- package/styles/highcontrast-light.css +194 -52
- package/styles/highcontrast.css +194 -52
- package/styles/material-dark.css +196 -53
- package/styles/material.css +196 -53
- package/styles/material3-dark.css +194 -52
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +194 -52
- package/styles/material3.scss +1 -1
- package/styles/rich-text-editor/_all.scss +2 -2
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +277 -277
- package/styles/rich-text-editor/_bootstrap-definition.scss +334 -334
- package/styles/rich-text-editor/_bootstrap4-definition.scss +460 -460
- package/styles/rich-text-editor/_bootstrap5-definition.scss +262 -262
- package/styles/rich-text-editor/_fabric-dark-definition.scss +259 -259
- package/styles/rich-text-editor/_fabric-definition.scss +257 -257
- package/styles/rich-text-editor/_fluent-definition.scss +263 -263
- package/styles/rich-text-editor/_fusionnew-definition.scss +261 -261
- package/styles/rich-text-editor/_highcontrast-definition.scss +257 -257
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +257 -257
- package/styles/rich-text-editor/_layout.scss +2147 -2072
- package/styles/rich-text-editor/_material-dark-definition.scss +262 -262
- package/styles/rich-text-editor/_material-definition.scss +260 -260
- package/styles/rich-text-editor/_material3-definition.scss +262 -262
- package/styles/rich-text-editor/_tailwind-definition.scss +257 -257
- package/styles/rich-text-editor/_theme.scss +837 -837
- package/styles/rich-text-editor/bootstrap-dark.css +194 -52
- package/styles/rich-text-editor/bootstrap.css +197 -53
- package/styles/rich-text-editor/bootstrap4.css +194 -52
- package/styles/rich-text-editor/bootstrap5-dark.css +195 -53
- package/styles/rich-text-editor/bootstrap5.css +195 -53
- package/styles/rich-text-editor/fabric-dark.css +194 -52
- package/styles/rich-text-editor/fabric.css +194 -52
- package/styles/rich-text-editor/fluent-dark.css +197 -53
- package/styles/rich-text-editor/fluent.css +197 -53
- package/styles/rich-text-editor/highcontrast-light.css +194 -52
- package/styles/rich-text-editor/highcontrast.css +194 -52
- 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 +196 -53
- package/styles/rich-text-editor/material.css +196 -53
- package/styles/rich-text-editor/material3-dark.css +194 -52
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.css +194 -52
- package/styles/rich-text-editor/material3.scss +1 -1
- package/styles/rich-text-editor/tailwind-dark.css +194 -52
- package/styles/rich-text-editor/tailwind.css +194 -52
- package/styles/tailwind-dark.css +194 -52
- package/styles/tailwind.css +194 -52
- package/tslint.json +111 -0
- package/src/global.d.ts +0 -1
|
@@ -41,7 +41,7 @@ import { EmojiPicker } from '../actions/emoji-picker';
|
|
|
41
41
|
* Specifies Rich Text Editor interfaces.
|
|
42
42
|
*
|
|
43
43
|
* @hidden
|
|
44
|
-
|
|
44
|
+
|
|
45
45
|
*/
|
|
46
46
|
export interface IRichTextEditor extends Component<HTMLElement> {
|
|
47
47
|
toolbarSettings?: ToolbarSettingsModel;
|
|
@@ -159,6 +159,7 @@ 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;
|
|
@@ -197,7 +198,7 @@ export interface IRichTextEditor extends Component<HTMLElement> {
|
|
|
197
198
|
showEmojiPicker?(x?: number, y?: number): void;
|
|
198
199
|
}
|
|
199
200
|
/**
|
|
200
|
-
|
|
201
|
+
|
|
201
202
|
*/
|
|
202
203
|
export interface IRenderer {
|
|
203
204
|
linkQTBar?: BaseQuickToolbar;
|
|
@@ -268,7 +269,7 @@ export interface ICssClassArgs {
|
|
|
268
269
|
oldCssClass?: string;
|
|
269
270
|
}
|
|
270
271
|
/**
|
|
271
|
-
|
|
272
|
+
|
|
272
273
|
*/
|
|
273
274
|
export interface IItemCollectionArgs {
|
|
274
275
|
/** Defines the instance of the current selection */
|
|
@@ -299,7 +300,7 @@ export interface ITouchData {
|
|
|
299
300
|
}
|
|
300
301
|
/**
|
|
301
302
|
* @hidden
|
|
302
|
-
|
|
303
|
+
|
|
303
304
|
*/
|
|
304
305
|
export interface IFormatPainter {
|
|
305
306
|
/** Stores the previous action. */
|
|
@@ -308,7 +309,7 @@ export interface IFormatPainter {
|
|
|
308
309
|
}
|
|
309
310
|
/**
|
|
310
311
|
* @hidden
|
|
311
|
-
|
|
312
|
+
|
|
312
313
|
*/
|
|
313
314
|
export interface IColorPickerModel extends ColorPickerModel {
|
|
314
315
|
element?: HTMLElement;
|
|
@@ -321,7 +322,7 @@ export interface IColorPickerModel extends ColorPickerModel {
|
|
|
321
322
|
}
|
|
322
323
|
/**
|
|
323
324
|
* @hidden
|
|
324
|
-
|
|
325
|
+
|
|
325
326
|
*/
|
|
326
327
|
export interface IColorPickerEventArgs extends ColorPickerEventArgs {
|
|
327
328
|
item?: IColorPickerModel;
|
|
@@ -330,7 +331,7 @@ export interface IColorPickerEventArgs extends ColorPickerEventArgs {
|
|
|
330
331
|
}
|
|
331
332
|
/**
|
|
332
333
|
* @hidden
|
|
333
|
-
|
|
334
|
+
|
|
334
335
|
*/
|
|
335
336
|
export interface IDropDownItem extends ItemModel {
|
|
336
337
|
command?: string;
|
|
@@ -341,13 +342,13 @@ export interface IDropDownItem extends ItemModel {
|
|
|
341
342
|
}
|
|
342
343
|
/**
|
|
343
344
|
* @hidden
|
|
344
|
-
|
|
345
|
+
|
|
345
346
|
*/
|
|
346
347
|
export interface IDropDownClickArgs extends ClickEventArgs {
|
|
347
348
|
item: IDropDownItem;
|
|
348
349
|
}
|
|
349
350
|
/**
|
|
350
|
-
|
|
351
|
+
|
|
351
352
|
*/
|
|
352
353
|
export interface IColorPickerRenderArgs {
|
|
353
354
|
items?: string[];
|
|
@@ -355,7 +356,7 @@ export interface IColorPickerRenderArgs {
|
|
|
355
356
|
container?: HTMLElement;
|
|
356
357
|
}
|
|
357
358
|
/**
|
|
358
|
-
|
|
359
|
+
|
|
359
360
|
*/
|
|
360
361
|
export interface IImageNotifyArgs {
|
|
361
362
|
module?: string;
|
|
@@ -377,6 +378,7 @@ export interface IImageNotifyArgs {
|
|
|
377
378
|
member?: string;
|
|
378
379
|
name?: string;
|
|
379
380
|
cssClass?: string;
|
|
381
|
+
ariaLabel?: string;
|
|
380
382
|
}
|
|
381
383
|
/**
|
|
382
384
|
* Provides information about a Image added in the Rich Text Editor.
|
|
@@ -450,7 +452,7 @@ export interface IVideoCommandsArgs {
|
|
|
450
452
|
selectParent?: Node[];
|
|
451
453
|
}
|
|
452
454
|
/**
|
|
453
|
-
|
|
455
|
+
|
|
454
456
|
*/
|
|
455
457
|
export interface ImageDragEvent extends DragEvent {
|
|
456
458
|
rangeParent?: Element;
|
|
@@ -489,7 +491,7 @@ export interface ILinkCommandsArgs {
|
|
|
489
491
|
*/
|
|
490
492
|
export interface ITableCommandsArgs {
|
|
491
493
|
/**
|
|
492
|
-
|
|
494
|
+
|
|
493
495
|
* This argument deprecated. Use `rows` argument.
|
|
494
496
|
*/
|
|
495
497
|
row?: number;
|
|
@@ -507,7 +509,7 @@ export interface ITableCommandsArgs {
|
|
|
507
509
|
selection?: NodeSelection;
|
|
508
510
|
}
|
|
509
511
|
/**
|
|
510
|
-
|
|
512
|
+
|
|
511
513
|
*/
|
|
512
514
|
export interface IFormatPainterArgs {
|
|
513
515
|
/**
|
|
@@ -533,7 +535,7 @@ export interface EmojiIconsSet {
|
|
|
533
535
|
icons: IEmojiIcons[];
|
|
534
536
|
}
|
|
535
537
|
/**
|
|
536
|
-
|
|
538
|
+
|
|
537
539
|
*/
|
|
538
540
|
export interface ITableArgs {
|
|
539
541
|
rows?: number;
|
|
@@ -549,7 +551,7 @@ export interface ITableArgs {
|
|
|
549
551
|
subCommand?: string;
|
|
550
552
|
}
|
|
551
553
|
/**
|
|
552
|
-
|
|
554
|
+
|
|
553
555
|
*/
|
|
554
556
|
export interface ITableNotifyArgs {
|
|
555
557
|
module?: string;
|
|
@@ -589,14 +591,14 @@ export interface IToolbarItems {
|
|
|
589
591
|
}
|
|
590
592
|
/**
|
|
591
593
|
* @hidden
|
|
592
|
-
|
|
594
|
+
|
|
593
595
|
*/
|
|
594
596
|
export interface IToolbarItemModel extends ItemModel {
|
|
595
597
|
command?: string;
|
|
596
598
|
subCommand?: string;
|
|
597
599
|
}
|
|
598
600
|
/**
|
|
599
|
-
|
|
601
|
+
|
|
600
602
|
*/
|
|
601
603
|
export interface IToolbarOptions {
|
|
602
604
|
enableRtl: boolean;
|
|
@@ -608,7 +610,7 @@ export interface IToolbarOptions {
|
|
|
608
610
|
cssClass?: string;
|
|
609
611
|
}
|
|
610
612
|
/**
|
|
611
|
-
|
|
613
|
+
|
|
612
614
|
*/
|
|
613
615
|
export interface IToolbarSettings {
|
|
614
616
|
enable?: boolean;
|
|
@@ -617,7 +619,7 @@ export interface IToolbarSettings {
|
|
|
617
619
|
type?: ToolbarType;
|
|
618
620
|
}
|
|
619
621
|
/**
|
|
620
|
-
|
|
622
|
+
|
|
621
623
|
*/
|
|
622
624
|
export interface IToolbarRenderOptions {
|
|
623
625
|
target: HTMLElement;
|
|
@@ -627,7 +629,7 @@ export interface IToolbarRenderOptions {
|
|
|
627
629
|
cssClass?: string;
|
|
628
630
|
}
|
|
629
631
|
/**
|
|
630
|
-
|
|
632
|
+
|
|
631
633
|
*/
|
|
632
634
|
export interface IDropDownModel {
|
|
633
635
|
content?: string;
|
|
@@ -638,7 +640,7 @@ export interface IDropDownModel {
|
|
|
638
640
|
element: HTMLElement;
|
|
639
641
|
}
|
|
640
642
|
/**
|
|
641
|
-
|
|
643
|
+
|
|
642
644
|
*/
|
|
643
645
|
export interface IToolsItems {
|
|
644
646
|
id: string;
|
|
@@ -660,7 +662,7 @@ export interface IToolsItemConfigs {
|
|
|
660
662
|
}
|
|
661
663
|
/**
|
|
662
664
|
* @hidden
|
|
663
|
-
|
|
665
|
+
|
|
664
666
|
*/
|
|
665
667
|
export interface IListDropDownModel extends DropDownItemModel {
|
|
666
668
|
cssClass?: string;
|
|
@@ -673,7 +675,7 @@ export interface IListDropDownModel extends DropDownItemModel {
|
|
|
673
675
|
}
|
|
674
676
|
/**
|
|
675
677
|
* @hidden
|
|
676
|
-
|
|
678
|
+
|
|
677
679
|
*/
|
|
678
680
|
export interface IDropDownItemModel extends DropDownItemModel {
|
|
679
681
|
cssClass?: string;
|
|
@@ -695,7 +697,7 @@ export interface ActionCompleteEventArgs {
|
|
|
695
697
|
/**
|
|
696
698
|
* Defines the selected elements.
|
|
697
699
|
*
|
|
698
|
-
|
|
700
|
+
|
|
699
701
|
*/
|
|
700
702
|
elements?: Node[];
|
|
701
703
|
/** Defines the event item. */
|
|
@@ -703,7 +705,7 @@ export interface ActionCompleteEventArgs {
|
|
|
703
705
|
/**
|
|
704
706
|
* Defines the selected range.
|
|
705
707
|
*
|
|
706
|
-
|
|
708
|
+
|
|
707
709
|
*/
|
|
708
710
|
range?: Range;
|
|
709
711
|
}
|
|
@@ -718,7 +720,7 @@ export interface ActionBeginEventArgs {
|
|
|
718
720
|
/**
|
|
719
721
|
* Defines the current item.
|
|
720
722
|
*
|
|
721
|
-
|
|
723
|
+
|
|
722
724
|
*/
|
|
723
725
|
item?: IToolbarItemModel | IDropDownItemModel;
|
|
724
726
|
/** Defines the current item. */
|
|
@@ -730,13 +732,13 @@ export interface ActionBeginEventArgs {
|
|
|
730
732
|
/**
|
|
731
733
|
* Defines the url action details.
|
|
732
734
|
*
|
|
733
|
-
|
|
735
|
+
|
|
734
736
|
*/
|
|
735
737
|
itemCollection?: IItemCollectionArgs;
|
|
736
738
|
/**
|
|
737
739
|
* Defines the emoji picker details.
|
|
738
740
|
*
|
|
739
|
-
|
|
741
|
+
|
|
740
742
|
*/
|
|
741
743
|
emojiPickerArgs?: IEmojiPickerArgs;
|
|
742
744
|
}
|
|
@@ -751,7 +753,7 @@ export interface PrintEventArgs extends ActionBeginEventArgs {
|
|
|
751
753
|
element?: Element;
|
|
752
754
|
}
|
|
753
755
|
/**
|
|
754
|
-
|
|
756
|
+
|
|
755
757
|
*/
|
|
756
758
|
export interface IShowPopupArgs {
|
|
757
759
|
args?: MouseEvent | TouchEvent | KeyboardEvent;
|
|
@@ -760,7 +762,7 @@ export interface IShowPopupArgs {
|
|
|
760
762
|
elements?: Element | Element[];
|
|
761
763
|
}
|
|
762
764
|
/**
|
|
763
|
-
|
|
765
|
+
|
|
764
766
|
*/
|
|
765
767
|
export interface IUpdateItemsModel {
|
|
766
768
|
targetItem: string;
|
|
@@ -768,7 +770,7 @@ export interface IUpdateItemsModel {
|
|
|
768
770
|
baseToolbar: BaseToolbar;
|
|
769
771
|
}
|
|
770
772
|
/**
|
|
771
|
-
|
|
773
|
+
|
|
772
774
|
*/
|
|
773
775
|
export interface IDropDownRenderArgs {
|
|
774
776
|
items?: string[];
|
|
@@ -776,7 +778,7 @@ export interface IDropDownRenderArgs {
|
|
|
776
778
|
container?: HTMLElement;
|
|
777
779
|
}
|
|
778
780
|
/**
|
|
779
|
-
|
|
781
|
+
|
|
780
782
|
*/
|
|
781
783
|
export interface IShowQuickTBarOptions {
|
|
782
784
|
x: number;
|
|
@@ -796,14 +798,14 @@ export interface IShowQuickTBarOptions {
|
|
|
796
798
|
bodyRightSpace: number;
|
|
797
799
|
}
|
|
798
800
|
/**
|
|
799
|
-
|
|
801
|
+
|
|
800
802
|
*/
|
|
801
803
|
export interface IPositionChanged {
|
|
802
804
|
x: boolean;
|
|
803
805
|
y: boolean;
|
|
804
806
|
}
|
|
805
807
|
/**
|
|
806
|
-
|
|
808
|
+
|
|
807
809
|
*/
|
|
808
810
|
export interface IQuickToolbarOptions {
|
|
809
811
|
popupType: string;
|
|
@@ -819,7 +821,7 @@ export interface BeforeQuickToolbarOpenArgs {
|
|
|
819
821
|
/**
|
|
820
822
|
* Defines the instance of the current popup element
|
|
821
823
|
*
|
|
822
|
-
|
|
824
|
+
|
|
823
825
|
*/
|
|
824
826
|
popup?: Popup;
|
|
825
827
|
/** Determine whether the quick toolbar is open */
|
|
@@ -856,7 +858,7 @@ export interface QuickToolbarEventArgs {
|
|
|
856
858
|
/**
|
|
857
859
|
* Defines the instance of the current popup element
|
|
858
860
|
*
|
|
859
|
-
|
|
861
|
+
|
|
860
862
|
*/
|
|
861
863
|
popup?: Popup;
|
|
862
864
|
/**
|
|
@@ -869,7 +871,7 @@ export interface QuickToolbarEventArgs {
|
|
|
869
871
|
name?: string;
|
|
870
872
|
}
|
|
871
873
|
/**
|
|
872
|
-
|
|
874
|
+
|
|
873
875
|
*/
|
|
874
876
|
export interface IAdapterProcess {
|
|
875
877
|
text: string;
|
|
@@ -910,7 +912,7 @@ export interface IFormatter {
|
|
|
910
912
|
mdSelectionFormat?: MDSelectionFormats;
|
|
911
913
|
}
|
|
912
914
|
/**
|
|
913
|
-
|
|
915
|
+
|
|
914
916
|
*/
|
|
915
917
|
export interface IHtmlFormatterModel {
|
|
916
918
|
currentDocument?: Document;
|
|
@@ -924,7 +926,7 @@ export interface IHtmlFormatterModel {
|
|
|
924
926
|
formatPainterSettings?: FormatPainterSettingsModel;
|
|
925
927
|
}
|
|
926
928
|
/**
|
|
927
|
-
|
|
929
|
+
|
|
928
930
|
*/
|
|
929
931
|
export interface IMarkdownFormatterModel {
|
|
930
932
|
element?: Element;
|
|
@@ -945,7 +947,7 @@ export interface IMarkdownFormatterModel {
|
|
|
945
947
|
};
|
|
946
948
|
}
|
|
947
949
|
/**
|
|
948
|
-
|
|
950
|
+
|
|
949
951
|
*/
|
|
950
952
|
export interface IFontProperties {
|
|
951
953
|
default?: string;
|
|
@@ -953,19 +955,19 @@ export interface IFontProperties {
|
|
|
953
955
|
width?: string;
|
|
954
956
|
}
|
|
955
957
|
/**
|
|
956
|
-
|
|
958
|
+
|
|
957
959
|
*/
|
|
958
960
|
export interface IBulletFormatListPropertiesProperties {
|
|
959
961
|
types?: IListDropDownModel[];
|
|
960
962
|
}
|
|
961
963
|
/**
|
|
962
|
-
|
|
964
|
+
|
|
963
965
|
*/
|
|
964
966
|
export interface INumberFormatListPropertiesProperties {
|
|
965
967
|
types?: IListDropDownModel[];
|
|
966
968
|
}
|
|
967
969
|
/**
|
|
968
|
-
|
|
970
|
+
|
|
969
971
|
*/
|
|
970
972
|
export interface IFormatProperties {
|
|
971
973
|
default?: string;
|
|
@@ -973,7 +975,7 @@ export interface IFormatProperties {
|
|
|
973
975
|
width?: string;
|
|
974
976
|
}
|
|
975
977
|
/**
|
|
976
|
-
|
|
978
|
+
|
|
977
979
|
*/
|
|
978
980
|
export interface OffsetPosition {
|
|
979
981
|
left: number;
|
|
@@ -1033,7 +1035,7 @@ export interface SanitizeRemoveAttrs {
|
|
|
1033
1035
|
selector?: string;
|
|
1034
1036
|
}
|
|
1035
1037
|
/**
|
|
1036
|
-
|
|
1038
|
+
|
|
1037
1039
|
*/
|
|
1038
1040
|
export interface ISetToolbarStatusArgs {
|
|
1039
1041
|
args: IToolbarStatus;
|
|
@@ -1290,7 +1292,7 @@ export interface FocusEventArgs {
|
|
|
1290
1292
|
*/
|
|
1291
1293
|
export declare type ColorModeType = 'Picker' | 'Palette';
|
|
1292
1294
|
/**
|
|
1293
|
-
|
|
1295
|
+
|
|
1294
1296
|
*/
|
|
1295
1297
|
export interface IColorProperties {
|
|
1296
1298
|
default?: string;
|
|
@@ -1302,7 +1304,7 @@ export interface IColorProperties {
|
|
|
1302
1304
|
modeSwitcher?: boolean;
|
|
1303
1305
|
}
|
|
1304
1306
|
/**
|
|
1305
|
-
|
|
1307
|
+
|
|
1306
1308
|
*/
|
|
1307
1309
|
export interface IExecutionGroup {
|
|
1308
1310
|
command: string;
|
|
@@ -1336,7 +1338,7 @@ export interface ImageUploadingEventArgs {
|
|
|
1336
1338
|
}
|
|
1337
1339
|
/**
|
|
1338
1340
|
* @hidden
|
|
1339
|
-
|
|
1341
|
+
|
|
1340
1342
|
*/
|
|
1341
1343
|
export declare const executeGroup: {
|
|
1342
1344
|
[key: string]: IExecutionGroup;
|
|
@@ -1347,7 +1349,7 @@ export declare const executeGroup: {
|
|
|
1347
1349
|
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
1350
|
/**
|
|
1349
1351
|
* @hidden
|
|
1350
|
-
|
|
1352
|
+
|
|
1351
1353
|
*/
|
|
1352
1354
|
export interface StatusArgs {
|
|
1353
1355
|
html: Object;
|
|
@@ -1368,3 +1370,11 @@ export interface ToolbarStatusEventArgs {
|
|
|
1368
1370
|
/** Defines the markdown toolbar status arguments. */
|
|
1369
1371
|
markdown?: object;
|
|
1370
1372
|
}
|
|
1373
|
+
/**
|
|
1374
|
+
* @hidden
|
|
1375
|
+
|
|
1376
|
+
*/
|
|
1377
|
+
export interface CleanupResizeElemArgs {
|
|
1378
|
+
name?: string;
|
|
1379
|
+
value: string;
|
|
1380
|
+
}
|