@progress/kendo-angular-editor 22.1.0-develop.9 → 23.0.0-develop.10
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 +13 -13
- package/fesm2022/progress-kendo-angular-editor.mjs +63 -63
- package/localization/custom-messages.component.d.ts +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +16 -16
- 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
|
@@ -22,7 +22,7 @@ import { EditorPasteEvent } from './preventable-events/paste-event';
|
|
|
22
22
|
import { EditorCssSettings } from './common/css-settings.interface';
|
|
23
23
|
import * as i0 from "@angular/core";
|
|
24
24
|
/**
|
|
25
|
-
* 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).
|
|
26
26
|
*
|
|
27
27
|
* Use the Editor to create and edit rich text content in your Angular applications.
|
|
28
28
|
*
|
|
@@ -43,13 +43,13 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
43
43
|
private toolsService;
|
|
44
44
|
private renderer;
|
|
45
45
|
/**
|
|
46
|
-
* 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)).
|
|
47
47
|
* Use this property to update the Editor content programmatically.
|
|
48
48
|
*/
|
|
49
49
|
set value(value: string);
|
|
50
50
|
get value(): string;
|
|
51
51
|
/**
|
|
52
|
-
* 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).
|
|
53
53
|
*/
|
|
54
54
|
set disabled(value: boolean);
|
|
55
55
|
get disabled(): boolean;
|
|
@@ -79,13 +79,13 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
79
79
|
*/
|
|
80
80
|
applyToWord: boolean | ApplyToWordOptions;
|
|
81
81
|
/**
|
|
82
|
-
* 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)).
|
|
83
83
|
*/
|
|
84
84
|
set schema(value: Schema);
|
|
85
85
|
get schema(): Schema;
|
|
86
86
|
/**
|
|
87
87
|
* Defines a function to customize the plugins used by the Editor.
|
|
88
|
-
* 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)).
|
|
89
89
|
*/
|
|
90
90
|
set plugins(fn: PluginsFn);
|
|
91
91
|
get plugins(): PluginsFn;
|
|
@@ -103,12 +103,12 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
103
103
|
*/
|
|
104
104
|
preserveWhitespace: boolean | 'full';
|
|
105
105
|
/**
|
|
106
|
-
* 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)).
|
|
107
107
|
* Use this property to remove unwanted HTML, styles, or attributes from pasted content.
|
|
108
108
|
*/
|
|
109
109
|
pasteCleanupSettings: PasteCleanupSettings;
|
|
110
110
|
/**
|
|
111
|
-
* 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)).
|
|
112
112
|
* Set to `true` or provide an object with resizing options.
|
|
113
113
|
* @default false
|
|
114
114
|
*/
|
|
@@ -116,20 +116,20 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
116
116
|
/**
|
|
117
117
|
* Fires when the Editor value changes due to user interaction.
|
|
118
118
|
* This event does not fire when the value changes programmatically through `ngModel` or form bindings
|
|
119
|
-
* ([see example](
|
|
119
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/events)).
|
|
120
120
|
*/
|
|
121
121
|
valueChange: EventEmitter<string>;
|
|
122
122
|
/**
|
|
123
|
-
* 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)).
|
|
124
124
|
*/
|
|
125
125
|
onFocus: EventEmitter<undefined>;
|
|
126
126
|
/**
|
|
127
|
-
* 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)).
|
|
128
128
|
* This event is preventable. If you cancel it, the Editor content does not change.
|
|
129
129
|
*/
|
|
130
130
|
paste: EventEmitter<EditorPasteEvent>;
|
|
131
131
|
/**
|
|
132
|
-
* 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)).
|
|
133
133
|
*/
|
|
134
134
|
onBlur: EventEmitter<undefined>;
|
|
135
135
|
hostClass: boolean;
|
|
@@ -162,7 +162,7 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
162
162
|
*/
|
|
163
163
|
get view(): EditorView;
|
|
164
164
|
/**
|
|
165
|
-
* 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)).
|
|
166
166
|
*/
|
|
167
167
|
get selectionText(): string;
|
|
168
168
|
/**
|
|
@@ -219,7 +219,7 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
219
219
|
iframeOnLoad(): void;
|
|
220
220
|
/**
|
|
221
221
|
* Executes a command on the currently selected text
|
|
222
|
-
* ([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)).
|
|
223
223
|
*
|
|
224
224
|
* @param {EditorCommand} commandName - The command that will be executed.
|
|
225
225
|
* @param {any} attr - Optional parameters for the command.
|