@progress/kendo-angular-editor 22.1.0-develop.8 → 23.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/apply-to-word-options.d.ts +1 -1
- package/common/css-settings.interface.d.ts +1 -1
- package/common/paste-cleanup-settings.d.ts +1 -1
- package/common/plugins-function.d.ts +1 -1
- package/common/resizable-options.interface.d.ts +1 -1
- package/editor.component.d.ts +15 -14
- package/fesm2022/progress-kendo-angular-editor.mjs +71 -71
- package/localization/custom-messages.component.d.ts +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +17 -17
- package/preventable-events/paste-event.d.ts +2 -2
- package/schematics/ngAdd/index.js +4 -4
- package/tools/alignment/editor-align-center-button.directive.d.ts +1 -1
- package/tools/alignment/editor-align-justify-button.directive.d.ts +1 -1
- package/tools/alignment/editor-align-left-button.directive.d.ts +1 -1
- package/tools/alignment/editor-align-right-button.directive.d.ts +1 -1
- package/tools/blockquote/editor-blockquote-button.directive.d.ts +1 -1
- package/tools/colorpicker/editor-back-color.directive.d.ts +1 -1
- package/tools/colorpicker/editor-colorpicker.component.d.ts +1 -1
- package/tools/colorpicker/editor-fore-color.directive.d.ts +1 -1
- package/tools/editor-clean-formatting-button.directive.d.ts +1 -1
- package/tools/fontfamily/editor-fontfamily.component.d.ts +2 -2
- package/tools/fontsize/editor-fontsize.component.d.ts +2 -2
- package/tools/format/editor-format.component.d.ts +2 -2
- package/tools/history/editor-redo-button.directive.d.ts +1 -1
- package/tools/history/editor-undo-button.directive.d.ts +1 -1
- package/tools/image/editor-insert-image-button.directive.d.ts +1 -1
- package/tools/indentation/editor-indent-button.directive.d.ts +1 -1
- package/tools/indentation/editor-outdent-button.directive.d.ts +1 -1
- package/tools/link/editor-create-link-button.directive.d.ts +1 -1
- package/tools/link/editor-insert-file-button.directive.d.ts +1 -1
- package/tools/link/editor-unlink-button.directive.d.ts +1 -1
- package/tools/list/editor-insert-ordered-list-button.directive.d.ts +1 -1
- package/tools/list/editor-insert-unordered-list-button.directive.d.ts +1 -1
- package/tools/print/editor-print-button.directive.d.ts +2 -2
- package/tools/select-all/select-all-button.directive.d.ts +1 -1
- package/tools/source/editor-view-source-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-column-after-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-column-before-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-row-after-button.directive.d.ts +1 -1
- package/tools/tables/editor-add-row-before-button.directive.d.ts +1 -1
- package/tools/tables/editor-delete-column-button.directive.d.ts +1 -1
- package/tools/tables/editor-delete-row-button.directive.d.ts +1 -1
- package/tools/tables/editor-delete-table-button.directive.d.ts +1 -1
- package/tools/tables/editor-merge-cells-button.directive.d.ts +1 -1
- package/tools/tables/editor-split-cell-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +1 -1
- package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +1 -1
- package/util.d.ts +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
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](
|
|
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
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```typescript
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Represents the settings for applying custom CSS styles to the Editor in iframe mode ([see example](
|
|
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
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```typescript
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Represents the configuration options for Paste Cleanup ([see example](
|
|
6
|
+
* Represents the configuration options for Paste Cleanup ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/paste-cleanup)).
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```typescript
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Plugin } from '@progress/kendo-editor-common';
|
|
6
6
|
/**
|
|
7
7
|
* Represents the callback used by the
|
|
8
|
-
* [`plugins`](
|
|
8
|
+
* [`plugins`](https://www.telerik.com/kendo-angular-ui/components/editor/api/editorcomponent#plugins) property.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```typescript
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Represents the size restrictions for the resizable Editor ([see example](
|
|
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
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```typescript
|
package/editor.component.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { BehaviorSubject, Subject } from 'rxjs';
|
|
|
8
8
|
import { ToolBarComponent } from '@progress/kendo-angular-toolbar';
|
|
9
9
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
10
10
|
import { EditorView, Schema } from '@progress/kendo-editor-common';
|
|
11
|
+
import { LicenseMessage } from '@progress/kendo-licensing';
|
|
11
12
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
12
13
|
import { Direction } from './common/direction';
|
|
13
14
|
import { EditorCommand, DialogCommand } from './common/commands';
|
|
@@ -21,7 +22,7 @@ import { EditorPasteEvent } from './preventable-events/paste-event';
|
|
|
21
22
|
import { EditorCssSettings } from './common/css-settings.interface';
|
|
22
23
|
import * as i0 from "@angular/core";
|
|
23
24
|
/**
|
|
24
|
-
* Represents the [Kendo UI Editor component for Angular](
|
|
25
|
+
* Represents the [Kendo UI Editor component for Angular](https://www.telerik.com/kendo-angular-ui/components/editor).
|
|
25
26
|
*
|
|
26
27
|
* Use the Editor to create and edit rich text content in your Angular applications.
|
|
27
28
|
*
|
|
@@ -42,13 +43,13 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
42
43
|
private toolsService;
|
|
43
44
|
private renderer;
|
|
44
45
|
/**
|
|
45
|
-
* Sets the value of the Editor ([see example](
|
|
46
|
+
* Sets the value of the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor)).
|
|
46
47
|
* Use this property to update the Editor content programmatically.
|
|
47
48
|
*/
|
|
48
49
|
set value(value: string);
|
|
49
50
|
get value(): string;
|
|
50
51
|
/**
|
|
51
|
-
* Sets the disabled state of the component. To disable the Editor in reactive forms, see [Forms Support](
|
|
52
|
+
* Sets the disabled state of the component. To disable the Editor in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/editor/forms#managing-the-editor-disabled-state-in-reactive-forms).
|
|
52
53
|
*/
|
|
53
54
|
set disabled(value: boolean);
|
|
54
55
|
get disabled(): boolean;
|
|
@@ -78,13 +79,13 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
78
79
|
*/
|
|
79
80
|
applyToWord: boolean | ApplyToWordOptions;
|
|
80
81
|
/**
|
|
81
|
-
* Provides a custom schema for the Editor ([see example](
|
|
82
|
+
* Provides a custom schema for the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/prosemirror-schema)).
|
|
82
83
|
*/
|
|
83
84
|
set schema(value: Schema);
|
|
84
85
|
get schema(): Schema;
|
|
85
86
|
/**
|
|
86
87
|
* Defines a function to customize the plugins used by the Editor.
|
|
87
|
-
* The function receives the default plugins and returns the plugins to use ([see example](
|
|
88
|
+
* The function receives the default plugins and returns the plugins to use ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/prosemirror-plugins)).
|
|
88
89
|
*/
|
|
89
90
|
set plugins(fn: PluginsFn);
|
|
90
91
|
get plugins(): PluginsFn;
|
|
@@ -102,12 +103,12 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
102
103
|
*/
|
|
103
104
|
preserveWhitespace: boolean | 'full';
|
|
104
105
|
/**
|
|
105
|
-
* Configures how pasted content is cleaned before it is added to the Editor ([see example](
|
|
106
|
+
* Configures how pasted content is cleaned before it is added to the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/paste-cleanup)).
|
|
106
107
|
* Use this property to remove unwanted HTML, styles, or attributes from pasted content.
|
|
107
108
|
*/
|
|
108
109
|
pasteCleanupSettings: PasteCleanupSettings;
|
|
109
110
|
/**
|
|
110
|
-
* Determines whether the Editor can be resized ([see example](
|
|
111
|
+
* Determines whether the Editor can be resized ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/resizing#resizing-the-editor)).
|
|
111
112
|
* Set to `true` or provide an object with resizing options.
|
|
112
113
|
* @default false
|
|
113
114
|
*/
|
|
@@ -115,20 +116,20 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
115
116
|
/**
|
|
116
117
|
* Fires when the Editor value changes due to user interaction.
|
|
117
118
|
* This event does not fire when the value changes programmatically through `ngModel` or form bindings
|
|
118
|
-
* ([see example](
|
|
119
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
|
|
119
120
|
*/
|
|
120
121
|
valueChange: EventEmitter<string>;
|
|
121
122
|
/**
|
|
122
|
-
* Fires when the Editor content area receives focus ([see example](
|
|
123
|
+
* Fires when the Editor content area receives focus ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
|
|
123
124
|
*/
|
|
124
125
|
onFocus: EventEmitter<undefined>;
|
|
125
126
|
/**
|
|
126
|
-
* Fires when the user paste content into the Editor ([see example](
|
|
127
|
+
* Fires when the user paste content into the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
|
|
127
128
|
* This event is preventable. If you cancel it, the Editor content does not change.
|
|
128
129
|
*/
|
|
129
130
|
paste: EventEmitter<EditorPasteEvent>;
|
|
130
131
|
/**
|
|
131
|
-
* Fires when the Editor content area is blurred ([see example](
|
|
132
|
+
* Fires when the Editor content area is blurred ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
|
|
132
133
|
*/
|
|
133
134
|
onBlur: EventEmitter<undefined>;
|
|
134
135
|
hostClass: boolean;
|
|
@@ -152,7 +153,7 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
152
153
|
/**
|
|
153
154
|
* @hidden
|
|
154
155
|
*/
|
|
155
|
-
licenseMessage?:
|
|
156
|
+
licenseMessage?: LicenseMessage;
|
|
156
157
|
get toolbar(): ToolBarComponent;
|
|
157
158
|
get toolbarElement(): ElementRef;
|
|
158
159
|
/**
|
|
@@ -161,7 +162,7 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
161
162
|
*/
|
|
162
163
|
get view(): EditorView;
|
|
163
164
|
/**
|
|
164
|
-
* Returns the text currently selected in the Editor ([see example](
|
|
165
|
+
* Returns the text currently selected in the Editor ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/selection#retrieve-the-selected-text)).
|
|
165
166
|
*/
|
|
166
167
|
get selectionText(): string;
|
|
167
168
|
/**
|
|
@@ -218,7 +219,7 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
218
219
|
iframeOnLoad(): void;
|
|
219
220
|
/**
|
|
220
221
|
* Executes a command on the currently selected text
|
|
221
|
-
* ([more information and example](
|
|
222
|
+
* ([more information and example](https://www.telerik.com/kendo-angular-ui/components/editor/tools#associating-toolbar-tools-with-editor-commands)).
|
|
222
223
|
*
|
|
223
224
|
* @param {EditorCommand} commandName - The command that will be executed.
|
|
224
225
|
* @param {any} attr - Optional parameters for the command.
|