@progress/kendo-angular-editor 19.1.2-develop.2 → 19.1.2-develop.4
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 +12 -6
- package/common/commands.d.ts +7 -6
- package/common/css-settings.interface.d.ts +13 -4
- package/common/font-family-item.interface.d.ts +11 -3
- package/common/font-size-item.interface.d.ts +11 -3
- package/common/format-item.interface.d.ts +11 -3
- package/common/paste-cleanup-settings.d.ts +29 -24
- package/common/plugins-function.d.ts +7 -6
- package/common/resizable-options.interface.d.ts +15 -5
- package/directives.d.ts +1 -1
- package/editor.component.d.ts +36 -27
- package/editor.module.d.ts +5 -4
- package/esm2022/common/error-messages.mjs +1 -1
- package/esm2022/directives.mjs +1 -1
- package/esm2022/editor.component.mjs +36 -27
- package/esm2022/editor.module.mjs +5 -4
- package/esm2022/localization/custom-messages.component.mjs +10 -1
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/preventable-events/paste-event.mjs +4 -4
- package/esm2022/tools/alignment/editor-align-center-button.directive.mjs +3 -3
- package/esm2022/tools/alignment/editor-align-justify-button.directive.mjs +3 -3
- package/esm2022/tools/alignment/editor-align-left-button.directive.mjs +3 -3
- package/esm2022/tools/alignment/editor-align-right-button.directive.mjs +3 -3
- package/esm2022/tools/blockquote/editor-blockquote-button.directive.mjs +2 -3
- package/esm2022/tools/colorpicker/editor-back-color.directive.mjs +3 -4
- package/esm2022/tools/colorpicker/editor-colorpicker.component.mjs +20 -10
- package/esm2022/tools/colorpicker/editor-fore-color.directive.mjs +3 -4
- package/esm2022/tools/editor-clean-formatting-button.directive.mjs +3 -3
- package/esm2022/tools/fontfamily/editor-fontfamily.component.mjs +4 -5
- package/esm2022/tools/fontsize/editor-fontsize.component.mjs +6 -6
- package/esm2022/tools/format/editor-format.component.mjs +6 -6
- package/esm2022/tools/history/editor-redo-button.directive.mjs +3 -3
- package/esm2022/tools/history/editor-undo-button.directive.mjs +3 -3
- package/esm2022/tools/image/editor-insert-image-button.directive.mjs +2 -2
- package/esm2022/tools/indentation/editor-indent-button.directive.mjs +3 -4
- package/esm2022/tools/indentation/editor-outdent-button.directive.mjs +3 -4
- package/esm2022/tools/link/editor-create-link-button.directive.mjs +3 -4
- package/esm2022/tools/link/editor-insert-file-button.directive.mjs +2 -3
- package/esm2022/tools/link/editor-unlink-button.directive.mjs +3 -4
- package/esm2022/tools/list/editor-insert-ordered-list-button.directive.mjs +3 -4
- package/esm2022/tools/list/editor-insert-unordered-list-button.directive.mjs +3 -3
- package/esm2022/tools/print/editor-print-button.directive.mjs +3 -3
- package/esm2022/tools/select-all/select-all-button.directive.mjs +2 -2
- package/esm2022/tools/source/editor-view-source-button.directive.mjs +2 -2
- package/esm2022/tools/tables/editor-add-column-after-button.directive.mjs +3 -3
- package/esm2022/tools/tables/editor-add-column-before-button.directive.mjs +3 -3
- package/esm2022/tools/tables/editor-add-row-after-button.directive.mjs +3 -3
- package/esm2022/tools/tables/editor-add-row-before-button.directive.mjs +3 -3
- package/esm2022/tools/tables/editor-delete-column-button.directive.mjs +3 -3
- package/esm2022/tools/tables/editor-delete-row-button.directive.mjs +3 -3
- package/esm2022/tools/tables/editor-delete-table-button.directive.mjs +3 -3
- package/esm2022/tools/tables/editor-insert-table-button.component.mjs +3 -1
- package/esm2022/tools/tables/editor-merge-cells-button.directive.mjs +4 -4
- package/esm2022/tools/tables/editor-split-cell-button.directive.mjs +4 -4
- package/esm2022/tools/typographical-emphasis/editor-bold-button.directive.mjs +3 -3
- package/esm2022/tools/typographical-emphasis/editor-italic-button.directive.mjs +3 -3
- package/esm2022/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +3 -3
- package/esm2022/tools/typographical-emphasis/editor-subscript-button.directive.mjs +3 -3
- package/esm2022/tools/typographical-emphasis/editor-superscript-button.directive.mjs +3 -3
- package/esm2022/tools/typographical-emphasis/editor-underline-button.directive.mjs +3 -3
- package/esm2022/util.mjs +7 -6
- package/fesm2022/progress-kendo-angular-editor.mjs +210 -188
- package/localization/custom-messages.component.d.ts +10 -1
- package/package.json +15 -15
- package/preventable-events/paste-event.d.ts +4 -4
- package/schematics/ngAdd/index.js +4 -4
- package/tools/alignment/editor-align-center-button.directive.d.ts +3 -3
- package/tools/alignment/editor-align-justify-button.directive.d.ts +3 -3
- package/tools/alignment/editor-align-left-button.directive.d.ts +3 -3
- package/tools/alignment/editor-align-right-button.directive.d.ts +3 -3
- package/tools/blockquote/editor-blockquote-button.directive.d.ts +2 -3
- package/tools/colorpicker/editor-back-color.directive.d.ts +3 -4
- package/tools/colorpicker/editor-colorpicker.component.d.ts +20 -10
- package/tools/colorpicker/editor-fore-color.directive.d.ts +3 -4
- package/tools/editor-clean-formatting-button.directive.d.ts +3 -3
- package/tools/fontfamily/editor-fontfamily.component.d.ts +4 -5
- package/tools/fontsize/editor-fontsize.component.d.ts +6 -6
- package/tools/format/editor-format.component.d.ts +6 -6
- package/tools/history/editor-redo-button.directive.d.ts +3 -3
- package/tools/history/editor-undo-button.directive.d.ts +3 -3
- package/tools/image/editor-insert-image-button.directive.d.ts +2 -2
- package/tools/indentation/editor-indent-button.directive.d.ts +3 -4
- package/tools/indentation/editor-outdent-button.directive.d.ts +3 -4
- package/tools/link/editor-create-link-button.directive.d.ts +3 -4
- package/tools/link/editor-insert-file-button.directive.d.ts +2 -3
- package/tools/link/editor-unlink-button.directive.d.ts +3 -4
- package/tools/list/editor-insert-ordered-list-button.directive.d.ts +3 -4
- package/tools/list/editor-insert-unordered-list-button.directive.d.ts +3 -3
- package/tools/print/editor-print-button.directive.d.ts +3 -3
- package/tools/select-all/select-all-button.directive.d.ts +2 -2
- package/tools/source/editor-view-source-button.directive.d.ts +2 -2
- package/tools/tables/editor-add-column-after-button.directive.d.ts +3 -3
- package/tools/tables/editor-add-column-before-button.directive.d.ts +3 -3
- package/tools/tables/editor-add-row-after-button.directive.d.ts +3 -3
- package/tools/tables/editor-add-row-before-button.directive.d.ts +3 -3
- package/tools/tables/editor-delete-column-button.directive.d.ts +3 -3
- package/tools/tables/editor-delete-row-button.directive.d.ts +3 -3
- package/tools/tables/editor-delete-table-button.directive.d.ts +3 -3
- package/tools/tables/editor-insert-table-button.component.d.ts +3 -1
- package/tools/tables/editor-merge-cells-button.directive.d.ts +4 -4
- package/tools/tables/editor-split-cell-button.directive.d.ts +4 -4
- package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +3 -3
- package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +3 -3
- package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +3 -3
- package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +3 -3
- package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +3 -3
- package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +3 -3
- package/util.d.ts +7 -6
|
@@ -6,8 +6,17 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
6
6
|
import { MessagesDirective } from './messages';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Use this component to override the default component messages
|
|
10
10
|
* ([see example]({% slug globalization_editor %}#toc-custom-messages)).
|
|
11
|
+
* @example
|
|
12
|
+
* ```html
|
|
13
|
+
* <kendo-editor>
|
|
14
|
+
* <kendo-editor-messages
|
|
15
|
+
* bold="Custom Bold"
|
|
16
|
+
* italic="Custom Italic">
|
|
17
|
+
* </kendo-editor-messages>
|
|
18
|
+
* </kendo-editor>
|
|
19
|
+
* ```
|
|
11
20
|
*/
|
|
12
21
|
export declare class CustomMessagesComponent extends MessagesDirective {
|
|
13
22
|
protected service: LocalizationService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-editor",
|
|
3
|
-
"version": "19.1.2-develop.
|
|
3
|
+
"version": "19.1.2-develop.4",
|
|
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": 1750157253,
|
|
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.1.2-develop.
|
|
33
|
-
"@progress/kendo-angular-common": "19.1.2-develop.
|
|
34
|
-
"@progress/kendo-angular-dialog": "19.1.2-develop.
|
|
35
|
-
"@progress/kendo-angular-dropdowns": "19.1.2-develop.
|
|
36
|
-
"@progress/kendo-angular-inputs": "19.1.2-develop.
|
|
37
|
-
"@progress/kendo-angular-intl": "19.1.2-develop.
|
|
38
|
-
"@progress/kendo-angular-l10n": "19.1.2-develop.
|
|
39
|
-
"@progress/kendo-angular-label": "19.1.2-develop.
|
|
40
|
-
"@progress/kendo-angular-layout": "19.1.2-develop.
|
|
41
|
-
"@progress/kendo-angular-icons": "19.1.2-develop.
|
|
42
|
-
"@progress/kendo-angular-popup": "19.1.2-develop.
|
|
43
|
-
"@progress/kendo-angular-toolbar": "19.1.2-develop.
|
|
32
|
+
"@progress/kendo-angular-buttons": "19.1.2-develop.4",
|
|
33
|
+
"@progress/kendo-angular-common": "19.1.2-develop.4",
|
|
34
|
+
"@progress/kendo-angular-dialog": "19.1.2-develop.4",
|
|
35
|
+
"@progress/kendo-angular-dropdowns": "19.1.2-develop.4",
|
|
36
|
+
"@progress/kendo-angular-inputs": "19.1.2-develop.4",
|
|
37
|
+
"@progress/kendo-angular-intl": "19.1.2-develop.4",
|
|
38
|
+
"@progress/kendo-angular-l10n": "19.1.2-develop.4",
|
|
39
|
+
"@progress/kendo-angular-label": "19.1.2-develop.4",
|
|
40
|
+
"@progress/kendo-angular-layout": "19.1.2-develop.4",
|
|
41
|
+
"@progress/kendo-angular-icons": "19.1.2-develop.4",
|
|
42
|
+
"@progress/kendo-angular-popup": "19.1.2-develop.4",
|
|
43
|
+
"@progress/kendo-angular-toolbar": "19.1.2-develop.4",
|
|
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.1.2-develop.
|
|
48
|
+
"@progress/kendo-angular-schematics": "19.1.2-develop.4",
|
|
49
49
|
"@progress/kendo-editor-common": "1.12.3"
|
|
50
50
|
},
|
|
51
51
|
"schematics": "./schematics/collection.json",
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from "./preventable-event";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Fires when the Editor [`paste`]({% slug api_editor_editorcomponent %}#toc-paste) event occurs.
|
|
8
8
|
*/
|
|
9
9
|
export declare class EditorPasteEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Contains the HTML content cleaned according to the [`PasteCleanupSettings`]({% slug paste_cleanup %}).
|
|
12
12
|
*/
|
|
13
13
|
cleanedHtml: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Contains the raw pasted content.
|
|
16
16
|
*/
|
|
17
17
|
originalHtml: string;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Contains the original DOM event.
|
|
20
20
|
*/
|
|
21
21
|
originalEvent: ClipboardEvent;
|
|
22
22
|
/**
|
|
@@ -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.1.2-develop.
|
|
8
|
-
'@progress/kendo-angular-treeview': '19.1.2-develop.
|
|
7
|
+
'@progress/kendo-angular-navigation': '19.1.2-develop.4',
|
|
8
|
+
'@progress/kendo-angular-treeview': '19.1.2-develop.4',
|
|
9
9
|
// peer dependency of kendo-angular-layout
|
|
10
|
-
'@progress/kendo-angular-progressbar': '19.1.2-develop.
|
|
10
|
+
'@progress/kendo-angular-progressbar': '19.1.2-develop.4',
|
|
11
11
|
// peer dependency of kendo-angular-inputs
|
|
12
|
-
'@progress/kendo-angular-dialog': '19.1.2-develop.
|
|
12
|
+
'@progress/kendo-angular-dialog': '19.1.2-develop.4',
|
|
13
13
|
// Peer dependency of icons
|
|
14
14
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
15
15
|
} });
|
|
@@ -9,10 +9,10 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Use this directive to turn a ToolBarButtonComponent into an Editor **AlignCenter** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
* The directive
|
|
15
|
-
*
|
|
14
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
15
|
+
* It also updates the `selected` state of the button based on the cursor position in the editing area.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html
|
|
@@ -9,10 +9,10 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Use this directive to turn a ToolBarButtonComponent into an Editor **AlignJustify** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
* The directive
|
|
15
|
-
*
|
|
14
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
15
|
+
* It also updates the `selected` state of the button based on the cursor position in the editing area.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html
|
|
@@ -9,10 +9,10 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Use this directive to turn a ToolBarButtonComponent into an Editor **AlignLeft** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
* The directive
|
|
15
|
-
*
|
|
14
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
15
|
+
* It also updates the `selected` state of the button based on the cursor position in the editing area.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html
|
|
@@ -9,10 +9,10 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Use this directive to turn a ToolBarButtonComponent into an Editor **AlignRight** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
* The directive
|
|
15
|
-
*
|
|
14
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
15
|
+
* It also updates the `selected` state of the button based on the cursor position in the editing area.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html
|
|
@@ -9,9 +9,8 @@ import { EditorToolsService } from '../tools.service';
|
|
|
9
9
|
import { ProviderService } from '../../common/provider.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **Blockquote** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
13
|
+
* The directive predefines the SVG icon and `click` event handlers of the button.
|
|
15
14
|
*
|
|
16
15
|
* @example
|
|
17
16
|
* ```html
|
|
@@ -5,12 +5,11 @@
|
|
|
5
5
|
import { EditorColorPickerComponent } from './editor-colorpicker.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* for manipulating the background color of the text
|
|
10
|
-
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
8
|
+
* Configures an EditorColorPickerComponent for manipulating the background color of the text ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
11
9
|
*
|
|
10
|
+
* @example
|
|
12
11
|
* ```html
|
|
13
|
-
* <kendo-toolbar-colorpicker kendoEditorBackColor view="gradient"
|
|
12
|
+
* <kendo-toolbar-colorpicker kendoEditorBackColor view="gradient"></kendo-toolbar-colorpicker>
|
|
14
13
|
* ```
|
|
15
14
|
*/
|
|
16
15
|
export declare class EditorBackColorDirective {
|
|
@@ -11,45 +11,55 @@ import { EditorLocalizationService } from '../../localization/editor-localizatio
|
|
|
11
11
|
import { ProviderService } from '../../common/provider.service';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
14
|
+
* Configures a ColorPickerComponent as a ToolBar tool.
|
|
15
|
+
* Use this component to associate a `kendo-toolbar-colorpicker` with an Editor command that changes the foreground or background color of the text.
|
|
16
|
+
* Use the `kendoEditorForeColor` or `kendoEditorBackColor` directive ([more information]({% slug toolbartools_editor %}#toc-colorpickers)).
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```html
|
|
20
|
+
* <kendo-toolbar-colorpicker kendoEditorForeColor></kendo-toolbar-colorpicker>
|
|
21
|
+
* ```
|
|
17
22
|
*/
|
|
18
23
|
export declare class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
19
24
|
private localization;
|
|
20
25
|
private dialogService;
|
|
21
26
|
private ngZone;
|
|
22
27
|
private renderer;
|
|
28
|
+
/**
|
|
29
|
+
* Specifies the tab index of the component.
|
|
30
|
+
*
|
|
31
|
+
* @default -1
|
|
32
|
+
*/
|
|
23
33
|
tabindex: number;
|
|
24
34
|
/**
|
|
25
35
|
* Specifies the initial value of the color picker.
|
|
26
36
|
*/
|
|
27
37
|
value: string;
|
|
28
38
|
/**
|
|
29
|
-
* Specifies the Kendo UI font icon that
|
|
39
|
+
* Specifies the Kendo UI font icon that the component uses.
|
|
30
40
|
*/
|
|
31
41
|
icon: string;
|
|
32
42
|
/**
|
|
33
|
-
* Defines an SVGIcon to
|
|
34
|
-
* The input can take either an
|
|
43
|
+
* Defines an SVGIcon to render within the ColorPicker button.
|
|
44
|
+
* The input can take either an existing Kendo SVG icon or a custom one.
|
|
35
45
|
*/
|
|
36
46
|
svgIcon: SVGIcon;
|
|
37
47
|
/**
|
|
38
|
-
* Overrides the default
|
|
48
|
+
* Overrides the default color palette settings.
|
|
39
49
|
*/
|
|
40
50
|
paletteSettings: PaletteSettings;
|
|
41
51
|
/**
|
|
42
|
-
* Specifies the color-related command that
|
|
52
|
+
* Specifies the color-related command that the component executes.
|
|
43
53
|
*/
|
|
44
54
|
editorCommand: 'foreColor' | 'backColor';
|
|
45
55
|
/**
|
|
46
|
-
* Specifies if the component
|
|
56
|
+
* Specifies if the component is disabled.
|
|
47
57
|
*
|
|
48
58
|
* @default false
|
|
49
59
|
*/
|
|
50
60
|
disabled: boolean;
|
|
51
61
|
/**
|
|
52
|
-
* Specifies whether the ColorPicker
|
|
62
|
+
* Specifies whether the ColorPicker renders a gradient, palette, or both in its popup.
|
|
53
63
|
*
|
|
54
64
|
* @default ['palette']
|
|
55
65
|
*/
|
|
@@ -5,12 +5,11 @@
|
|
|
5
5
|
import { EditorColorPickerComponent } from './editor-colorpicker.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* for manipulating the foreground color of the text
|
|
10
|
-
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
8
|
+
* Configures an EditorColorPickerComponent for manipulating the foreground color of the text ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
11
9
|
*
|
|
10
|
+
* @example
|
|
12
11
|
* ```html
|
|
13
|
-
* <kendo-toolbar-colorpicker kendoEditorForeColor
|
|
12
|
+
* <kendo-toolbar-colorpicker kendoEditorForeColor></kendo-toolbar-colorpicker>
|
|
14
13
|
* ```
|
|
15
14
|
*/
|
|
16
15
|
export declare class EditorForeColorDirective {
|
|
@@ -9,9 +9,9 @@ import { ProviderService } from '../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from './tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
* A directive
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* A directive that configures a ToolBarButtonComponent as an Editor **Clean Formatting** tool.
|
|
13
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
14
|
+
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools))
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```html
|
|
@@ -13,13 +13,12 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
13
13
|
import { EditorToolsService } from '../tools.service';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* The component
|
|
19
|
-
* automatically defines the options of the drop-down list and sets its values ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
|
|
16
|
+
* Configures a DropDownListComponent as an Editor tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
17
|
+
* Use this component to associate a kendo-toolbar-dropdownlist with an Editor command that changes the font family of a content block.
|
|
18
|
+
* The component automatically sets the options and values of the drop-down list ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
|
|
20
19
|
*
|
|
21
20
|
* @example
|
|
22
|
-
* ```
|
|
21
|
+
* ```html
|
|
23
22
|
* <kendo-toolbar-dropdownlist kendoEditorFontFamily></kendo-toolbar-dropdownlist>
|
|
24
23
|
* ```
|
|
25
24
|
*/
|
|
@@ -14,13 +14,13 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
14
14
|
import { EditorToolsService } from '../tools.service';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* The component
|
|
20
|
-
*
|
|
17
|
+
* Configures a DropDownListComponent as an Editor tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
18
|
+
* Use this component to associate a `kendo-dropdownlist` with an Editor command that changes the font size of a content block.
|
|
19
|
+
* The component automatically sets the options and values of the drop-down list.
|
|
20
|
+
* ([see example]({% slug toolbartools_editor %}#toc-dropdownlists))
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
|
-
* ```
|
|
23
|
+
* ```html
|
|
24
24
|
* <kendo-toolbar-dropdownlist kendoEditorFontSize></kendo-toolbar-dropdownlist>
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
@@ -34,7 +34,7 @@ export declare class EditorFontSizeComponent extends ToolBarToolComponent {
|
|
|
34
34
|
tabindex: number;
|
|
35
35
|
/**
|
|
36
36
|
* Overrides the default font size list.
|
|
37
|
-
*
|
|
37
|
+
* Treat numeric values as pixels.
|
|
38
38
|
*/
|
|
39
39
|
set data(sizes: FontSizeItem[]);
|
|
40
40
|
get data(): FontSizeItem[];
|
|
@@ -14,13 +14,13 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
14
14
|
import { EditorToolsService } from '../tools.service';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Configures a DropDownListComponent as an Editor tool
|
|
18
18
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Associates a `kendo-dropdownlist` with an Editor command that changes the format of a content block.
|
|
20
|
+
* Automatically sets the options and values of the DropDownList ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
|
-
* ```
|
|
23
|
+
* ```html
|
|
24
24
|
* <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
@@ -35,12 +35,12 @@ export declare class EditorFormatComponent extends ToolBarToolComponent {
|
|
|
35
35
|
disabled: boolean;
|
|
36
36
|
tabindex: number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Sets the format items list. Use this property to override the default list.
|
|
39
39
|
*/
|
|
40
40
|
set data(formatItems: FormatItem[]);
|
|
41
41
|
get data(): FormatItem[];
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Emits when the value of the DropDownList changes.
|
|
44
44
|
*/
|
|
45
45
|
valueChange: EventEmitter<FormatItem>;
|
|
46
46
|
formatDropDownList: FormatDropDownListComponent;
|
|
@@ -9,10 +9,10 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **Redo** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* Sets the SVG icon and `click` event handlers of the button.
|
|
15
|
+
* Updates the `disabled` state of the button based on the cursor position in the editing area.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html
|
|
@@ -9,10 +9,10 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **Undo** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* Sets the SVG icon and `click` event handlers of the button.
|
|
15
|
+
* Updates the `disabled` state of the button based on the cursor position in the editing area.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html
|
|
@@ -9,9 +9,9 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Configures a `ToolBarButtonComponent` as an Editor **InsertImage** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
*
|
|
14
|
+
* Sets the SVG icon and `click` event handlers of the button.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```html
|
|
@@ -9,10 +9,9 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* The directive
|
|
15
|
-
* In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **Indent** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
13
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
14
|
+
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
17
|
* ```html
|
|
@@ -9,10 +9,9 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* The directive
|
|
15
|
-
* In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **Outdent** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
13
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
14
|
+
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
17
|
* ```html
|
|
@@ -9,10 +9,9 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* The directive
|
|
15
|
-
* In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **CreateLink** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
13
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
14
|
+
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
17
|
* ```html
|
|
@@ -9,9 +9,8 @@ import { ProviderService } from "../../common/provider.service";
|
|
|
9
9
|
import { EditorToolsService } from "../tools.service";
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **Insert File** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
13
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
15
14
|
*
|
|
16
15
|
* @example
|
|
17
16
|
* ```html
|
|
@@ -9,10 +9,9 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* The directive
|
|
15
|
-
* In addition, the directive updates the `disabled` state of the button according to the cursor position in the editing area.
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **Unlink** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
13
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
14
|
+
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
17
|
* ```html
|
|
@@ -9,10 +9,9 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* The directive
|
|
15
|
-
* In addition, the directive updates the `selected` state of the button according to the cursor position in the editing area.
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **InsertOrderedList** tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
13
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
14
|
+
* The directive also updates the `selected` state of the button based on the cursor position in the editing area.
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
17
|
* ```html
|
|
@@ -9,10 +9,10 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **InsertUnorderedList** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* This directive sets the SVG icon and `click` event handlers for the button.
|
|
15
|
+
* It also updates the `selected` state of the button based on the cursor position in the editing area.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html
|
|
@@ -9,11 +9,11 @@ import { EditorToolsService } from '../tools.service';
|
|
|
9
9
|
import { ProviderService } from '../../common/provider.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **Print** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
*
|
|
14
|
+
* This directive sets the SVG icon and `click` event handlers for the button.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
16
|
+
* The Editor Print tool works only in the default [`iframe`](slug:api_editor_editorcomponent#iframe) mode.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ```html
|
|
@@ -9,9 +9,9 @@ import { EditorToolsService } from '../tools.service';
|
|
|
9
9
|
import { ProviderService } from '../../common/provider.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **SelectAll** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
*
|
|
14
|
+
* This directive sets the SVG icon and `click` event handlers for the button.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```html
|
|
@@ -9,9 +9,9 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **ViewSource** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
* The directive
|
|
14
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```html
|
|
@@ -9,10 +9,10 @@ import { ProviderService } from '../../common/provider.service';
|
|
|
9
9
|
import { EditorToolsService } from '../tools.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Configures a ToolBarButtonComponent as an Editor **AddColumnAfter** tool
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
|
-
* The directive
|
|
15
|
-
*
|
|
14
|
+
* The directive sets the SVG icon and `click` event handlers for the button.
|
|
15
|
+
* The directive also updates the `disabled` state of the button based on the cursor position in the editing area.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html
|