@progress/kendo-angular-editor 19.2.0-develop.9 → 19.2.0
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/README.md +6 -3
- package/esm2022/dialogs/colorpicker-dialog.component.mjs +1 -1
- package/esm2022/dialogs/file-link-dialog.component.mjs +0 -2
- package/esm2022/dialogs/source-dialog.component.mjs +0 -1
- package/esm2022/editor.component.mjs +2 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/tools/colorpicker/editor-colorpicker.component.mjs +1 -1
- package/esm2022/tools/tables/editor-insert-table-button.component.mjs +2 -9
- package/fesm2022/progress-kendo-angular-editor.mjs +8 -19
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +4 -4
- package/tools/tables/editor-insert-table-button.component.d.ts +0 -4
package/README.md
CHANGED
|
@@ -4,9 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
## Kendo UI for Angular Editor Component
|
|
6
6
|
|
|
7
|
-
> * This package is part of [Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui)—a commercial
|
|
8
|
-
> *
|
|
9
|
-
> *
|
|
7
|
+
> * This package is part of [Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui/)—a commercial UI library.
|
|
8
|
+
> * To use this package, you must install a license key file, whether you are on a paid license or a 30-day free trial. To receive a license key, either [purchase a license](https://www.telerik.com/purchase/kendo-ui) or start a [free trial](https://www.telerik.com/download-login-v2-kendo-angular-ui).
|
|
9
|
+
> * Adding a valid license key file ensures a seamless experience during the trial period—no watermarks, no warnings, and full access to all components and features.
|
|
10
|
+
> * Trial users can register for a free license key file. Without it, your trial may be interrupted by visual indicators or functionality limitations.
|
|
11
|
+
> * Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Angular team!
|
|
12
|
+
> * Learn more: https://www.telerik.com/kendo-angular-ui/components/licensing
|
|
10
13
|
>
|
|
11
14
|
> [Start using Kendo UI for Angular](https://www.telerik.com/download-login-v2-kendo-angular-ui) and speed up your development process!
|
|
12
15
|
|
|
@@ -38,7 +38,7 @@ export class ColorPickerDialogComponent extends DialogContentBase {
|
|
|
38
38
|
this.value = event.color;
|
|
39
39
|
}
|
|
40
40
|
handleClearButtonClick() {
|
|
41
|
-
this.editor.exec(this.editorCommand
|
|
41
|
+
this.editor.exec(this.editorCommand);
|
|
42
42
|
}
|
|
43
43
|
onCancelAction() {
|
|
44
44
|
this.dialog.close();
|
|
@@ -53,8 +53,6 @@ export class FileLinkDialogComponent extends DialogContentBase {
|
|
|
53
53
|
}
|
|
54
54
|
const linkMark = getMark(state, state.schema.marks['link']);
|
|
55
55
|
if (linkMark) {
|
|
56
|
-
// const linkMarkRange = getMarkRange(state.selection.$cursor, schema.marks.link);
|
|
57
|
-
// const mark = parentNode.child(cursorNodeIndex).marks.find(m => m.type === markType);
|
|
58
56
|
this.linkForm.reset({
|
|
59
57
|
href: linkMark.attrs['href'],
|
|
60
58
|
title: linkMark.attrs['title'],
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ViewChild, Input } from '@angular/core';
|
|
6
|
-
// import { EditorService } from '../editor.service';
|
|
7
6
|
import { DialogRef, DialogContentBase, DialogActionsComponent, DialogTitleBarComponent } from '@progress/kendo-angular-dialog';
|
|
8
7
|
import { TextAreaComponent } from '@progress/kendo-angular-inputs';
|
|
9
8
|
import { EditorLocalizationService } from '../localization/editor-localization.service';
|
|
@@ -825,10 +825,8 @@ export class EditorComponent {
|
|
|
825
825
|
element.style.width = resizable.maxWidth + 'px';
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
|
-
else {
|
|
829
|
-
|
|
830
|
-
element.style.height = resizable.maxHeight + 'px';
|
|
831
|
-
}
|
|
828
|
+
else if (pixelHeight > resizable.maxHeight) {
|
|
829
|
+
element.style.height = resizable.maxHeight + 'px';
|
|
832
830
|
}
|
|
833
831
|
});
|
|
834
832
|
}
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '19.2.0
|
|
13
|
+
publishDate: 1751463372,
|
|
14
|
+
version: '19.2.0',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -153,7 +153,7 @@ export class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
153
153
|
* @hidden
|
|
154
154
|
*/
|
|
155
155
|
handleClearButtonClick() {
|
|
156
|
-
this.editor.exec(this.editorCommand
|
|
156
|
+
this.editor.exec(this.editorCommand);
|
|
157
157
|
if (this.activeView === 'palette') {
|
|
158
158
|
this.editor.view.focus();
|
|
159
159
|
}
|
|
@@ -157,13 +157,6 @@ export class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
|
157
157
|
this.tabIndex = -1;
|
|
158
158
|
return false;
|
|
159
159
|
}
|
|
160
|
-
/**
|
|
161
|
-
* @hidden
|
|
162
|
-
*/
|
|
163
|
-
onTableWizardClick() {
|
|
164
|
-
// this.toggle(false);
|
|
165
|
-
// this.editor.openDialog("tableWizard");
|
|
166
|
-
}
|
|
167
160
|
createPopup() {
|
|
168
161
|
const horizontalAlign = this.editor.direction === 'rtl' ? 'right' : 'left';
|
|
169
162
|
const anchorPosition = { horizontal: horizontalAlign, vertical: 'bottom' };
|
|
@@ -223,7 +216,7 @@ export class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
|
223
216
|
</div>
|
|
224
217
|
</ng-template>
|
|
225
218
|
<ng-template #popupGridTemplate>
|
|
226
|
-
<kendo-popup-table-grid (cellClick)="onCellClick($event)"
|
|
219
|
+
<kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
|
|
227
220
|
</ng-template>
|
|
228
221
|
<ng-template #sectionTemplate>
|
|
229
222
|
<button
|
|
@@ -278,7 +271,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
278
271
|
</div>
|
|
279
272
|
</ng-template>
|
|
280
273
|
<ng-template #popupGridTemplate>
|
|
281
|
-
<kendo-popup-table-grid (cellClick)="onCellClick($event)"
|
|
274
|
+
<kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
|
|
282
275
|
</ng-template>
|
|
283
276
|
<ng-template #sectionTemplate>
|
|
284
277
|
<button
|
|
@@ -36,8 +36,8 @@ const packageMetadata = {
|
|
|
36
36
|
productName: 'Kendo UI for Angular',
|
|
37
37
|
productCode: 'KENDOUIANGULAR',
|
|
38
38
|
productCodes: ['KENDOUIANGULAR'],
|
|
39
|
-
publishDate:
|
|
40
|
-
version: '19.2.0
|
|
39
|
+
publishDate: 1751463372,
|
|
40
|
+
version: '19.2.0',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -1011,8 +1011,6 @@ class FileLinkDialogComponent extends DialogContentBase {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
const linkMark = getMark(state, state.schema.marks['link']);
|
|
1013
1013
|
if (linkMark) {
|
|
1014
|
-
// const linkMarkRange = getMarkRange(state.selection.$cursor, schema.marks.link);
|
|
1015
|
-
// const mark = parentNode.child(cursorNodeIndex).marks.find(m => m.type === markType);
|
|
1016
1014
|
this.linkForm.reset({
|
|
1017
1015
|
href: linkMark.attrs['href'],
|
|
1018
1016
|
title: linkMark.attrs['title'],
|
|
@@ -3922,10 +3920,8 @@ class EditorComponent {
|
|
|
3922
3920
|
element.style.width = resizable.maxWidth + 'px';
|
|
3923
3921
|
}
|
|
3924
3922
|
}
|
|
3925
|
-
else {
|
|
3926
|
-
|
|
3927
|
-
element.style.height = resizable.maxHeight + 'px';
|
|
3928
|
-
}
|
|
3923
|
+
else if (pixelHeight > resizable.maxHeight) {
|
|
3924
|
+
element.style.height = resizable.maxHeight + 'px';
|
|
3929
3925
|
}
|
|
3930
3926
|
});
|
|
3931
3927
|
}
|
|
@@ -5382,7 +5378,7 @@ class ColorPickerDialogComponent extends DialogContentBase {
|
|
|
5382
5378
|
this.value = event.color;
|
|
5383
5379
|
}
|
|
5384
5380
|
handleClearButtonClick() {
|
|
5385
|
-
this.editor.exec(this.editorCommand
|
|
5381
|
+
this.editor.exec(this.editorCommand);
|
|
5386
5382
|
}
|
|
5387
5383
|
onCancelAction() {
|
|
5388
5384
|
this.dialog.close();
|
|
@@ -5619,7 +5615,7 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
5619
5615
|
* @hidden
|
|
5620
5616
|
*/
|
|
5621
5617
|
handleClearButtonClick() {
|
|
5622
|
-
this.editor.exec(this.editorCommand
|
|
5618
|
+
this.editor.exec(this.editorCommand);
|
|
5623
5619
|
if (this.activeView === 'palette') {
|
|
5624
5620
|
this.editor.view.focus();
|
|
5625
5621
|
}
|
|
@@ -6155,13 +6151,6 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
|
6155
6151
|
this.tabIndex = -1;
|
|
6156
6152
|
return false;
|
|
6157
6153
|
}
|
|
6158
|
-
/**
|
|
6159
|
-
* @hidden
|
|
6160
|
-
*/
|
|
6161
|
-
onTableWizardClick() {
|
|
6162
|
-
// this.toggle(false);
|
|
6163
|
-
// this.editor.openDialog("tableWizard");
|
|
6164
|
-
}
|
|
6165
6154
|
createPopup() {
|
|
6166
6155
|
const horizontalAlign = this.editor.direction === 'rtl' ? 'right' : 'left';
|
|
6167
6156
|
const anchorPosition = { horizontal: horizontalAlign, vertical: 'bottom' };
|
|
@@ -6221,7 +6210,7 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
|
|
|
6221
6210
|
</div>
|
|
6222
6211
|
</ng-template>
|
|
6223
6212
|
<ng-template #popupGridTemplate>
|
|
6224
|
-
<kendo-popup-table-grid (cellClick)="onCellClick($event)"
|
|
6213
|
+
<kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
|
|
6225
6214
|
</ng-template>
|
|
6226
6215
|
<ng-template #sectionTemplate>
|
|
6227
6216
|
<button
|
|
@@ -6276,7 +6265,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6276
6265
|
</div>
|
|
6277
6266
|
</ng-template>
|
|
6278
6267
|
<ng-template #popupGridTemplate>
|
|
6279
|
-
<kendo-popup-table-grid (cellClick)="onCellClick($event)"
|
|
6268
|
+
<kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
|
|
6280
6269
|
</ng-template>
|
|
6281
6270
|
<ng-template #sectionTemplate>
|
|
6282
6271
|
<button
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-editor",
|
|
3
|
-
"version": "19.2.0
|
|
3
|
+
"version": "19.2.0",
|
|
4
4
|
"description": "Kendo UI Editor for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"package": {
|
|
18
18
|
"productName": "Kendo UI for Angular",
|
|
19
19
|
"productCode": "KENDOUIANGULAR",
|
|
20
|
-
"publishDate":
|
|
20
|
+
"publishDate": 1751463372,
|
|
21
21
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -29,23 +29,23 @@
|
|
|
29
29
|
"@angular/platform-browser": "16 - 20",
|
|
30
30
|
"@progress/kendo-drawing": "^1.21.0",
|
|
31
31
|
"@progress/kendo-licensing": "^1.5.0",
|
|
32
|
-
"@progress/kendo-angular-buttons": "19.2.0
|
|
33
|
-
"@progress/kendo-angular-common": "19.2.0
|
|
34
|
-
"@progress/kendo-angular-dialog": "19.2.0
|
|
35
|
-
"@progress/kendo-angular-dropdowns": "19.2.0
|
|
36
|
-
"@progress/kendo-angular-inputs": "19.2.0
|
|
37
|
-
"@progress/kendo-angular-intl": "19.2.0
|
|
38
|
-
"@progress/kendo-angular-l10n": "19.2.0
|
|
39
|
-
"@progress/kendo-angular-label": "19.2.0
|
|
40
|
-
"@progress/kendo-angular-layout": "19.2.0
|
|
41
|
-
"@progress/kendo-angular-icons": "19.2.0
|
|
42
|
-
"@progress/kendo-angular-popup": "19.2.0
|
|
43
|
-
"@progress/kendo-angular-toolbar": "19.2.0
|
|
32
|
+
"@progress/kendo-angular-buttons": "19.2.0",
|
|
33
|
+
"@progress/kendo-angular-common": "19.2.0",
|
|
34
|
+
"@progress/kendo-angular-dialog": "19.2.0",
|
|
35
|
+
"@progress/kendo-angular-dropdowns": "19.2.0",
|
|
36
|
+
"@progress/kendo-angular-inputs": "19.2.0",
|
|
37
|
+
"@progress/kendo-angular-intl": "19.2.0",
|
|
38
|
+
"@progress/kendo-angular-l10n": "19.2.0",
|
|
39
|
+
"@progress/kendo-angular-label": "19.2.0",
|
|
40
|
+
"@progress/kendo-angular-layout": "19.2.0",
|
|
41
|
+
"@progress/kendo-angular-icons": "19.2.0",
|
|
42
|
+
"@progress/kendo-angular-popup": "19.2.0",
|
|
43
|
+
"@progress/kendo-angular-toolbar": "19.2.0",
|
|
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": "19.2.0
|
|
48
|
+
"@progress/kendo-angular-schematics": "19.2.0",
|
|
49
49
|
"@progress/kendo-editor-common": "1.12.3"
|
|
50
50
|
},
|
|
51
51
|
"schematics": "./schematics/collection.json",
|
|
@@ -4,12 +4,12 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'EditorModule', package: 'editor', peerDependencies: {
|
|
6
6
|
// peer dependencies of kendo-angular-dropdowns
|
|
7
|
-
'@progress/kendo-angular-navigation': '19.2.0
|
|
8
|
-
'@progress/kendo-angular-treeview': '19.2.0
|
|
7
|
+
'@progress/kendo-angular-navigation': '19.2.0',
|
|
8
|
+
'@progress/kendo-angular-treeview': '19.2.0',
|
|
9
9
|
// peer dependency of kendo-angular-layout
|
|
10
|
-
'@progress/kendo-angular-progressbar': '19.2.0
|
|
10
|
+
'@progress/kendo-angular-progressbar': '19.2.0',
|
|
11
11
|
// peer dependency of kendo-angular-inputs
|
|
12
|
-
'@progress/kendo-angular-dialog': '19.2.0
|
|
12
|
+
'@progress/kendo-angular-dialog': '19.2.0',
|
|
13
13
|
// Peer dependency of icons
|
|
14
14
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
15
15
|
} });
|
|
@@ -79,10 +79,6 @@ export declare class EditorInsertTableButtonComponent extends ToolBarToolCompone
|
|
|
79
79
|
* @hidden
|
|
80
80
|
*/
|
|
81
81
|
handleKey(ev: any): boolean;
|
|
82
|
-
/**
|
|
83
|
-
* @hidden
|
|
84
|
-
*/
|
|
85
|
-
onTableWizardClick(): void;
|
|
86
82
|
private createPopup;
|
|
87
83
|
private destroyPopup;
|
|
88
84
|
private getButton;
|