@progress/kendo-angular-editor 13.1.0 → 13.1.1-develop.1

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.
Files changed (99) hide show
  1. package/common/apply-to-word-options.d.ts +1 -3
  2. package/common/commands.d.ts +16 -1
  3. package/common/css-settings.interface.d.ts +1 -3
  4. package/common/font-family-item.interface.d.ts +0 -8
  5. package/common/font-size-item.interface.d.ts +0 -8
  6. package/common/format-item.interface.d.ts +0 -8
  7. package/common/paste-cleanup-settings.d.ts +0 -11
  8. package/editor.component.d.ts +1 -63
  9. package/editor.module.d.ts +4 -25
  10. package/esm2020/editor.component.mjs +1 -63
  11. package/esm2020/editor.module.mjs +4 -25
  12. package/esm2020/localization/custom-messages.component.mjs +1 -1
  13. package/esm2020/package-metadata.mjs +2 -2
  14. package/esm2020/tools/alignment/editor-align-center-button.directive.mjs +2 -9
  15. package/esm2020/tools/alignment/editor-align-justify-button.directive.mjs +2 -9
  16. package/esm2020/tools/alignment/editor-align-left-button.directive.mjs +2 -9
  17. package/esm2020/tools/alignment/editor-align-right-button.directive.mjs +2 -9
  18. package/esm2020/tools/blockquote/editor-blockquote-button.directive.mjs +2 -9
  19. package/esm2020/tools/colorpicker/editor-back-color.directive.mjs +4 -0
  20. package/esm2020/tools/colorpicker/editor-colorpicker.component.mjs +3 -1
  21. package/esm2020/tools/colorpicker/editor-fore-color.directive.mjs +4 -0
  22. package/esm2020/tools/editor-clean-formatting-button.directive.mjs +2 -9
  23. package/esm2020/tools/fontfamily/editor-fontfamily.component.mjs +1 -1
  24. package/esm2020/tools/fontsize/editor-fontsize.component.mjs +1 -3
  25. package/esm2020/tools/format/editor-format.component.mjs +1 -1
  26. package/esm2020/tools/history/editor-redo-button.directive.mjs +2 -9
  27. package/esm2020/tools/history/editor-undo-button.directive.mjs +2 -9
  28. package/esm2020/tools/image/editor-insert-image-button.directive.mjs +2 -9
  29. package/esm2020/tools/indentation/editor-indent-button.directive.mjs +2 -9
  30. package/esm2020/tools/indentation/editor-outdent-button.directive.mjs +2 -9
  31. package/esm2020/tools/link/editor-create-link-button.directive.mjs +2 -9
  32. package/esm2020/tools/link/editor-insert-file-button.directive.mjs +3 -3
  33. package/esm2020/tools/link/editor-unlink-button.directive.mjs +2 -9
  34. package/esm2020/tools/list/editor-insert-ordered-list-button.directive.mjs +2 -9
  35. package/esm2020/tools/list/editor-insert-unordered-list-button.directive.mjs +2 -9
  36. package/esm2020/tools/print/editor-print-button.directive.mjs +2 -9
  37. package/esm2020/tools/select-all/select-all-button.directive.mjs +2 -9
  38. package/esm2020/tools/source/editor-view-source-button.directive.mjs +2 -9
  39. package/esm2020/tools/tables/editor-add-column-after-button.directive.mjs +3 -3
  40. package/esm2020/tools/tables/editor-add-column-before-button.directive.mjs +3 -3
  41. package/esm2020/tools/tables/editor-add-row-after-button.directive.mjs +3 -3
  42. package/esm2020/tools/tables/editor-add-row-before-button.directive.mjs +3 -3
  43. package/esm2020/tools/tables/editor-delete-column-button.directive.mjs +3 -3
  44. package/esm2020/tools/tables/editor-delete-row-button.directive.mjs +3 -3
  45. package/esm2020/tools/tables/editor-delete-table-button.directive.mjs +3 -3
  46. package/esm2020/tools/typographical-emphasis/editor-bold-button.directive.mjs +2 -9
  47. package/esm2020/tools/typographical-emphasis/editor-italic-button.directive.mjs +2 -9
  48. package/esm2020/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +2 -9
  49. package/esm2020/tools/typographical-emphasis/editor-subscript-button.directive.mjs +2 -9
  50. package/esm2020/tools/typographical-emphasis/editor-superscript-button.directive.mjs +2 -9
  51. package/esm2020/tools/typographical-emphasis/editor-underline-button.directive.mjs +2 -9
  52. package/esm2020/util.mjs +12 -1
  53. package/fesm2015/progress-kendo-angular-editor.mjs +106 -338
  54. package/fesm2020/progress-kendo-angular-editor.mjs +106 -338
  55. package/index.d.ts +0 -1
  56. package/localization/custom-messages.component.d.ts +1 -1
  57. package/package.json +14 -14
  58. package/schematics/ngAdd/index.js +3 -3
  59. package/tools/alignment/editor-align-center-button.directive.d.ts +2 -9
  60. package/tools/alignment/editor-align-justify-button.directive.d.ts +2 -9
  61. package/tools/alignment/editor-align-left-button.directive.d.ts +2 -9
  62. package/tools/alignment/editor-align-right-button.directive.d.ts +2 -9
  63. package/tools/blockquote/editor-blockquote-button.directive.d.ts +2 -9
  64. package/tools/colorpicker/editor-back-color.directive.d.ts +4 -0
  65. package/tools/colorpicker/editor-colorpicker.component.d.ts +3 -1
  66. package/tools/colorpicker/editor-fore-color.directive.d.ts +4 -0
  67. package/tools/editor-clean-formatting-button.directive.d.ts +2 -9
  68. package/tools/fontfamily/editor-fontfamily.component.d.ts +1 -1
  69. package/tools/fontsize/editor-fontsize.component.d.ts +1 -3
  70. package/tools/format/editor-format.component.d.ts +1 -1
  71. package/tools/history/editor-redo-button.directive.d.ts +2 -9
  72. package/tools/history/editor-undo-button.directive.d.ts +2 -9
  73. package/tools/image/editor-insert-image-button.directive.d.ts +2 -9
  74. package/tools/indentation/editor-indent-button.directive.d.ts +2 -9
  75. package/tools/indentation/editor-outdent-button.directive.d.ts +2 -9
  76. package/tools/link/editor-create-link-button.directive.d.ts +2 -9
  77. package/tools/link/editor-insert-file-button.directive.d.ts +3 -3
  78. package/tools/link/editor-unlink-button.directive.d.ts +2 -9
  79. package/tools/list/editor-insert-ordered-list-button.directive.d.ts +2 -9
  80. package/tools/list/editor-insert-unordered-list-button.directive.d.ts +2 -9
  81. package/tools/print/editor-print-button.directive.d.ts +2 -9
  82. package/tools/select-all/select-all-button.directive.d.ts +2 -9
  83. package/tools/source/editor-view-source-button.directive.d.ts +2 -9
  84. package/tools/tables/editor-add-column-after-button.directive.d.ts +3 -3
  85. package/tools/tables/editor-add-column-before-button.directive.d.ts +3 -3
  86. package/tools/tables/editor-add-row-after-button.directive.d.ts +3 -3
  87. package/tools/tables/editor-add-row-before-button.directive.d.ts +3 -3
  88. package/tools/tables/editor-delete-column-button.directive.d.ts +3 -3
  89. package/tools/tables/editor-delete-row-button.directive.d.ts +3 -3
  90. package/tools/tables/editor-delete-table-button.directive.d.ts +3 -3
  91. package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +2 -9
  92. package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +2 -9
  93. package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +2 -9
  94. package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +2 -9
  95. package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +2 -9
  96. package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +2 -9
  97. package/util.d.ts +12 -1
  98. package/esm2020/preventable-events/paste-event-data.mjs +0 -5
  99. package/preventable-events/paste-event-data.d.ts +0 -21
@@ -9,21 +9,14 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor ViewSource tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **ViewSource** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  *
16
16
  * @example
17
17
  * ```html
18
18
  * <kendo-toolbar-button kendoEditorViewSourceButton></kendo-toolbar-button>
19
19
  * ```
20
- *
21
- * The following example demonstrates how to change the default icon that is applied by the directive.
22
- *
23
- * @example
24
- * ```html
25
- * <kendo-toolbar-button kendoEditorViewSourceButton ></kendo-toolbar-button>
26
- * ```
27
20
  */
28
21
  export declare class EditorViewSourceButtonDirective extends EditorCommandDialog {
29
22
  constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
@@ -9,13 +9,13 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor AddColumnAfter tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddColumnAfter** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
- * ```ts-no-run
18
+ * ```html
19
19
  * <kendo-toolbar-button kendoEditorAddColumnAfterButton></kendo-toolbar-button>
20
20
  * ```
21
21
  */
@@ -9,13 +9,13 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor AddColumnBefore tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddColumnBefore** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
- * ```ts-no-run
18
+ * ```html
19
19
  * <kendo-toolbar-button kendoEditorAddColumnBeforeButton></kendo-toolbar-button>
20
20
  * ```
21
21
  */
@@ -9,13 +9,13 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor AddRowAfter tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddRowAfter** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
- * ```ts-no-run
18
+ * ```html
19
19
  * <kendo-toolbar-button kendoEditorAddRowAfterButton></kendo-toolbar-button>
20
20
  * ```
21
21
  */
@@ -9,13 +9,13 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor AddRowBefore tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddRowBefore** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
- * ```ts-no-run
18
+ * ```html
19
19
  * <kendo-toolbar-button kendoEditorAddRowBeforeButton></kendo-toolbar-button>
20
20
  * ```
21
21
  */
@@ -9,13 +9,13 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor DeleteColumn tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteColumn** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
- * ```ts-no-run
18
+ * ```html
19
19
  * <kendo-toolbar-button kendoEditorDeleteColumnButton></kendo-toolbar-button>
20
20
  * ```
21
21
  */
@@ -9,13 +9,13 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor DeleteRow tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteRow** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
- * ```ts-no-run
18
+ * ```html
19
19
  * <kendo-toolbar-button kendoEditorDeleteRowButton></kendo-toolbar-button>
20
20
  * ```
21
21
  */
@@ -9,13 +9,13 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor DeleteTable tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteTable** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
- * ```ts-no-run
18
+ * ```html
19
19
  * <kendo-toolbar-button kendoEditorDeleteTableButton></kendo-toolbar-button>
20
20
  * ```
21
21
  */
@@ -9,22 +9,15 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor Bold tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Bold** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
18
  * ```html
19
19
  * <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
20
20
  * ```
21
- *
22
- * The following example demonstrates how to change the default icon that is applied by the directive.
23
- *
24
- * @example
25
- * ```html
26
- * <kendo-toolbar-button kendoEditorBoldButton ></kendo-toolbar-button>
27
- * ```
28
21
  */
29
22
  export declare class EditorBoldButtonDirective extends EditorCommandButton {
30
23
  constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
@@ -9,22 +9,15 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor Italic tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Italic** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
18
  * ```html
19
19
  * <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
20
20
  * ```
21
- *
22
- * The following example demonstrates how to change the default icon that is applied by the directive.
23
- *
24
- * @example
25
- * ```html
26
- * <kendo-toolbar-button kendoEditorItalicButton ></kendo-toolbar-button>
27
- * ```
28
21
  */
29
22
  export declare class EditorItalicButtonDirective extends EditorCommandButton {
30
23
  constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
@@ -9,22 +9,15 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor Strikethrough tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Strikethrough** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
18
  * ```html
19
19
  * <kendo-toolbar-button kendoEditorStrikethroughButton></kendo-toolbar-button>
20
20
  * ```
21
- *
22
- * The following example demonstrates how to change the default icon that is applied by the directive.
23
- *
24
- * @example
25
- * ```html
26
- * <kendo-toolbar-button kendoEditorStrikethroughButton ></kendo-toolbar-button>
27
- * ```
28
21
  */
29
22
  export declare class EditorStrikethroughButtonDirective extends EditorCommandButton {
30
23
  constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
@@ -9,22 +9,15 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor Subscript tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Subscript** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
18
  * ```html
19
19
  * <kendo-toolbar-button kendoEditorSubscriptButton></kendo-toolbar-button>
20
20
  * ```
21
- *
22
- * The following example demonstrates how to change the default icon that is applied by the directive.
23
- *
24
- * @example
25
- * ```html
26
- * <kendo-toolbar-button kendoEditorSubscriptButton ></kendo-toolbar-button>
27
- * ```
28
21
  */
29
22
  export declare class EditorSubscriptButtonDirective extends EditorCommandButton {
30
23
  constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
@@ -9,22 +9,15 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor Superscript tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Superscript** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
18
  * ```html
19
19
  * <kendo-toolbar-button kendoEditorSuperscriptButton></kendo-toolbar-button>
20
20
  * ```
21
- *
22
- * The following example demonstrates how to change the default icon that is applied by the directive.
23
- *
24
- * @example
25
- * ```html
26
- * <kendo-toolbar-button kendoEditorSuperscriptButton ></kendo-toolbar-button>
27
- * ```
28
21
  */
29
22
  export declare class EditorSuperscriptButtonDirective extends EditorCommandButton {
30
23
  constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
@@ -9,22 +9,15 @@ import { ProviderService } from '../../common/provider.service';
9
9
  import { EditorToolsService } from '../tools.service';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor Underline tool
12
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Underline** tool
13
13
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
14
- * The directive will predefine the `icon` and `click` event handlers of the button.
14
+ * The directive will predefine the SVG icon and `click` event handlers of the button.
15
15
  * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
16
16
  *
17
17
  * @example
18
18
  * ```html
19
19
  * <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>
20
20
  * ```
21
- *
22
- * The following example demonstrates how to change the default icon that is applied by the directive.
23
- *
24
- * @example
25
- * ```html
26
- * <kendo-toolbar-button kendoEditorUnderlineButton ></kendo-toolbar-button>
27
- * ```
28
21
  */
29
22
  export declare class EditorUnderlineButtonDirective extends EditorCommandButton {
30
23
  constructor(button: ToolBarButtonComponent, localization: EditorLocalizationService, providerService: ProviderService, toolsService: EditorToolsService);
package/util.d.ts CHANGED
@@ -78,7 +78,18 @@ export declare const conditionallyExecute: <T, R>(fn: (x: T) => R) => (condition
78
78
  */
79
79
  export declare const pipe: (...fns: any[]) => (x: any) => any;
80
80
  /**
81
- * A method for extracting the text from the current editor state's selection
81
+ * A method for extracting the text from the current editor state's selection ([see example]({% slug plugins_editor %}#toc-popup-tools)).
82
+ *
83
+ * ```ts
84
+ * import {getSelectionText} from '@progress/kendo-angular-editor';
85
+ *
86
+ * export class AppComponent {
87
+ * @ViewChild('editor') public editor;
88
+ * public onClick(){
89
+ * const selection = getSelectionText(this.editor.view.state)
90
+ * }
91
+ * }
92
+ * ```
82
93
  * @param state
83
94
  * @returns
84
95
  */
@@ -1,5 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export {};
@@ -1,21 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * The Editor [`pastedContent`]({% slug api_editor_editorcomponent %}#toc-pastedcontent) callback argument.
7
- */
8
- export declare type EditorPastedContentArgs = {
9
- /**
10
- * The HTML content cleaned in accordance with the [`PasteCleanupSettings`]({% slug paste_cleanup %}).
11
- */
12
- cleanedHtml: string;
13
- /**
14
- * The raw pasted content.
15
- */
16
- originalHtml: string;
17
- /**
18
- * The original DOM event.
19
- */
20
- originalEvent: ClipboardEvent;
21
- };