@progress/kendo-angular-editor 24.2.2 → 25.0.0-develop.12

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 (100) hide show
  1. package/fesm2022/progress-kendo-angular-editor.mjs +216 -199
  2. package/index.d.ts +2181 -67
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +21 -21
  5. package/schematics/ngAdd/index.js +4 -4
  6. package/common/active-marks.d.ts +0 -12
  7. package/common/apply-to-word-options.d.ts +0 -26
  8. package/common/commands.d.ts +0 -41
  9. package/common/css-settings.interface.d.ts +0 -30
  10. package/common/direction.d.ts +0 -8
  11. package/common/error-messages.d.ts +0 -8
  12. package/common/font-family-item.interface.d.ts +0 -25
  13. package/common/font-size-item.interface.d.ts +0 -25
  14. package/common/format-item.interface.d.ts +0 -25
  15. package/common/image-data.interface.d.ts +0 -13
  16. package/common/link-data.interface.d.ts +0 -13
  17. package/common/paste-cleanup-settings.d.ts +0 -64
  18. package/common/plugins-function.d.ts +0 -18
  19. package/common/predicate.d.ts +0 -9
  20. package/common/provider.service.d.ts +0 -14
  21. package/common/resizable-options.interface.d.ts +0 -35
  22. package/common/styles.d.ts +0 -16
  23. package/common/table-data.interface.d.ts +0 -11
  24. package/config/command-icons.d.ts +0 -13
  25. package/config/commands.d.ts +0 -9
  26. package/config/indent-rules.d.ts +0 -33
  27. package/config/schema.d.ts +0 -13
  28. package/config/semantic-nodes.d.ts +0 -12
  29. package/config/table-commands.d.ts +0 -10
  30. package/config/utils.d.ts +0 -73
  31. package/dialogs/colorpicker-dialog.component.d.ts +0 -36
  32. package/dialogs/file-link-dialog.component.d.ts +0 -33
  33. package/dialogs/font-family-dialog.component.d.ts +0 -31
  34. package/dialogs/font-size-dialog.component.d.ts +0 -31
  35. package/dialogs/format-dialog.component.d.ts +0 -31
  36. package/dialogs/image-dialog.component.d.ts +0 -40
  37. package/dialogs/insert-table-dialog.component.d.ts +0 -24
  38. package/dialogs/source-dialog.component.d.ts +0 -27
  39. package/directives.d.ts +0 -51
  40. package/editor-toolbar-state.d.ts +0 -20
  41. package/editor.component.d.ts +0 -277
  42. package/editor.module.d.ts +0 -73
  43. package/localization/custom-messages.component.d.ts +0 -27
  44. package/localization/editor-localization.service.d.ts +0 -14
  45. package/localization/localized-messages.directive.d.ts +0 -16
  46. package/localization/messages.d.ts +0 -242
  47. package/package-metadata.d.ts +0 -9
  48. package/preventable-events/paste-event.d.ts +0 -27
  49. package/preventable-events/preventable-event.d.ts +0 -21
  50. package/tools/alignment/editor-align-center-button.directive.d.ts +0 -28
  51. package/tools/alignment/editor-align-justify-button.directive.d.ts +0 -28
  52. package/tools/alignment/editor-align-left-button.directive.d.ts +0 -28
  53. package/tools/alignment/editor-align-right-button.directive.d.ts +0 -28
  54. package/tools/blockquote/editor-blockquote-button.directive.d.ts +0 -26
  55. package/tools/colorpicker/editor-back-color.directive.d.ts +0 -26
  56. package/tools/colorpicker/editor-colorpicker.component.d.ts +0 -129
  57. package/tools/colorpicker/editor-fore-color.directive.d.ts +0 -22
  58. package/tools/editor-clean-formatting-button.directive.d.ts +0 -27
  59. package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +0 -27
  60. package/tools/fontfamily/editor-fontfamily.component.d.ts +0 -91
  61. package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +0 -27
  62. package/tools/fontsize/editor-fontsize.component.d.ts +0 -91
  63. package/tools/format/editor-format-dropdownlist.component.d.ts +0 -27
  64. package/tools/format/editor-format.component.d.ts +0 -83
  65. package/tools/history/editor-redo-button.directive.d.ts +0 -28
  66. package/tools/history/editor-undo-button.directive.d.ts +0 -28
  67. package/tools/image/editor-insert-image-button.directive.d.ts +0 -27
  68. package/tools/indentation/editor-indent-button.directive.d.ts +0 -27
  69. package/tools/indentation/editor-outdent-button.directive.d.ts +0 -27
  70. package/tools/link/editor-create-link-button.directive.d.ts +0 -27
  71. package/tools/link/editor-insert-file-button.directive.d.ts +0 -26
  72. package/tools/link/editor-unlink-button.directive.d.ts +0 -27
  73. package/tools/list/editor-insert-ordered-list-button.directive.d.ts +0 -27
  74. package/tools/list/editor-insert-unordered-list-button.directive.d.ts +0 -28
  75. package/tools/print/editor-print-button.directive.d.ts +0 -31
  76. package/tools/select-all/select-all-button.directive.d.ts +0 -28
  77. package/tools/shared/dropdown-tool.directive.d.ts +0 -20
  78. package/tools/shared/editor-command-base.d.ts +0 -31
  79. package/tools/shared/editor-command-button.d.ts +0 -24
  80. package/tools/shared/editor-command-dialog.d.ts +0 -23
  81. package/tools/source/editor-view-source-button.directive.d.ts +0 -27
  82. package/tools/tables/editor-add-column-after-button.directive.d.ts +0 -28
  83. package/tools/tables/editor-add-column-before-button.directive.d.ts +0 -28
  84. package/tools/tables/editor-add-row-after-button.directive.d.ts +0 -28
  85. package/tools/tables/editor-add-row-before-button.directive.d.ts +0 -28
  86. package/tools/tables/editor-delete-column-button.directive.d.ts +0 -28
  87. package/tools/tables/editor-delete-row-button.directive.d.ts +0 -28
  88. package/tools/tables/editor-delete-table-button.directive.d.ts +0 -28
  89. package/tools/tables/editor-insert-table-button.component.d.ts +0 -87
  90. package/tools/tables/editor-merge-cells-button.directive.d.ts +0 -30
  91. package/tools/tables/editor-split-cell-button.directive.d.ts +0 -30
  92. package/tools/tables/popup-table-grid.component.d.ts +0 -31
  93. package/tools/tools.service.d.ts +0 -17
  94. package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +0 -28
  95. package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +0 -28
  96. package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +0 -28
  97. package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +0 -28
  98. package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +0 -28
  99. package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +0 -28
  100. package/util.d.ts +0 -96
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1783511670,
11
- "version": "24.2.2",
10
+ "publishDate": 1785318013,
11
+ "version": "25.0.0-develop.12",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-editor",
3
- "version": "24.2.2",
3
+ "version": "25.0.0-develop.12",
4
4
  "description": "Kendo UI Editor for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -17,36 +17,36 @@
17
17
  "package": {
18
18
  "productName": "Kendo UI for Angular",
19
19
  "productCode": "KENDOUIANGULAR",
20
- "publishDate": 1783511670,
20
+ "publishDate": 1785318013,
21
21
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
22
22
  }
23
23
  },
24
24
  "peerDependencies": {
25
- "@angular/animations": "19 - 22",
26
- "@angular/common": "19 - 22",
27
- "@angular/core": "19 - 22",
28
- "@angular/forms": "19 - 22",
29
- "@angular/platform-browser": "19 - 22",
25
+ "@angular/animations": "20 - 22",
26
+ "@angular/common": "20 - 22",
27
+ "@angular/core": "20 - 22",
28
+ "@angular/forms": "20 - 22",
29
+ "@angular/platform-browser": "20 - 22",
30
30
  "@progress/kendo-drawing": "^1.25.0",
31
31
  "@progress/kendo-licensing": "^1.11.0",
32
- "@progress/kendo-angular-buttons": "24.2.2",
33
- "@progress/kendo-angular-common": "24.2.2",
34
- "@progress/kendo-angular-dialog": "24.2.2",
35
- "@progress/kendo-angular-dropdowns": "24.2.2",
36
- "@progress/kendo-angular-inputs": "24.2.2",
37
- "@progress/kendo-angular-intl": "24.2.2",
38
- "@progress/kendo-angular-l10n": "24.2.2",
39
- "@progress/kendo-angular-label": "24.2.2",
40
- "@progress/kendo-angular-layout": "24.2.2",
41
- "@progress/kendo-angular-icons": "24.2.2",
42
- "@progress/kendo-angular-popup": "24.2.2",
43
- "@progress/kendo-angular-toolbar": "24.2.2",
32
+ "@progress/kendo-angular-buttons": "25.0.0-develop.12",
33
+ "@progress/kendo-angular-common": "25.0.0-develop.12",
34
+ "@progress/kendo-angular-dialog": "25.0.0-develop.12",
35
+ "@progress/kendo-angular-dropdowns": "25.0.0-develop.12",
36
+ "@progress/kendo-angular-inputs": "25.0.0-develop.12",
37
+ "@progress/kendo-angular-intl": "25.0.0-develop.12",
38
+ "@progress/kendo-angular-l10n": "25.0.0-develop.12",
39
+ "@progress/kendo-angular-label": "25.0.0-develop.12",
40
+ "@progress/kendo-angular-layout": "25.0.0-develop.12",
41
+ "@progress/kendo-angular-icons": "25.0.0-develop.12",
42
+ "@progress/kendo-angular-popup": "25.0.0-develop.12",
43
+ "@progress/kendo-angular-toolbar": "25.0.0-develop.12",
44
44
  "rxjs": "^6.5.3 || ^7.0.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "tslib": "^2.3.1",
48
- "@progress/kendo-angular-schematics": "24.2.2",
49
- "@progress/kendo-editor-common": "1.12.5"
48
+ "@progress/kendo-angular-schematics": "25.0.0-develop.12",
49
+ "@progress/kendo-editor-common": "1.12.6"
50
50
  },
51
51
  "schematics": "./schematics/collection.json",
52
52
  "module": "fesm2022/progress-kendo-angular-editor.mjs",
@@ -9,12 +9,12 @@ const schematics_1 = require("@angular-devkit/schematics");
9
9
  function default_1(options) {
10
10
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'EditorModule', package: 'editor', peerDependencies: {
11
11
  // peer dependencies of kendo-angular-dropdowns
12
- '@progress/kendo-angular-navigation': '24.2.2',
13
- '@progress/kendo-angular-treeview': '24.2.2',
12
+ '@progress/kendo-angular-navigation': '25.0.0-develop.12',
13
+ '@progress/kendo-angular-treeview': '25.0.0-develop.12',
14
14
  // peer dependency of kendo-angular-layout
15
- '@progress/kendo-angular-progressbar': '24.2.2',
15
+ '@progress/kendo-angular-progressbar': '25.0.0-develop.12',
16
16
  // peer dependency of kendo-angular-inputs
17
- '@progress/kendo-angular-dialog': '24.2.2',
17
+ '@progress/kendo-angular-dialog': '25.0.0-develop.12',
18
18
  // Peer dependency of icons
19
19
  '@progress/kendo-svg-icons': '^4.0.0'
20
20
  } });
@@ -1,12 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Mark } from '@progress/kendo-editor-common';
6
- /**
7
- * @hidden
8
- */
9
- export interface ActiveMarks {
10
- marks: Mark[];
11
- hasNodesWithoutMarks: boolean;
12
- }
@@ -1,26 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Represents the options for applying a command to the "word" at the cursor position.
7
- * Use the `before` and `after` regular expressions to define what counts as a word boundary ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#customizing-word-delimiters)).
8
- *
9
- * @example
10
- * ```typescript
11
- * const options: ApplyToWordOptions = {
12
- * before: /\s/,
13
- * after: /\s/
14
- * };
15
- * ```
16
- */
17
- export interface ApplyToWordOptions {
18
- /**
19
- * Defines the regular expression for the start boundary of the word before the cursor.
20
- */
21
- before: RegExp;
22
- /**
23
- * Defines the regular expression for the end boundary of the word after the cursor.
24
- */
25
- after: RegExp;
26
- }
@@ -1,41 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { EditorState, Transaction, EditorView } from '@progress/kendo-editor-common';
6
- /**
7
- * @hidden
8
- */
9
- export type DispatchFn = (tr: Transaction) => void;
10
- /**
11
- * @hidden
12
- */
13
- export type Command = (state: EditorState, dispatch: DispatchFn, view?: EditorView) => boolean | void;
14
- /**
15
- * @hidden
16
- */
17
- export type EditorInternalCommand = 'print';
18
- /**
19
- * Lists the command names accepted by the `exec` method.
20
- */
21
- export type EditorCommand = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'createLink' | 'unlink' | 'insertFile' | 'insertImage' | 'insertOrderedList' | 'insertUnorderedList' | 'insertText' | 'indent' | 'outdent' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'format' | 'fontFamily' | 'fontSize' | 'cleanFormat' | 'setHTML' | 'undo' | 'redo' | 'subscript' | 'superscript' | 'cleanFormatting' | 'foreColor' | 'backColor' | 'insertTable' | 'addColumnBefore' | 'addColumnAfter' | 'addRowBefore' | 'addRowAfter' | 'deleteRow' | 'deleteColumn' | 'mergeCells' | 'splitCell' | 'deleteTable' | 'selectAll' | 'blockquote';
22
- /**
23
- * Lists the dialog commands accepted by the `openDialog` method.
24
- *
25
- * Supported dialog commands:
26
- * - `createLink`
27
- * - `viewSource`
28
- * - `insertFile`
29
- * - `insertImage`
30
- * - `tableWizard`
31
- *
32
- * @example
33
- * ```typescript
34
- * // Open a `createLink` dialog.
35
- * editor.openDialog('createLink');
36
- *
37
- * // Open a `viewSource` dialog.
38
- * editor.openDialog('viewSource');
39
- * ```
40
- */
41
- export type DialogCommand = 'createLink' | 'insertFile' | 'insertImage' | 'viewSource';
@@ -1,30 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Represents the settings for applying custom CSS styles to the Editor in iframe mode ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/styling#encapsulated-mode)).
7
- *
8
- * @example
9
- * ```typescript
10
- * const cssSettings: EditorCssSettings = {
11
- * content: '.k-editor { color: red; }',
12
- * path: '/styles/editor.css',
13
- * keepBuiltInCss: false
14
- * };
15
- * ```
16
- */
17
- export interface EditorCssSettings {
18
- /**
19
- * Sets the CSS rules to apply.
20
- */
21
- content?: string;
22
- /**
23
- * Sets the path to an external style sheet.
24
- */
25
- path?: string;
26
- /**
27
- * Determines if custom styles override or extend built-in styles.
28
- */
29
- keepBuiltInCss?: boolean;
30
- }
@@ -1,8 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export type Direction = 'rtl' | 'ltr';
@@ -1,8 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export declare const EditorErrorMessages: any;
@@ -1,25 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Represents a single font in the font family DropDownList.
7
- *
8
- * @example
9
- * ```typescript
10
- * const fontItem: FontFamilyItem = {
11
- * fontName: 'Arial, Helvetica, sans-serif',
12
- * text: 'Arial'
13
- * };
14
- * ```
15
- */
16
- export interface FontFamilyItem {
17
- /**
18
- * Sets the value of the [`font-family`](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family) CSS property.
19
- */
20
- fontName: string;
21
- /**
22
- * Sets the display text for the font in the DropDownList.
23
- */
24
- text: string;
25
- }
@@ -1,25 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Represents a single item in the font size DropDownList.
7
- *
8
- * @example
9
- * ```typescript
10
- * const fontSizeItem: FontSizeItem = {
11
- * size: 14,
12
- * text: '14px'
13
- * };
14
- * ```
15
- */
16
- export interface FontSizeItem {
17
- /**
18
- * Sets the value of the [`font-size`](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) CSS property.
19
- */
20
- size: number | string;
21
- /**
22
- * Sets the display text for the font size in the DropDownList.
23
- */
24
- text: string;
25
- }
@@ -1,25 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Represents a single item in the formatting DropDownList.
7
- *
8
- * @example
9
- * ```typescript
10
- * const formatItem: FormatItem = {
11
- * tag: 'h1',
12
- * text: 'Heading 1'
13
- * };
14
- * ```
15
- */
16
- export interface FormatItem {
17
- /**
18
- * Sets the tag to apply.
19
- */
20
- tag: 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
21
- /**
22
- * Sets the display text for the tag in the DropDownList.
23
- */
24
- text: string;
25
- }
@@ -1,13 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export interface ImageData {
9
- src: string;
10
- alt?: string;
11
- width?: string;
12
- height?: string;
13
- }
@@ -1,13 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export interface LinkData {
9
- href: string;
10
- target?: '_blank' | null;
11
- text?: string;
12
- title?: string;
13
- }
@@ -1,64 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Represents the configuration options for Paste Cleanup ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/paste-cleanup)).
7
- *
8
- * @example
9
- * ```typescript
10
- * const settings: PasteCleanupSettings = {
11
- * convertMsLists: true,
12
- * removeHtmlComments: true,
13
- * stripTags: ['span'],
14
- * removeAttributes: ['lang'],
15
- * removeMsClasses: true,
16
- * removeMsStyles: true,
17
- * removeInvalidHTML: true
18
- * };
19
- * ```
20
- */
21
- export interface PasteCleanupSettings {
22
- /**
23
- * Converts MS Word lists to HTML lists when set to `true`.
24
- */
25
- convertMsLists?: boolean;
26
- /**
27
- * Removes HTML comments when set to `true`.
28
- *
29
- * For example, `<!-- comment --> <p> content </p>` becomes `<p> content </p>`.
30
- */
31
- removeHtmlComments?: boolean;
32
- /**
33
- * Removes the specified tags from the HTML.
34
- *
35
- * For example, with `stripTags: ['span']`, `<p><span lang=EN-US>content</span></p>` becomes `<p>content</p>`.
36
- */
37
- stripTags?: string[];
38
- /**
39
- * Removes the specified DOM attributes from the HTML.
40
- * Set to `'all'` to remove every attribute.
41
- * Set to an array to remove specific attributes.
42
- *
43
- * For example, with `removeAttributes: ['lang']`, `<p><span lang=EN-US>content</span></p>` becomes `<p><span>content</span></p>`.
44
- */
45
- removeAttributes?: string[] | 'all';
46
- /**
47
- * Removes class attributes starting with 'Mso' when set to `true`.
48
- *
49
- * For example, `<p class="MsoNormal">pasted from MS Word</p>` becomes `<p>pasted from MS Word</p>`.
50
- */
51
- removeMsClasses?: boolean;
52
- /**
53
- * Removes style attributes starting with 'Mso' when set to `true`.
54
- *
55
- * For example, `<p><span style="color:#7C7C7C; mso-themecolor:accent3; mso-themeshade:191;">content</span></p>` becomes `<p><span style="color: #7C7C7C; background: silver;">content</span></p>`.
56
- */
57
- removeMsStyles?: boolean;
58
- /**
59
- * Removes invalid HTML when set to `true`.
60
- *
61
- * For example, `<p>content <o:p>, <w:sdtPr></p>` becomes `<p>content </p>`.
62
- */
63
- removeInvalidHTML?: boolean;
64
- }
@@ -1,18 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Plugin } from '@progress/kendo-editor-common';
6
- /**
7
- * Represents the callback used by the
8
- * [`plugins`](https://www.telerik.com/kendo-angular-ui/components/editor/api/editorcomponent#plugins) property.
9
- *
10
- * @example
11
- * ```typescript
12
- * pluginsCallback(defaultPlugins: Plugin[]): Plugin[] {
13
- * const myPlugin = new Plugin({/ custom plugin code /});
14
- * return [...defaultPlugins, myPlugin];
15
- * }
16
- * ```
17
- */
18
- export type PluginsFn = (args: Plugin[]) => Plugin[];
@@ -1,9 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- *
8
- */
9
- export type Predicate<T = any> = (condition: T) => boolean;
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import type { EditorComponent } from '../editor.component';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export declare class ProviderService {
11
- editor: EditorComponent;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ProviderService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<ProviderService>;
14
- }
@@ -1,35 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Represents the size restrictions for the resizable Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/resizing#resizing-the-editor)).
7
- *
8
- * @example
9
- * ```typescript
10
- * const options: EditorResizableOptions = {
11
- * minWidth: 200,
12
- * minHeight: 100,
13
- * maxWidth: 800,
14
- * maxHeight: 600
15
- * };
16
- * ```
17
- */
18
- export interface EditorResizableOptions {
19
- /**
20
- * Sets the minimum width of the resizable Editor in pixels.
21
- */
22
- minWidth?: number;
23
- /**
24
- * Sets the minimum height of the resizable Editor in pixels.
25
- */
26
- minHeight?: number;
27
- /**
28
- * Sets the maximum width of the resizable Editor in pixels.
29
- */
30
- maxWidth?: number;
31
- /**
32
- * Sets the maximum height of the resizable Editor in pixels.
33
- */
34
- maxHeight?: number;
35
- }
@@ -1,16 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export declare const defaultStyle = "\n html, body {\n margin: 0;\n height: 100%;\n padding: 0;\n }\n\n html {\n min-height: 100%;\n }\n\n body {\n box-sizing: border-box;\n position: relative;\n word-wrap: break-word;\n padding: 8px;\n }\n\n body > .k-content {\n outline: 0;\n height: 100%;\n white-space: pre-wrap;\n }\n\n div.ProseMirror {\n position: relative;\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: \"liga\" 0; /* the above doesn't seem to work in Edge */\n }\n\n .ProseMirror pre {\n white-space: pre-wrap;\n }\n\n .k-content > p {\n margin: 0 0 1em;\n }\n\n .k-content table {\n white-space: pre-wrap;\n }\n\n .k-content .k-text-selected, .k-content::selection {\n color: HighlightText;\n background-color: Highlight;\n }\n\n .k-content .k-text-highlighted {\n background-color: #bbdefb;\n }\n\n .k-content .ProseMirror-selectednode {\n outline: 2px solid #8cf;\n }\n\n .ProseMirror-hideselection *::selection { background: transparent; }\n .ProseMirror-hideselection *::-moz-selection { background: transparent; }\n .ProseMirror-hideselection { caret-color: transparent; }\n\n .ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n }\n\n .ProseMirror-gapcursor:after {\n content: \"\";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n }\n\n @keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n }\n\n .ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n }\n\n .k-editor-resize-handles-wrapper {\n position: absolute;\n visibility: hidden;\n }\n\n .k-editor-resize-handle {\n position: absolute;\n visibility: visible;\n background-color: #fff;\n border: 1px solid #000;\n z-index: 100;\n width: 5px;\n height: 5px;\n }\n\n .k-editor-resize-handle.northwest {\n top: 0;\n left: 0;\n transform: translate(-50%, -50%);\n cursor: nw-resize;\n }\n\n .k-editor-resize-handle.north {\n top: 0;\n left: 50%;\n transform: translate(-50%, -50%);\n cursor: n-resize;\n }\n\n .k-editor-resize-handle.northeast {\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n cursor: ne-resize;\n }\n\n .k-editor-resize-handle.southwest {\n left: 0;\n bottom: 0;\n transform: translate(-50%, 50%);\n cursor: sw-resize;\n }\n\n .k-editor-resize-handle.south {\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 50%);\n cursor: s-resize;\n }\n\n .k-editor-resize-handle.southeast {\n right: 0;\n bottom: 0;\n transform: translate(50%, 50%);\n cursor: se-resize;\n }\n\n .k-editor-resize-handle.west {\n top: 50%;\n left: 0;\n transform: translate(-50%, -50%);\n cursor: w-resize;\n }\n\n .k-editor-resize-handle.east {\n top: 50%;\n right: 0;\n transform: translate(50%, -50%);\n cursor: e-resize;\n }\n\n .ProseMirror .k-placeholder::before {\n content: attr(data-placeholder);\n height: 0;\n color: #8a8a8a;\n float: inline-start;\n opacity: 1;\n cursor: text;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n\n .ProseMirror li {\n position: relative;\n }\n\n li.ProseMirror-selectednode {\n outline: none;\n }\n\n li.ProseMirror-selectednode:after {\n content: \"\";\n position: absolute;\n left: -32px;\n right: -2px;\n top: -2px;\n bottom: -2px;\n border: 2px solid #8cf;\n pointer-events: none;\n }\n\n .ProseMirror[contenteditable=\"false\"] img {\n pointer-events: none;\n }\n";
9
- /**
10
- * @hidden
11
- */
12
- export declare const tablesStyles = "\n .ProseMirror .tableWrapper {\n overflow-x: auto;\n margin: 1em 0;\n }\n\n .ProseMirror table {\n margin: 0;\n border-collapse: collapse;\n table-layout: fixed;\n width: 100%;\n overflow: hidden;\n }\n\n .ProseMirror td, .ProseMirror th {\n min-width: 1em;\n border: 1px solid #ddd;\n padding: 3px 5px;\n vertical-align: top;\n box-sizing: border-box;\n position: relative;\n }\n\n .ProseMirror th {\n font-weight: bold;\n text-align: left;\n }\n\n .ProseMirror .column-resize-handle {\n position: absolute;\n right: -2px; top: 0; bottom: 0;\n width: 4px;\n z-index: 20;\n background-color: #adf;\n pointer-events: none;\n }\n\n .ProseMirror.resize-cursor {\n cursor: ew-resize;\n cursor: col-resize;\n }\n\n /* Give selected cells a blue overlay */\n .ProseMirror .selectedCell:after {\n z-index: 2;\n position: absolute;\n content: \"\";\n left: 0; right: 0; top: 0; bottom: 0;\n background: rgba(200, 200, 255, 0.4);\n pointer-events: none;\n }\n\n /* Resizing */\n .k-editor-resize-wrap-element {\n display: inline-block;\n position: relative;\n }\n\n .ProseMirror .row-resize-handle {\n position: absolute;\n right: 0; left: 0; bottom: 0;\n transform: translate(0, 50%);\n height: 4px;\n z-index: 20;\n background-color: #adf;\n pointer-events: none;\n }\n \n .ProseMirror.resize-cursor-vertical {\n cursor: sn-resize;\n cursor: row-resize;\n }\n\n .k-editor-resize-wrap-element table td p,\n .k-editor-resize-wrap-element table th p {\n margin: 0 auto;\n }\n\n .ProseMirror[contenteditable=\"false\"] .k-editor-resize-handle,\n .ProseMirror[contenteditable=\"false\"] .k-editor-resize-handles-wrapper,\n .ProseMirror[contenteditable=\"false\"] .row-resize-handle,\n .ProseMirror[contenteditable=\"false\"] .column-resize-handle {\n display: none;\n }\n \n .ProseMirror[contenteditable=\"false\"] table {\n pointer-events: none;\n }\n \n .ProseMirror[contenteditable=\"false\"] .ProseMirror-selectednode {\n outline: none;\n }\n \n .ProseMirror[contenteditable=\"false\"] {\n cursor: unset !important;\n }\n";
13
- /**
14
- * @hidden
15
- */
16
- export declare const rtlStyles = "body { direction: rtl }";
@@ -1,11 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export interface TableData {
9
- rows: number;
10
- cols: number;
11
- }
@@ -1,13 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { EditorCommand, DialogCommand, EditorInternalCommand } from '../common/commands';
6
- /**
7
- * @hidden
8
- */
9
- export declare const commandIcons: Partial<Record<EditorCommand | DialogCommand | EditorInternalCommand, string>>;
10
- /**
11
- * @hidden
12
- */
13
- export declare const commandSVGIcons: any;
@@ -1,9 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { EditorCommand, Command } from '../common/commands';
6
- /**
7
- * @hidden
8
- */
9
- export declare const editorCommands: Partial<Record<EditorCommand, (attr?: any) => Command>>;
@@ -1,33 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export interface IndentRule {
9
- node: string;
10
- style: string;
11
- rtlStyle: string;
12
- step: number;
13
- unit: string;
14
- }
15
- /**
16
- * @hidden
17
- */
18
- export interface IndentationRules {
19
- nodes: Array<IndentRule>;
20
- listsTypes: {
21
- orderedList: string;
22
- bulletList: string;
23
- listItem: string;
24
- };
25
- }
26
- /**
27
- * @hidden
28
- */
29
- export declare const indentRules: IndentationRules;
30
- /**
31
- * @hidden
32
- */
33
- export declare const outdentRules: IndentationRules;
@@ -1,13 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Schema } from '@progress/kendo-editor-common';
6
- /**
7
- * @hidden
8
- */
9
- export declare const schema: Schema<string, string>;
10
- /**
11
- * @hidden
12
- */
13
- export { Schema };
@@ -1,12 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export declare const semanticTagNames: string[];
9
- /**
10
- * @hidden
11
- */
12
- export declare const semanticNodes: {};
@@ -1,10 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { TableData } from '../common/table-data.interface';
6
- import { Command } from '../common/commands';
7
- /**
8
- * @hidden
9
- */
10
- export declare const insertTable: (attrs: TableData) => Command;