@progress/kendo-angular-editor 19.1.2-develop.1 → 19.1.2-develop.3

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 (108) hide show
  1. package/common/apply-to-word-options.d.ts +12 -6
  2. package/common/commands.d.ts +7 -6
  3. package/common/css-settings.interface.d.ts +13 -4
  4. package/common/font-family-item.interface.d.ts +11 -3
  5. package/common/font-size-item.interface.d.ts +11 -3
  6. package/common/format-item.interface.d.ts +11 -3
  7. package/common/paste-cleanup-settings.d.ts +29 -24
  8. package/common/plugins-function.d.ts +7 -6
  9. package/common/resizable-options.interface.d.ts +15 -5
  10. package/directives.d.ts +1 -1
  11. package/editor.component.d.ts +36 -27
  12. package/editor.module.d.ts +5 -4
  13. package/esm2022/common/error-messages.mjs +1 -1
  14. package/esm2022/directives.mjs +1 -1
  15. package/esm2022/editor.component.mjs +36 -27
  16. package/esm2022/editor.module.mjs +5 -4
  17. package/esm2022/localization/custom-messages.component.mjs +10 -1
  18. package/esm2022/package-metadata.mjs +2 -2
  19. package/esm2022/preventable-events/paste-event.mjs +4 -4
  20. package/esm2022/tools/alignment/editor-align-center-button.directive.mjs +3 -3
  21. package/esm2022/tools/alignment/editor-align-justify-button.directive.mjs +3 -3
  22. package/esm2022/tools/alignment/editor-align-left-button.directive.mjs +3 -3
  23. package/esm2022/tools/alignment/editor-align-right-button.directive.mjs +3 -3
  24. package/esm2022/tools/blockquote/editor-blockquote-button.directive.mjs +2 -3
  25. package/esm2022/tools/colorpicker/editor-back-color.directive.mjs +3 -4
  26. package/esm2022/tools/colorpicker/editor-colorpicker.component.mjs +20 -10
  27. package/esm2022/tools/colorpicker/editor-fore-color.directive.mjs +3 -4
  28. package/esm2022/tools/editor-clean-formatting-button.directive.mjs +3 -3
  29. package/esm2022/tools/fontfamily/editor-fontfamily.component.mjs +4 -5
  30. package/esm2022/tools/fontsize/editor-fontsize.component.mjs +6 -6
  31. package/esm2022/tools/format/editor-format.component.mjs +6 -6
  32. package/esm2022/tools/history/editor-redo-button.directive.mjs +3 -3
  33. package/esm2022/tools/history/editor-undo-button.directive.mjs +3 -3
  34. package/esm2022/tools/image/editor-insert-image-button.directive.mjs +2 -2
  35. package/esm2022/tools/indentation/editor-indent-button.directive.mjs +3 -4
  36. package/esm2022/tools/indentation/editor-outdent-button.directive.mjs +3 -4
  37. package/esm2022/tools/link/editor-create-link-button.directive.mjs +3 -4
  38. package/esm2022/tools/link/editor-insert-file-button.directive.mjs +2 -3
  39. package/esm2022/tools/link/editor-unlink-button.directive.mjs +3 -4
  40. package/esm2022/tools/list/editor-insert-ordered-list-button.directive.mjs +3 -4
  41. package/esm2022/tools/list/editor-insert-unordered-list-button.directive.mjs +3 -3
  42. package/esm2022/tools/print/editor-print-button.directive.mjs +3 -3
  43. package/esm2022/tools/select-all/select-all-button.directive.mjs +2 -2
  44. package/esm2022/tools/source/editor-view-source-button.directive.mjs +2 -2
  45. package/esm2022/tools/tables/editor-add-column-after-button.directive.mjs +3 -3
  46. package/esm2022/tools/tables/editor-add-column-before-button.directive.mjs +3 -3
  47. package/esm2022/tools/tables/editor-add-row-after-button.directive.mjs +3 -3
  48. package/esm2022/tools/tables/editor-add-row-before-button.directive.mjs +3 -3
  49. package/esm2022/tools/tables/editor-delete-column-button.directive.mjs +3 -3
  50. package/esm2022/tools/tables/editor-delete-row-button.directive.mjs +3 -3
  51. package/esm2022/tools/tables/editor-delete-table-button.directive.mjs +3 -3
  52. package/esm2022/tools/tables/editor-insert-table-button.component.mjs +3 -1
  53. package/esm2022/tools/tables/editor-merge-cells-button.directive.mjs +4 -4
  54. package/esm2022/tools/tables/editor-split-cell-button.directive.mjs +4 -4
  55. package/esm2022/tools/typographical-emphasis/editor-bold-button.directive.mjs +3 -3
  56. package/esm2022/tools/typographical-emphasis/editor-italic-button.directive.mjs +3 -3
  57. package/esm2022/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +3 -3
  58. package/esm2022/tools/typographical-emphasis/editor-subscript-button.directive.mjs +3 -3
  59. package/esm2022/tools/typographical-emphasis/editor-superscript-button.directive.mjs +3 -3
  60. package/esm2022/tools/typographical-emphasis/editor-underline-button.directive.mjs +3 -3
  61. package/esm2022/util.mjs +7 -6
  62. package/fesm2022/progress-kendo-angular-editor.mjs +210 -188
  63. package/localization/custom-messages.component.d.ts +10 -1
  64. package/package.json +15 -15
  65. package/preventable-events/paste-event.d.ts +4 -4
  66. package/schematics/ngAdd/index.js +4 -4
  67. package/tools/alignment/editor-align-center-button.directive.d.ts +3 -3
  68. package/tools/alignment/editor-align-justify-button.directive.d.ts +3 -3
  69. package/tools/alignment/editor-align-left-button.directive.d.ts +3 -3
  70. package/tools/alignment/editor-align-right-button.directive.d.ts +3 -3
  71. package/tools/blockquote/editor-blockquote-button.directive.d.ts +2 -3
  72. package/tools/colorpicker/editor-back-color.directive.d.ts +3 -4
  73. package/tools/colorpicker/editor-colorpicker.component.d.ts +20 -10
  74. package/tools/colorpicker/editor-fore-color.directive.d.ts +3 -4
  75. package/tools/editor-clean-formatting-button.directive.d.ts +3 -3
  76. package/tools/fontfamily/editor-fontfamily.component.d.ts +4 -5
  77. package/tools/fontsize/editor-fontsize.component.d.ts +6 -6
  78. package/tools/format/editor-format.component.d.ts +6 -6
  79. package/tools/history/editor-redo-button.directive.d.ts +3 -3
  80. package/tools/history/editor-undo-button.directive.d.ts +3 -3
  81. package/tools/image/editor-insert-image-button.directive.d.ts +2 -2
  82. package/tools/indentation/editor-indent-button.directive.d.ts +3 -4
  83. package/tools/indentation/editor-outdent-button.directive.d.ts +3 -4
  84. package/tools/link/editor-create-link-button.directive.d.ts +3 -4
  85. package/tools/link/editor-insert-file-button.directive.d.ts +2 -3
  86. package/tools/link/editor-unlink-button.directive.d.ts +3 -4
  87. package/tools/list/editor-insert-ordered-list-button.directive.d.ts +3 -4
  88. package/tools/list/editor-insert-unordered-list-button.directive.d.ts +3 -3
  89. package/tools/print/editor-print-button.directive.d.ts +3 -3
  90. package/tools/select-all/select-all-button.directive.d.ts +2 -2
  91. package/tools/source/editor-view-source-button.directive.d.ts +2 -2
  92. package/tools/tables/editor-add-column-after-button.directive.d.ts +3 -3
  93. package/tools/tables/editor-add-column-before-button.directive.d.ts +3 -3
  94. package/tools/tables/editor-add-row-after-button.directive.d.ts +3 -3
  95. package/tools/tables/editor-add-row-before-button.directive.d.ts +3 -3
  96. package/tools/tables/editor-delete-column-button.directive.d.ts +3 -3
  97. package/tools/tables/editor-delete-row-button.directive.d.ts +3 -3
  98. package/tools/tables/editor-delete-table-button.directive.d.ts +3 -3
  99. package/tools/tables/editor-insert-table-button.component.d.ts +3 -1
  100. package/tools/tables/editor-merge-cells-button.directive.d.ts +4 -4
  101. package/tools/tables/editor-split-cell-button.directive.d.ts +4 -4
  102. package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +3 -3
  103. package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +3 -3
  104. package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +3 -3
  105. package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +3 -3
  106. package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +3 -3
  107. package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +3 -3
  108. package/util.d.ts +7 -6
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1749804506,
40
- version: '19.1.2-develop.1',
39
+ publishDate: 1750152829,
40
+ version: '19.1.2-develop.3',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -611,20 +611,21 @@ const conditionallyExecute = (fn) => (condition) => (param) => (condition ? fn(p
611
611
  const pipe = (...fns) => x => fns.reduce((y, f) => f(y), x);
612
612
  // This re-declaration is necessary for proper API generation
613
613
  /**
614
- * A method for extracting the text from the current editor state's selection ([see example]({% slug plugins_editor %}#toc-popup-tools)).
614
+ * Extracts the text from the current editor state's selection ([see example]({% slug plugins_editor %}#toc-popup-tools)).
615
615
  *
616
+ * @example
616
617
  * ```ts
617
- * import {getSelectionText} from '@progress/kendo-angular-editor';
618
+ * import { getSelectionText } from '@progress/kendo-angular-editor';
618
619
  *
619
620
  * export class AppComponent {
620
621
  * @ViewChild('editor') public editor;
621
- * public onClick(){
622
- * const selection = getSelectionText(this.editor.view.state)
622
+ * public onClick() {
623
+ * const selection = getSelectionText(this.editor.view.state);
623
624
  * }
624
625
  * }
625
626
  * ```
626
- * @param state
627
- * @returns the selection text.
627
+ * @param state The current `EditorState`.
628
+ * @returns The selected text.
628
629
  */
629
630
  const getSelectionText = (state) => getSelectionText$1(state);
630
631
  /**
@@ -1524,7 +1525,7 @@ const EditorErrorMessages = {
1524
1525
  pastedContentCallbackType: (arg) => `pastedContent must be a function, but received ${JSON.stringify(arg)}.`,
1525
1526
  setPluginsOnce: 'The plugins cannot be changed dynamically. See https://www.telerik.com/kendo-angular-ui/components/editor/plugins/',
1526
1527
  setPlaceHolderOnce: 'The placeholder cannot be changed dynamically. See https://www.telerik.com/kendo-angular-ui/components/editor/plugins/#toc-custom-plugins/',
1527
- printTool: 'The Print tool and functionality are supported only in iframe mode. See https://www.telerik.com/kendo-angular-ui-develop/components/editor/api/EditorPrintDirective/'
1528
+ printTool: 'The Print tool and functionality are supported only in iframe mode. See https://www.telerik.com/kendo-angular-ui/components/editor/api/EditorPrintDirective/'
1528
1529
  };
1529
1530
 
1530
1531
  /**
@@ -1578,19 +1579,19 @@ class PreventableEvent {
1578
1579
  }
1579
1580
 
1580
1581
  /**
1581
- * The Editor [`paste`]({% slug api_editor_editorcomponent %}#toc-paste) event.
1582
+ * Fires when the Editor [`paste`]({% slug api_editor_editorcomponent %}#toc-paste) event occurs.
1582
1583
  */
1583
1584
  class EditorPasteEvent extends PreventableEvent {
1584
1585
  /**
1585
- * The HTML content cleaned in accordance with the [`PasteCleanupSettings`]({% slug paste_cleanup %}).
1586
+ * Contains the HTML content cleaned according to the [`PasteCleanupSettings`]({% slug paste_cleanup %}).
1586
1587
  */
1587
1588
  cleanedHtml;
1588
1589
  /**
1589
- * The raw pasted content.
1590
+ * Contains the raw pasted content.
1590
1591
  */
1591
1592
  originalHtml;
1592
1593
  /**
1593
- * The original DOM event.
1594
+ * Contains the original DOM event.
1594
1595
  */
1595
1596
  originalEvent;
1596
1597
  /**
@@ -1787,9 +1788,9 @@ class EditorCommandDialog extends EditorCommandBaseDirective {
1787
1788
  }
1788
1789
 
1789
1790
  /**
1790
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertImage** tool
1791
+ * Configures a `ToolBarButtonComponent` as an Editor **InsertImage** tool
1791
1792
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1792
- * The directive will predefine the SVG icon and `click` event handlers of the button.
1793
+ * Sets the SVG icon and `click` event handlers of the button.
1793
1794
  *
1794
1795
  * @example
1795
1796
  * ```html
@@ -1844,10 +1845,9 @@ class EditorCommandButton extends EditorCommandBaseDirective {
1844
1845
  }
1845
1846
 
1846
1847
  /**
1847
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Unlink** tool
1848
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1849
- * The directive will predefine the SVG icon and `click` event handlers of the button.
1850
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
1848
+ * Configures a ToolBarButtonComponent as an Editor **Unlink** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1849
+ * The directive sets the SVG icon and `click` event handlers for the button.
1850
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
1851
1851
  *
1852
1852
  * @example
1853
1853
  * ```html
@@ -1870,10 +1870,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1870
1870
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1871
1871
 
1872
1872
  /**
1873
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **CreateLink** tool
1874
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1875
- * The directive will predefine the SVG icon and `click` event handlers of the button.
1876
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
1873
+ * Configures a ToolBarButtonComponent as an Editor **CreateLink** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1874
+ * The directive sets the SVG icon and `click` event handlers for the button.
1875
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
1877
1876
  *
1878
1877
  * @example
1879
1878
  * ```html
@@ -1896,10 +1895,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1896
1895
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1897
1896
 
1898
1897
  /**
1899
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Outdent** tool
1900
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1901
- * The directive will predefine the SVG icon and `click` event handlers of the button.
1902
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
1898
+ * Configures a ToolBarButtonComponent as an Editor **Outdent** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1899
+ * The directive sets the SVG icon and `click` event handlers for the button.
1900
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
1903
1901
  *
1904
1902
  * @example
1905
1903
  * ```html
@@ -1922,10 +1920,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1922
1920
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1923
1921
 
1924
1922
  /**
1925
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Indent** tool
1926
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1927
- * The directive will predefine the SVG icon and `click` event handlers of the button.
1928
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
1923
+ * Configures a ToolBarButtonComponent as an Editor **Indent** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1924
+ * The directive sets the SVG icon and `click` event handlers for the button.
1925
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
1929
1926
  *
1930
1927
  * @example
1931
1928
  * ```html
@@ -1948,10 +1945,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1948
1945
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1949
1946
 
1950
1947
  /**
1951
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertOrderedList** tool
1952
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1953
- * The directive will predefine the SVG icon and `click` event handlers of the button.
1954
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
1948
+ * Configures a ToolBarButtonComponent as an Editor **InsertOrderedList** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1949
+ * The directive sets the SVG icon and `click` event handlers for the button.
1950
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
1955
1951
  *
1956
1952
  * @example
1957
1953
  * ```html
@@ -1974,10 +1970,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1974
1970
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
1975
1971
 
1976
1972
  /**
1977
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **InsertUnorderedList** tool
1973
+ * Configures a ToolBarButtonComponent as an Editor **InsertUnorderedList** tool
1978
1974
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
1979
- * The directive will predefine the SVG icon and `click` event handlers of the button.
1980
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
1975
+ * This directive sets the SVG icon and `click` event handlers for the button.
1976
+ * It also updates the `selected` state of the button based on the cursor position in the editing area.
1981
1977
  *
1982
1978
  * @example
1983
1979
  * ```html
@@ -2000,10 +1996,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2000
1996
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2001
1997
 
2002
1998
  /**
2003
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignJustify** tool
1999
+ * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignJustify** tool
2004
2000
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2005
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2006
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2001
+ * The directive sets the SVG icon and `click` event handlers for the button.
2002
+ * It also updates the `selected` state of the button based on the cursor position in the editing area.
2007
2003
  *
2008
2004
  * @example
2009
2005
  * ```html
@@ -2026,10 +2022,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2026
2022
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2027
2023
 
2028
2024
  /**
2029
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignRight** tool
2025
+ * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignRight** tool
2030
2026
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2031
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2032
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2027
+ * The directive sets the SVG icon and `click` event handlers for the button.
2028
+ * It also updates the `selected` state of the button based on the cursor position in the editing area.
2033
2029
  *
2034
2030
  * @example
2035
2031
  * ```html
@@ -2052,10 +2048,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2052
2048
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2053
2049
 
2054
2050
  /**
2055
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignCenter** tool
2051
+ * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignCenter** tool
2056
2052
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2057
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2058
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2053
+ * The directive sets the SVG icon and `click` event handlers for the button.
2054
+ * It also updates the `selected` state of the button based on the cursor position in the editing area.
2059
2055
  *
2060
2056
  * @example
2061
2057
  * ```html
@@ -2078,10 +2074,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2078
2074
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2079
2075
 
2080
2076
  /**
2081
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AlignLeft** tool
2077
+ * Use this directive to turn a ToolBarButtonComponent into an Editor **AlignLeft** tool
2082
2078
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2083
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2084
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2079
+ * The directive sets the SVG icon and `click` event handlers for the button.
2080
+ * It also updates the `selected` state of the button based on the cursor position in the editing area.
2085
2081
  *
2086
2082
  * @example
2087
2083
  * ```html
@@ -2399,13 +2395,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2399
2395
  }] } });
2400
2396
 
2401
2397
  /**
2402
- * A component which configures an existing `DropDownListComponent` as an Editor tool
2398
+ * Configures a DropDownListComponent as an Editor tool
2403
2399
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2404
- * The component associates a `kendo-dropdownlist` with an Editor command that changes the format of a content block and
2405
- * automatically defines the options of the drop-down list and sets its values ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
2400
+ * Associates a `kendo-dropdownlist` with an Editor command that changes the format of a content block.
2401
+ * Automatically sets the options and values of the DropDownList ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
2406
2402
  *
2407
2403
  * @example
2408
- * ```ts-no-run
2404
+ * ```html
2409
2405
  * <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>
2410
2406
  * ```
2411
2407
  */
@@ -2420,7 +2416,7 @@ class EditorFormatComponent extends ToolBarToolComponent {
2420
2416
  disabled = false;
2421
2417
  tabindex = -1;
2422
2418
  /**
2423
- * Overrides the default format items list.
2419
+ * Sets the format items list. Use this property to override the default list.
2424
2420
  */
2425
2421
  set data(formatItems) {
2426
2422
  this._data = formatItems || this._data;
@@ -2429,7 +2425,7 @@ class EditorFormatComponent extends ToolBarToolComponent {
2429
2425
  return this._data;
2430
2426
  }
2431
2427
  /**
2432
- * Fires when the user updates the value of the drop-down list.
2428
+ * Emits when the value of the DropDownList changes.
2433
2429
  */
2434
2430
  valueChange = new EventEmitter();
2435
2431
  formatDropDownList;
@@ -2655,10 +2651,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2655
2651
  }] } });
2656
2652
 
2657
2653
  /**
2658
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Underline** tool
2654
+ * Configures a ToolBarButtonComponent as an Editor **Underline** tool
2659
2655
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2660
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2661
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2656
+ * This directive sets the SVG icon and `click` event handlers for the button.
2657
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
2662
2658
  *
2663
2659
  * @example
2664
2660
  * ```html
@@ -2681,10 +2677,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2681
2677
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2682
2678
 
2683
2679
  /**
2684
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Italic** tool
2680
+ * Configures a ToolBarButtonComponent as an Editor **Italic** tool
2685
2681
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2686
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2687
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2682
+ * This directive sets the SVG icon and `click` event handlers for the button.
2683
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
2688
2684
  *
2689
2685
  * @example
2690
2686
  * ```html
@@ -2707,10 +2703,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2707
2703
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
2708
2704
 
2709
2705
  /**
2710
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Bold** tool
2706
+ * Configures a ToolBarButtonComponent as an Editor **Bold** tool
2711
2707
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
2712
- * The directive will predefine the SVG icon and `click` event handlers of the button.
2713
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
2708
+ * This directive sets the SVG icon and `click` event handlers for the button.
2709
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
2714
2710
  *
2715
2711
  * @example
2716
2712
  * ```html
@@ -3141,6 +3137,13 @@ const getPasteCleanupAttributes = (config) => {
3141
3137
  };
3142
3138
  /**
3143
3139
  * Represents the [Kendo UI Editor component for Angular]({% slug overview_editor %}).
3140
+ *
3141
+ * Use the Editor to create and edit rich text content in your Angular applications.
3142
+ *
3143
+ * @example
3144
+ * ```html
3145
+ * <kendo-editor [(value)]="editorValue"></kendo-editor>
3146
+ * ```
3144
3147
  */
3145
3148
  class EditorComponent {
3146
3149
  dialogService;
@@ -3153,6 +3156,7 @@ class EditorComponent {
3153
3156
  renderer;
3154
3157
  /**
3155
3158
  * Sets the value of the Editor ([see example](slug:overview_editor)).
3159
+ * Use this property to update the Editor content programmatically.
3156
3160
  */
3157
3161
  set value(value) {
3158
3162
  this.changeValue(value);
@@ -3170,7 +3174,7 @@ class EditorComponent {
3170
3174
  }
3171
3175
  }
3172
3176
  /**
3173
- * Sets the disabled state of the component. To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_editor#toc-managing-the-editor-disabled-state-in-reactive-forms).
3177
+ * Sets the disabled state of the component. To disable the Editor in reactive forms, see [Forms Support](slug:formssupport_editor#toc-managing-the-editor-disabled-state-in-reactive-forms).
3174
3178
  */
3175
3179
  set disabled(value) {
3176
3180
  this._disabled = value || false;
@@ -3193,6 +3197,7 @@ class EditorComponent {
3193
3197
  /**
3194
3198
  * Sets the read-only state of the component.
3195
3199
  *
3200
+ * When `true`, users cannot edit the content.
3196
3201
  * @default false
3197
3202
  */
3198
3203
  set readonly(value) {
@@ -3232,13 +3237,14 @@ class EditorComponent {
3232
3237
  return this._readonly;
3233
3238
  }
3234
3239
  /**
3235
- * If set to `false`, the Editor will run in style non-encapsulated mode. This means
3236
- * that the styles of the page will be persisted in the Editor and its content will be affected by them.
3240
+ * If set to `false`, the Editor runs in non-encapsulated style mode.
3241
+ * The Editor content inherits styles from the page.
3237
3242
  * @default true
3238
3243
  */
3239
3244
  iframe = true;
3240
3245
  /**
3241
- * Allows applying custom CSS styles to the Editor in iframe mode.
3246
+ * Applies custom CSS styles to the Editor in iframe mode.
3247
+ * Use this property to provide additional CSS for the Editor content.
3242
3248
  */
3243
3249
  set iframeCss(settings) {
3244
3250
  this._iframeCss = Object.assign(this._iframeCss, settings);
@@ -3247,12 +3253,12 @@ class EditorComponent {
3247
3253
  return this._iframeCss;
3248
3254
  }
3249
3255
  /**
3250
- * If set to `true` or `ApplyToWordOptions` object, commands that apply emphasis or inline styles will be applied to the whole word the cursor is in.
3256
+ * When set to `true` or an `ApplyToWordOptions` object, emphasis or inline style commands apply to the whole word at the cursor.
3251
3257
  * @default false
3252
3258
  */
3253
3259
  applyToWord = false;
3254
3260
  /**
3255
- * Allows providing a custom schema. ([see example]({% slug schema_editor %}))
3261
+ * Provides a custom schema for the Editor ([see example]({% slug schema_editor %})).
3256
3262
  */
3257
3263
  set schema(value) {
3258
3264
  if (isDevMode) {
@@ -3269,9 +3275,8 @@ class EditorComponent {
3269
3275
  return this._schema;
3270
3276
  }
3271
3277
  /**
3272
- * Defines a function which determines the plugins that will be used when initializing the Editor.
3273
- * It exposes the default plugins collection as an argument, and returns
3274
- * the plugins collection that will be used when creating the Editor component. ([see example]({% slug plugins_editor %}))
3278
+ * Defines a function to customize the plugins used by the Editor.
3279
+ * The function receives the default plugins and returns the plugins to use ([see example]({% slug plugins_editor %})).
3275
3280
  */
3276
3281
  set plugins(fn) {
3277
3282
  if (isDevMode) {
@@ -3288,7 +3293,8 @@ class EditorComponent {
3288
3293
  return this._plugins;
3289
3294
  }
3290
3295
  /**
3291
- * The hint, which is displayed when the component is empty.
3296
+ * Sets the hint text displayed when the Editor is empty.
3297
+ * Use this property to provide guidance to users.
3292
3298
  */
3293
3299
  set placeholder(value) {
3294
3300
  if (isDevMode && this._view) {
@@ -3300,41 +3306,40 @@ class EditorComponent {
3300
3306
  return this._placeholder;
3301
3307
  }
3302
3308
  /**
3303
- * By default, whitespace is collapsed as per HTML's rules.
3304
- * Set to `true` to preserve whitespace, but normalize newlines to spaces.
3305
- * Set to `'full'` to preserve whitespace entirely. In this case the default ProseMirror behavior is to parse white space into nodes.
3306
- *
3309
+ * Controls whitespace handling in the Editor content.
3310
+ * Set to `true` to preserve whitespace and normalize newlines to spaces.
3311
+ * Set to `'full'` to preserve all whitespace.
3307
3312
  * @default false
3308
3313
  */
3309
3314
  preserveWhitespace = false;
3310
3315
  /**
3311
- * Configures how pasted content is modified before it is added to the Editor ([see example]({% slug paste_cleanup %})).
3316
+ * Configures how pasted content is cleaned before it is added to the Editor ([see example]({% slug paste_cleanup %})).
3317
+ * Use this property to remove unwanted HTML, styles, or attributes from pasted content.
3312
3318
  */
3313
3319
  pasteCleanupSettings;
3314
3320
  /**
3315
3321
  * Determines whether the Editor can be resized ([see example](slug:resizing_editor#toc-resizing-the-editor)).
3322
+ * Set to `true` or provide an object with resizing options.
3316
3323
  * @default false
3317
3324
  */
3318
3325
  resizable = false;
3319
3326
  /**
3320
- * Fires each time the value of the Editor is changed upon user interaction&mdash;
3321
- * for example, when the value is updated through typing in the content area or using some of the Editor tools ([see example](slug:events_editor)).
3322
- * When the value of the Editor is programmatically changed through its API (`ngModel`) or form binding (`formControl`),
3323
- * the `valueChange` event is not triggered because it might cause a mix-up with the
3324
- * built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
3327
+ * Fires when the Editor value changes due to user interaction.
3328
+ * This event does not fire when the value changes programmatically through `ngModel` or form bindings
3329
+ * ([see example](slug:events_editor)).
3325
3330
  */
3326
3331
  valueChange = new EventEmitter();
3327
3332
  /**
3328
- * Fires when the content area of the Editor is focused ([see example](slug:events_editor)).
3333
+ * Fires when the Editor content area receives focus ([see example](slug:events_editor)).
3329
3334
  */
3330
3335
  onFocus = new EventEmitter();
3331
3336
  /**
3332
- * Fires when the user performs paste in the content area of the Editor ([see example](slug:events_editor)).
3333
- * The event is preventable. If you cancel it, the Editor content will not change.
3337
+ * Fires when the user paste content into the Editor ([see example](slug:events_editor)).
3338
+ * This event is preventable. If you cancel it, the Editor content does not change.
3334
3339
  */
3335
3340
  paste = new EventEmitter();
3336
3341
  /**
3337
- * Fires when the content area of the Editor is blurred ([see example](slug:events_editor)).
3342
+ * Fires when the Editor content area is blurred ([see example](slug:events_editor)).
3338
3343
  */
3339
3344
  onBlur = new EventEmitter();
3340
3345
  hostClass = true;
@@ -3384,14 +3389,14 @@ class EditorComponent {
3384
3389
  return this.defaultToolbar || this.userToolBarElement;
3385
3390
  }
3386
3391
  /**
3387
- * Returns the ProseMirror [EditorView](https://prosemirror.net/docs/ref/#view.EditorView) object
3388
- * that manages the DOM structure that represents an editable document.
3392
+ * Returns the ProseMirror [EditorView](https://prosemirror.net/docs/ref/#view.EditorView) object.
3393
+ * Use this property to access the underlying `EditorView` instance.
3389
3394
  */
3390
3395
  get view() {
3391
3396
  return this._view;
3392
3397
  }
3393
3398
  /**
3394
- * Returns the text which the current Editor selection contains ([see example]({% slug selection_editor %}#toc-retrieve-the-selected-text)).
3399
+ * Returns the text currently selected in the Editor ([see example]({% slug selection_editor %}#toc-retrieve-the-selected-text)).
3395
3400
  */
3396
3401
  get selectionText() {
3397
3402
  return this._view && this._view.state ? getSelectionText$1(this._view.state) : '';
@@ -4557,13 +4562,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
4557
4562
  }] } });
4558
4563
 
4559
4564
  /**
4560
- * A component which configures an existing `DropDownListComponent` as an Editor tool
4561
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
4562
- * The component associates a `kendo-dropdownlist` with an Editor command that changes the font size of a content block and
4563
- * automatically defines the options of the drop-down list and sets its values ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
4565
+ * Configures a DropDownListComponent as an Editor tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
4566
+ * Use this component to associate a `kendo-dropdownlist` with an Editor command that changes the font size of a content block.
4567
+ * The component automatically sets the options and values of the drop-down list.
4568
+ * ([see example]({% slug toolbartools_editor %}#toc-dropdownlists))
4564
4569
  *
4565
4570
  * @example
4566
- * ```ts-no-run
4571
+ * ```html
4567
4572
  * <kendo-toolbar-dropdownlist kendoEditorFontSize></kendo-toolbar-dropdownlist>
4568
4573
  * ```
4569
4574
  */
@@ -4577,7 +4582,7 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
4577
4582
  tabindex = -1;
4578
4583
  /**
4579
4584
  * Overrides the default font size list.
4580
- * Numeric values are treated as pixels.
4585
+ * Treat numeric values as pixels.
4581
4586
  */
4582
4587
  set data(sizes) {
4583
4588
  let normalizedSizes;
@@ -5039,13 +5044,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
5039
5044
  }] } });
5040
5045
 
5041
5046
  /**
5042
- * A component which configures an existing `DropDownListComponent` as an Editor tool
5043
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
5044
- * The component associates a `kendo-toolbar-dropdownlist` with an Editor command that changes the font family of a content block and
5045
- * automatically defines the options of the drop-down list and sets its values ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
5047
+ * Configures a DropDownListComponent as an Editor tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
5048
+ * Use this component to associate a kendo-toolbar-dropdownlist with an Editor command that changes the font family of a content block.
5049
+ * The component automatically sets the options and values of the drop-down list ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
5046
5050
  *
5047
5051
  * @example
5048
- * ```ts-no-run
5052
+ * ```html
5049
5053
  * <kendo-toolbar-dropdownlist kendoEditorFontFamily></kendo-toolbar-dropdownlist>
5050
5054
  * ```
5051
5055
  */
@@ -5438,45 +5442,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
5438
5442
  }] } });
5439
5443
 
5440
5444
  /**
5441
- * A component which configures an existing ColorPickerComponent as a ToolBar tool.
5442
- * To associate a `kendo-toolbar-colorpicker` with an Editor command that changes the
5443
- * foreground or the background color of the text, use the `kendoEditorForeColor` or `kendoEditorBackColor` directivе ([more information]({% slug toolbartools_editor %}#toc-colorpickers)).
5445
+ * Configures a ColorPickerComponent as a ToolBar tool.
5446
+ * Use this component to associate a `kendo-toolbar-colorpicker` with an Editor command that changes the foreground or background color of the text.
5447
+ * Use the `kendoEditorForeColor` or `kendoEditorBackColor` directive ([more information]({% slug toolbartools_editor %}#toc-colorpickers)).
5448
+ *
5449
+ * @example
5450
+ * ```html
5451
+ * <kendo-toolbar-colorpicker kendoEditorForeColor></kendo-toolbar-colorpicker>
5452
+ * ```
5444
5453
  */
5445
5454
  class EditorColorPickerComponent extends ToolBarToolComponent {
5446
5455
  localization;
5447
5456
  dialogService;
5448
5457
  ngZone;
5449
5458
  renderer;
5459
+ /**
5460
+ * Specifies the tab index of the component.
5461
+ *
5462
+ * @default -1
5463
+ */
5450
5464
  tabindex = -1;
5451
5465
  /**
5452
5466
  * Specifies the initial value of the color picker.
5453
5467
  */
5454
5468
  value;
5455
5469
  /**
5456
- * Specifies the Kendo UI font icon that will be used.
5470
+ * Specifies the Kendo UI font icon that the component uses.
5457
5471
  */
5458
5472
  icon;
5459
5473
  /**
5460
- * Defines an SVGIcon to be rendered within the ColorPicker button.
5461
- * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
5474
+ * Defines an SVGIcon to render within the ColorPicker button.
5475
+ * The input can take either an existing Kendo SVG icon or a custom one.
5462
5476
  */
5463
5477
  svgIcon;
5464
5478
  /**
5465
- * Overrides the default [color palette settings]({% slug api_inputs_palettesettings %}).
5479
+ * Overrides the default color palette settings.
5466
5480
  */
5467
5481
  paletteSettings;
5468
5482
  /**
5469
- * Specifies the color-related command that will be executed.
5483
+ * Specifies the color-related command that the component executes.
5470
5484
  */
5471
5485
  editorCommand;
5472
5486
  /**
5473
- * Specifies if the component should be disabled.
5487
+ * Specifies if the component is disabled.
5474
5488
  *
5475
5489
  * @default false
5476
5490
  */
5477
5491
  disabled = false;
5478
5492
  /**
5479
- * Specifies whether the ColorPicker will render a gradient, palette, or both in its popup.
5493
+ * Specifies whether the ColorPicker renders a gradient, palette, or both in its popup.
5480
5494
  *
5481
5495
  * @default ['palette']
5482
5496
  */
@@ -5968,7 +5982,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
5968
5982
  const popupWrapperWidth = '190px';
5969
5983
  const popupWrapperHeight = '164px'; // Set to '192px' when TableWizard button is added;
5970
5984
  /**
5971
- * A toolbar component which allows the user to create and insert a table in the Editor's content.
5985
+ * Represents toolbar component which allows creating and insertig a table in the Editor's content.
5986
+ *
5987
+ * Use this toolbar component to let users create and insert a table in the Editor's content.
5972
5988
  *
5973
5989
  * @example
5974
5990
  * ```html
@@ -6247,9 +6263,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6247
6263
  }] } });
6248
6264
 
6249
6265
  /**
6250
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Blockquote** tool
6251
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6252
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6266
+ * Configures a ToolBarButtonComponent as an Editor **Blockquote** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6267
+ * The directive predefines the SVG icon and `click` event handlers of the button.
6253
6268
  *
6254
6269
  * @example
6255
6270
  * ```html
@@ -6272,10 +6287,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6272
6287
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6273
6288
 
6274
6289
  /**
6275
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Redo** tool
6290
+ * Configures a ToolBarButtonComponent as an Editor **Redo** tool
6276
6291
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6277
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6278
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
6292
+ * Sets the SVG icon and `click` event handlers of the button.
6293
+ * Updates the `disabled` state of the button based on the cursor position in the editing area.
6279
6294
  *
6280
6295
  * @example
6281
6296
  * ```html
@@ -6298,10 +6313,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6298
6313
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6299
6314
 
6300
6315
  /**
6301
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Undo** tool
6316
+ * Configures a ToolBarButtonComponent as an Editor **Undo** tool
6302
6317
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6303
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6304
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
6318
+ * Sets the SVG icon and `click` event handlers of the button.
6319
+ * Updates the `disabled` state of the button based on the cursor position in the editing area.
6305
6320
  *
6306
6321
  * @example
6307
6322
  * ```html
@@ -6324,9 +6339,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6324
6339
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6325
6340
 
6326
6341
  /**
6327
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **ViewSource** tool
6342
+ * Configures a ToolBarButtonComponent as an Editor **ViewSource** tool
6328
6343
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6329
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6344
+ * The directive sets the SVG icon and `click` event handlers for the button.
6330
6345
  *
6331
6346
  * @example
6332
6347
  * ```html
@@ -6349,10 +6364,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6349
6364
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6350
6365
 
6351
6366
  /**
6352
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Strikethrough** tool
6367
+ * Configures a ToolBarButtonComponent as an Editor **Strikethrough** tool
6353
6368
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6354
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6355
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
6369
+ * This directive sets the SVG icon and `click` event handlers for the button.
6370
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
6356
6371
  *
6357
6372
  * @example
6358
6373
  * ```html
@@ -6375,10 +6390,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6375
6390
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6376
6391
 
6377
6392
  /**
6378
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Subscript** tool
6393
+ * Configures a ToolBarButtonComponent as an Editor **Subscript** tool
6379
6394
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6380
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6381
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
6395
+ * This directive sets the SVG icon and `click` event handlers for the button.
6396
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
6382
6397
  *
6383
6398
  * @example
6384
6399
  * ```html
@@ -6401,10 +6416,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6401
6416
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6402
6417
 
6403
6418
  /**
6404
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Superscript** tool
6419
+ * Configures a ToolBarButtonComponent as an Editor **Superscript** tool
6405
6420
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6406
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6407
- * In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
6421
+ * This directive sets the SVG icon and `click` event handlers for the button.
6422
+ * The directive also updates the `selected` state of the button based on the cursor position in the editing area.
6408
6423
  *
6409
6424
  * @example
6410
6425
  * ```html
@@ -6427,9 +6442,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6427
6442
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6428
6443
 
6429
6444
  /**
6430
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Insert File** tool
6431
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6432
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6445
+ * Configures a ToolBarButtonComponent as an Editor **Insert File** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6446
+ * The directive sets the SVG icon and `click` event handlers for the button.
6433
6447
  *
6434
6448
  * @example
6435
6449
  * ```html
@@ -6452,12 +6466,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6452
6466
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6453
6467
 
6454
6468
  /**
6455
- * A directive which configures an `EditorColorPickerComponent`
6456
- * for manipulating the foreground color of the text
6457
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6469
+ * Configures an EditorColorPickerComponent for manipulating the foreground color of the text ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6458
6470
  *
6471
+ * @example
6459
6472
  * ```html
6460
- * <kendo-toolbar-colorpicker kendoEditorForeColor ></kendo-toolbar-colorpicker>
6473
+ * <kendo-toolbar-colorpicker kendoEditorForeColor></kendo-toolbar-colorpicker>
6461
6474
  * ```
6462
6475
  */
6463
6476
  class EditorForeColorDirective {
@@ -6480,12 +6493,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6480
6493
  }], ctorParameters: function () { return [{ type: EditorColorPickerComponent }]; } });
6481
6494
 
6482
6495
  /**
6483
- * A directive which configures an `EditorColorPickerComponent`
6484
- * for manipulating the background color of the text
6485
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6496
+ * Configures an EditorColorPickerComponent for manipulating the background color of the text ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6486
6497
  *
6498
+ * @example
6487
6499
  * ```html
6488
- * <kendo-toolbar-colorpicker kendoEditorBackColor view="gradient"> </kendo-toolbar-colorpicker>
6500
+ * <kendo-toolbar-colorpicker kendoEditorBackColor view="gradient"></kendo-toolbar-colorpicker>
6489
6501
  * ```
6490
6502
  */
6491
6503
  class EditorBackColorDirective {
@@ -6508,9 +6520,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6508
6520
  }], ctorParameters: function () { return [{ type: EditorColorPickerComponent }]; } });
6509
6521
 
6510
6522
  /**
6511
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Clean Formatting** tool
6512
- * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6513
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6523
+ * A directive that configures a ToolBarButtonComponent as an Editor **Clean Formatting** tool.
6524
+ * The directive sets the SVG icon and `click` event handlers for the button.
6525
+ * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools))
6514
6526
  *
6515
6527
  * @example
6516
6528
  * ```html
@@ -6533,10 +6545,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6533
6545
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6534
6546
 
6535
6547
  /**
6536
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddColumnBefore** tool
6548
+ * Configures a ToolBarButtonComponent as an Editor **AddColumnBefore** tool
6537
6549
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6538
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6539
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
6550
+ * The directive sets the SVG icon and `click` event handlers for the button.
6551
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
6540
6552
  *
6541
6553
  * @example
6542
6554
  * ```html
@@ -6559,10 +6571,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6559
6571
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6560
6572
 
6561
6573
  /**
6562
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddColumnAfter** tool
6574
+ * Configures a ToolBarButtonComponent as an Editor **AddColumnAfter** tool
6563
6575
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6564
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6565
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
6576
+ * The directive sets the SVG icon and `click` event handlers for the button.
6577
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
6566
6578
  *
6567
6579
  * @example
6568
6580
  * ```html
@@ -6585,10 +6597,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6585
6597
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6586
6598
 
6587
6599
  /**
6588
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddRowBefore** tool
6600
+ * Configures a ToolBarButtonComponent as an Editor **AddRowBefore** tool
6589
6601
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6590
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6591
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
6602
+ * The directive sets the SVG icon and `click` event handlers for the button.
6603
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
6592
6604
  *
6593
6605
  * @example
6594
6606
  * ```html
@@ -6611,10 +6623,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6611
6623
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6612
6624
 
6613
6625
  /**
6614
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **AddRowAfter** tool
6626
+ * Configures a ToolBarButtonComponent as an Editor **AddRowAfter** tool
6615
6627
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6616
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6617
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
6628
+ * The directive sets the SVG icon and `click` event handlers for the button.
6629
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
6618
6630
  *
6619
6631
  * @example
6620
6632
  * ```html
@@ -6637,10 +6649,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6637
6649
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6638
6650
 
6639
6651
  /**
6640
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteColumn** tool
6652
+ * Configures a ToolBarButtonComponent as an Editor **DeleteColumn** tool
6641
6653
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6642
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6643
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
6654
+ * The directive sets the SVG icon and `click` event handlers for the button.
6655
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
6644
6656
  *
6645
6657
  * @example
6646
6658
  * ```html
@@ -6663,10 +6675,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6663
6675
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6664
6676
 
6665
6677
  /**
6666
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteRow** tool
6678
+ * Configures a ToolBarButtonComponent as an Editor **DeleteRow** tool
6667
6679
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6668
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6669
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
6680
+ * The directive sets the SVG icon and `click` event handlers for the button.
6681
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
6670
6682
  *
6671
6683
  * @example
6672
6684
  * ```html
@@ -6689,10 +6701,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6689
6701
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6690
6702
 
6691
6703
  /**
6692
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **DeleteTable** tool
6704
+ * Configures a ToolBarButtonComponent as an Editor **DeleteTable** tool
6693
6705
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6694
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6695
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
6706
+ * The directive sets the SVG icon and `click` event handlers for the button.
6707
+ * The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
6696
6708
  *
6697
6709
  * @example
6698
6710
  * ```html
@@ -6715,8 +6727,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6715
6727
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6716
6728
 
6717
6729
  /**
6718
- * Custom component messages override default component messages
6730
+ * Use this component to override the default component messages
6719
6731
  * ([see example]({% slug globalization_editor %}#toc-custom-messages)).
6732
+ * @example
6733
+ * ```html
6734
+ * <kendo-editor>
6735
+ * <kendo-editor-messages
6736
+ * bold="Custom Bold"
6737
+ * italic="Custom Italic">
6738
+ * </kendo-editor-messages>
6739
+ * </kendo-editor>
6740
+ * ```
6720
6741
  */
6721
6742
  class CustomMessagesComponent extends MessagesDirective {
6722
6743
  service;
@@ -6751,11 +6772,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6751
6772
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
6752
6773
 
6753
6774
  /**
6754
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **Print** tool
6775
+ * Configures a ToolBarButtonComponent as an Editor **Print** tool
6755
6776
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6756
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6777
+ * This directive sets the SVG icon and `click` event handlers for the button.
6757
6778
  *
6758
- * > The Editor Print tool is supported in the default [`iframe`](slug:api_editor_editorcomponent#iframe) mode only.
6779
+ * The Editor Print tool works only in the default [`iframe`](slug:api_editor_editorcomponent#iframe) mode.
6759
6780
  *
6760
6781
  * @example
6761
6782
  * ```html
@@ -6796,9 +6817,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6796
6817
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6797
6818
 
6798
6819
  /**
6799
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor **SelectAll** tool
6820
+ * Configures a ToolBarButtonComponent as an Editor **SelectAll** tool
6800
6821
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6801
- * The directive will predefine the SVG icon and `click` event handlers of the button.
6822
+ * This directive sets the SVG icon and `click` event handlers for the button.
6802
6823
  *
6803
6824
  * @example
6804
6825
  * ```html
@@ -6827,13 +6848,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6827
6848
  /**
6828
6849
  * @hidden
6829
6850
  *
6830
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor SplitCell tool
6851
+ * Configures an existing ToolBarButtonComponent as an Editor SplitCell tool
6831
6852
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6832
- * The directive will predefine the `icon` and `click` event handlers of the button.
6833
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
6853
+ * The directive predefines the `icon` and `click` event handlers of the button.
6854
+ * It also updates the `disabled` state of the button based on the cursor position in the editing area.
6834
6855
  *
6835
6856
  * @example
6836
- * ```ts-no-run
6857
+ * ```html
6837
6858
  * <kendo-toolbar-button kendoEditorSplitCellButton></kendo-toolbar-button>
6838
6859
  * ```
6839
6860
  */
@@ -6855,13 +6876,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6855
6876
  /**
6856
6877
  * @hidden
6857
6878
  *
6858
- * A directive which configures an existing `ToolBarButtonComponent` as an Editor MergeCells tool
6879
+ * Configures an existing ToolBarButtonComponent as an Editor **MergeCells** tool
6859
6880
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
6860
- * The directive will predefine the `icon` and `click` event handlers of the button.
6861
- * In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
6881
+ * The directive predefines the `icon` and `click` event handlers of the button.
6882
+ * It also updates the `disabled` state of the button based on the cursor position in the editing area.
6862
6883
  *
6863
6884
  * @example
6864
- * ```ts-no-run
6885
+ * ```html
6865
6886
  * <kendo-toolbar-button kendoEditorMergeCellsButton></kendo-toolbar-button>
6866
6887
  * ```
6867
6888
  */
@@ -6881,7 +6902,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6881
6902
  }], ctorParameters: function () { return [{ type: i1$2.ToolBarButtonComponent }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }]; } });
6882
6903
 
6883
6904
  /**
6884
- * Utility array that contains all `Editor` related components and directives
6905
+ * Utility array that contains all `Editor` related components and directives.
6885
6906
  */
6886
6907
  const KENDO_EDITOR = [
6887
6908
  EditorComponent,
@@ -6931,21 +6952,22 @@ const KENDO_EDITOR = [
6931
6952
 
6932
6953
  // IMPORTANT: NgModule export kept for backwards compatibility
6933
6954
  /**
6934
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Editor component.
6955
+ * Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Editor component.
6956
+ * Use this module to import the Editor and its related directives and services into your NgModule-based Angular application.
6935
6957
  *
6936
- * ```ts-no-run
6958
+ * @example
6959
+ * ```ts
6937
6960
  * import { NgModule } from '@angular/core';
6938
6961
  * import { EditorModule } from '@progress/kendo-angular-editor';
6939
6962
  * import { BrowserModule } from "@angular/platform-browser";
6940
6963
  * import { AppComponent } from './app.component';
6941
6964
  *
6942
- * _@NgModule({
6965
+ * @NgModule({
6943
6966
  * declarations: [AppComponent],
6944
6967
  * imports: [BrowserModule, EditorModule],
6945
6968
  * bootstrap: [AppComponent]
6946
6969
  * })
6947
6970
  * export class AppModule {}
6948
- *
6949
6971
  * ```
6950
6972
  */
6951
6973
  class EditorModule {