@progress/kendo-angular-editor 4.2.0 → 11.0.0-develop.101
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/LICENSE.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +3 -3
- package/common/active-marks.d.ts +1 -1
- package/common/apply-to-word-options.d.ts +1 -1
- package/common/commands.d.ts +1 -1
- package/common/css-settings.interface.d.ts +1 -1
- package/common/direction.d.ts +1 -1
- package/common/error-messages.d.ts +1 -1
- package/common/font-family-item.interface.d.ts +1 -1
- package/common/font-size-item.interface.d.ts +1 -1
- package/common/format-item.interface.d.ts +1 -1
- package/common/image-data.interface.d.ts +1 -1
- package/common/link-data.interface.d.ts +1 -1
- package/common/paste-cleanup-settings.d.ts +1 -1
- package/common/plugins-function.d.ts +1 -1
- package/common/predicate.d.ts +1 -1
- package/common/provider.service.d.ts +1 -1
- package/common/resizable-options.interface.d.ts +1 -1
- package/common/styles.d.ts +1 -1
- package/common/table-data.interface.d.ts +1 -1
- package/config/command-icons.d.ts +1 -1
- package/config/commands.d.ts +1 -1
- package/config/schema.d.ts +1 -1
- package/config/semantic-nodes.d.ts +1 -1
- package/config/table-commands.d.ts +1 -1
- package/config/utils.d.ts +1 -1
- package/dialogs/colorpicker-dialog.component.d.ts +1 -1
- package/dialogs/file-link-dialog.component.d.ts +1 -1
- package/dialogs/font-family-dialog.component.d.ts +1 -1
- package/dialogs/font-size-dialog.component.d.ts +1 -1
- package/dialogs/format-dialog.component.d.ts +1 -1
- package/dialogs/image-dialog.component.d.ts +1 -1
- package/dialogs/insert-table-dialog.component.d.ts +1 -1
- package/dialogs/source-dialog.component.d.ts +1 -1
- package/editor-toolbar-state.d.ts +1 -1
- package/editor.component.d.ts +1 -1
- package/editor.module.d.ts +1 -1
- package/{esm2015/common/css-settings.interface.js → esm2020/common/active-marks.mjs} +1 -1
- package/{esm2015/common/active-marks.js → esm2020/common/apply-to-word-options.mjs} +1 -1
- package/{esm2015/common/apply-to-word-options.js → esm2020/common/commands.mjs} +1 -1
- package/{esm2015/common/commands.js → esm2020/common/css-settings.interface.mjs} +1 -1
- package/esm2020/common/direction.mjs +5 -0
- package/{esm2015/common/error-messages.js → esm2020/common/error-messages.mjs} +1 -1
- package/esm2020/common/font-family-item.interface.mjs +5 -0
- package/esm2020/common/font-size-item.interface.mjs +5 -0
- package/esm2020/common/format-item.interface.mjs +5 -0
- package/esm2020/common/image-data.interface.mjs +5 -0
- package/esm2020/common/link-data.interface.mjs +5 -0
- package/esm2020/common/paste-cleanup-settings.mjs +5 -0
- package/esm2020/common/plugins-function.mjs +5 -0
- package/esm2020/common/predicate.mjs +5 -0
- package/{esm2015/common/provider.service.js → esm2020/common/provider.service.mjs} +4 -4
- package/esm2020/common/resizable-options.interface.mjs +5 -0
- package/{esm2015/common/styles.js → esm2020/common/styles.mjs} +1 -1
- package/esm2020/common/table-data.interface.mjs +5 -0
- package/{esm2015/config/command-icons.js → esm2020/config/command-icons.mjs} +1 -1
- package/{esm2015/config/commands.js → esm2020/config/commands.mjs} +7 -7
- package/{esm2015/config/schema.js → esm2020/config/schema.mjs} +1 -1
- package/{esm2015/config/semantic-nodes.js → esm2020/config/semantic-nodes.mjs} +4 -2
- package/{esm2015/config/table-commands.js → esm2020/config/table-commands.mjs} +1 -1
- package/{esm2015/config/utils.js → esm2020/config/utils.mjs} +11 -7
- package/{esm2015/dialogs/colorpicker-dialog.component.js → esm2020/dialogs/colorpicker-dialog.component.mjs} +10 -8
- package/{esm2015/dialogs/file-link-dialog.component.js → esm2020/dialogs/file-link-dialog.component.mjs} +17 -16
- package/{esm2015/dialogs/font-family-dialog.component.js → esm2020/dialogs/font-family-dialog.component.mjs} +10 -8
- package/{esm2015/dialogs/font-size-dialog.component.js → esm2020/dialogs/font-size-dialog.component.mjs} +10 -8
- package/{esm2015/dialogs/format-dialog.component.js → esm2020/dialogs/format-dialog.component.mjs} +9 -8
- package/{esm2015/dialogs/image-dialog.component.js → esm2020/dialogs/image-dialog.component.mjs} +13 -12
- package/{esm2015/dialogs/insert-table-dialog.component.js → esm2020/dialogs/insert-table-dialog.component.mjs} +10 -8
- package/{esm2015/dialogs/source-dialog.component.js → esm2020/dialogs/source-dialog.component.mjs} +10 -16
- package/{esm2015/editor-toolbar-state.js → esm2020/editor-toolbar-state.mjs} +6 -6
- package/{esm2015/editor.component.js → esm2020/editor.component.mjs} +22 -31
- package/{esm2015/editor.module.js → esm2020/editor.module.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +3 -2
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/editor-localization.service.js → esm2020/localization/editor-localization.service.mjs} +5 -5
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/esm2020/preventable-events/paste-event-data.mjs +5 -0
- package/{esm2015/preventable-events/paste-event.js → esm2020/preventable-events/paste-event.mjs} +1 -1
- package/{esm2015/preventable-events/preventable-event.js → esm2020/preventable-events/preventable-event.mjs} +1 -1
- package/{esm2015/kendo-angular-editor.js → esm2020/progress-kendo-angular-editor.mjs} +2 -2
- package/{esm2015/tools/alignment/editor-align-center-button.directive.js → esm2020/tools/alignment/editor-align-center-button.directive.mjs} +8 -4
- package/{esm2015/tools/alignment/editor-align-justify-button.directive.js → esm2020/tools/alignment/editor-align-justify-button.directive.mjs} +8 -4
- package/{esm2015/tools/alignment/editor-align-left-button.directive.js → esm2020/tools/alignment/editor-align-left-button.directive.mjs} +8 -4
- package/{esm2015/tools/alignment/editor-align-right-button.directive.js → esm2020/tools/alignment/editor-align-right-button.directive.mjs} +8 -4
- package/{esm2015/tools/blockquote/editor-blockquote-button.directive.js → esm2020/tools/blockquote/editor-blockquote-button.directive.mjs} +8 -4
- package/{esm2015/tools/colorpicker/editor-back-color.directive.js → esm2020/tools/colorpicker/editor-back-color.directive.mjs} +5 -4
- package/{esm2015/tools/colorpicker/editor-colorpicker.component.js → esm2020/tools/colorpicker/editor-colorpicker.component.mjs} +9 -6
- package/{esm2015/tools/colorpicker/editor-fore-color.directive.js → esm2020/tools/colorpicker/editor-fore-color.directive.mjs} +5 -4
- package/{esm2015/tools/editor-clean-formatting-button.directive.js → esm2020/tools/editor-clean-formatting-button.directive.mjs} +8 -4
- package/{esm2015/tools/fontfamily/editor-fontfamily-dropdownlist.component.js → esm2020/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs} +9 -12
- package/{esm2015/tools/fontfamily/editor-fontfamily.component.js → esm2020/tools/fontfamily/editor-fontfamily.component.mjs} +12 -8
- package/{esm2015/tools/fontsize/editor-fontsize-dropdownlist.component.js → esm2020/tools/fontsize/editor-fontsize-dropdownlist.component.mjs} +9 -12
- package/{esm2015/tools/fontsize/editor-fontsize.component.js → esm2020/tools/fontsize/editor-fontsize.component.mjs} +13 -9
- package/{esm2015/tools/format/editor-format-dropdownlist.component.js → esm2020/tools/format/editor-format-dropdownlist.component.mjs} +23 -26
- package/{esm2015/tools/format/editor-format.component.js → esm2020/tools/format/editor-format.component.mjs} +13 -8
- package/{esm2015/tools/history/editor-redo-button.directive.js → esm2020/tools/history/editor-redo-button.directive.mjs} +8 -4
- package/{esm2015/tools/history/editor-undo-button.directive.js → esm2020/tools/history/editor-undo-button.directive.mjs} +8 -4
- package/{esm2015/tools/image/editor-insert-image-button.directive.js → esm2020/tools/image/editor-insert-image-button.directive.mjs} +8 -4
- package/{esm2015/tools/indentation/editor-indent-button.directive.js → esm2020/tools/indentation/editor-indent-button.directive.mjs} +8 -4
- package/{esm2015/tools/indentation/editor-outdent-button.directive.js → esm2020/tools/indentation/editor-outdent-button.directive.mjs} +8 -4
- package/{esm2015/tools/link/editor-create-link-button.directive.js → esm2020/tools/link/editor-create-link-button.directive.mjs} +8 -4
- package/{esm2015/tools/link/editor-insert-file-button.directive.js → esm2020/tools/link/editor-insert-file-button.directive.mjs} +8 -4
- package/{esm2015/tools/link/editor-unlink-button.directive.js → esm2020/tools/link/editor-unlink-button.directive.mjs} +8 -4
- package/{esm2015/tools/list/editor-insert-ordered-list-button.directive.js → esm2020/tools/list/editor-insert-ordered-list-button.directive.mjs} +8 -4
- package/{esm2015/tools/list/editor-insert-unordered-list-button.directive.js → esm2020/tools/list/editor-insert-unordered-list-button.directive.mjs} +8 -4
- package/{esm2015/tools/print/editor-print-button.directive.js → esm2020/tools/print/editor-print-button.directive.mjs} +8 -4
- package/{esm2015/tools/select-all/select-all-button.directive.js → esm2020/tools/select-all/select-all-button.directive.mjs} +8 -4
- package/{esm2015/tools/shared/dropdown-tool.directive.js → esm2020/tools/shared/dropdown-tool.directive.mjs} +5 -5
- package/{esm2015/tools/shared/editor-command-base.js → esm2020/tools/shared/editor-command-base.mjs} +8 -7
- package/{esm2015/tools/shared/editor-command-button.js → esm2020/tools/shared/editor-command-button.mjs} +1 -1
- package/{esm2015/tools/shared/editor-command-dialog.js → esm2020/tools/shared/editor-command-dialog.mjs} +1 -1
- package/{esm2015/tools/source/editor-view-source-button.directive.js → esm2020/tools/source/editor-view-source-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-add-column-after-button.directive.js → esm2020/tools/tables/editor-add-column-after-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-add-column-before-button.directive.js → esm2020/tools/tables/editor-add-column-before-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-add-row-after-button.directive.js → esm2020/tools/tables/editor-add-row-after-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-add-row-before-button.directive.js → esm2020/tools/tables/editor-add-row-before-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-delete-column-button.directive.js → esm2020/tools/tables/editor-delete-column-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-delete-row-button.directive.js → esm2020/tools/tables/editor-delete-row-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-delete-table-button.directive.js → esm2020/tools/tables/editor-delete-table-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-insert-table-button.component.js → esm2020/tools/tables/editor-insert-table-button.component.mjs} +19 -15
- package/{esm2015/tools/tables/editor-merge-cells-button.directive.js → esm2020/tools/tables/editor-merge-cells-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/editor-split-cell-button.directive.js → esm2020/tools/tables/editor-split-cell-button.directive.mjs} +8 -4
- package/{esm2015/tools/tables/popup-table-grid.component.js → esm2020/tools/tables/popup-table-grid.component.mjs} +6 -6
- package/{esm2015/tools/tools.service.js → esm2020/tools/tools.service.mjs} +4 -4
- package/{esm2015/tools/typographical-emphasis/editor-bold-button.directive.js → esm2020/tools/typographical-emphasis/editor-bold-button.directive.mjs} +8 -4
- package/{esm2015/tools/typographical-emphasis/editor-italic-button.directive.js → esm2020/tools/typographical-emphasis/editor-italic-button.directive.mjs} +8 -4
- package/{esm2015/tools/typographical-emphasis/editor-strikethrough-button.directive.js → esm2020/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs} +8 -4
- package/{esm2015/tools/typographical-emphasis/editor-subscript-button.directive.js → esm2020/tools/typographical-emphasis/editor-subscript-button.directive.mjs} +8 -4
- package/{esm2015/tools/typographical-emphasis/editor-superscript-button.directive.js → esm2020/tools/typographical-emphasis/editor-superscript-button.directive.mjs} +8 -4
- package/{esm2015/tools/typographical-emphasis/editor-underline-button.directive.js → esm2020/tools/typographical-emphasis/editor-underline-button.directive.mjs} +8 -4
- package/{esm2015/util.js → esm2020/util.mjs} +2 -2
- package/fesm2015/{kendo-angular-editor.js → progress-kendo-angular-editor.mjs} +319 -343
- package/fesm2020/progress-kendo-angular-editor.mjs +6480 -0
- package/{main.d.ts → index.d.ts} +3 -2
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/editor-localization.service.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +36 -63
- package/preventable-events/paste-event-data.d.ts +1 -1
- package/preventable-events/paste-event.d.ts +1 -1
- package/preventable-events/preventable-event.d.ts +1 -1
- package/{kendo-angular-editor.d.ts → progress-kendo-angular-editor.d.ts} +2 -2
- package/schematics/ngAdd/index.js +1 -5
- 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-dropdownlist.component.d.ts +1 -1
- package/tools/fontfamily/editor-fontfamily.component.d.ts +1 -1
- package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +1 -1
- package/tools/fontsize/editor-fontsize.component.d.ts +1 -1
- package/tools/format/editor-format-dropdownlist.component.d.ts +1 -1
- package/tools/format/editor-format.component.d.ts +1 -1
- 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 +1 -1
- package/tools/select-all/select-all-button.directive.d.ts +1 -1
- package/tools/shared/dropdown-tool.directive.d.ts +1 -1
- package/tools/shared/editor-command-base.d.ts +1 -1
- package/tools/shared/editor-command-button.d.ts +1 -1
- package/tools/shared/editor-command-dialog.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-insert-table-button.component.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/tables/popup-table-grid.component.d.ts +1 -1
- package/tools/tools.service.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
- package/bundles/kendo-angular-editor.umd.js +0 -5
- package/esm2015/common/direction.js +0 -5
- package/esm2015/common/font-family-item.interface.js +0 -5
- package/esm2015/common/font-size-item.interface.js +0 -5
- package/esm2015/common/format-item.interface.js +0 -5
- package/esm2015/common/image-data.interface.js +0 -5
- package/esm2015/common/link-data.interface.js +0 -5
- package/esm2015/common/paste-cleanup-settings.js +0 -5
- package/esm2015/common/plugins-function.js +0 -5
- package/esm2015/common/predicate.js +0 -5
- package/esm2015/common/resizable-options.interface.js +0 -5
- package/esm2015/common/table-data.interface.js +0 -5
- package/esm2015/preventable-events/paste-event-data.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding, ViewChild, ContentChild, ViewContainerRef, Output, ElementRef, EventEmitter, forwardRef, Input, isDevMode } from '@angular/core';
|
|
5
|
+
import { Component, HostBinding, ViewChild, ContentChild, ViewContainerRef, Output, ElementRef, EventEmitter, forwardRef, Input, ChangeDetectorRef, NgZone, isDevMode } from '@angular/core';
|
|
6
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
7
|
import { BehaviorSubject, fromEvent, Subject, zip } from 'rxjs';
|
|
8
8
|
import { map, filter, take } from 'rxjs/operators';
|
|
9
9
|
import { ToolBarComponent } from '@progress/kendo-angular-toolbar';
|
|
10
|
+
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
10
11
|
import { hasObservers, isDocumentAvailable, KendoInput } from '@progress/kendo-angular-common';
|
|
11
12
|
import { buildKeymap, buildListKeymap, getHtml, pasteCleanup, sanitize, removeComments, sanitizeClassAttr, sanitizeStyleAttr, removeAttribute, placeholder, EditorView, EditorState, baseKeymap, keymap, history, parseContent, Plugin, PluginKey, TextSelection, Schema, AllSelection, gapCursor, getSelectionText, imageResizing, tableEditing, caretColor, tableResizing } from '@progress/kendo-editor-common';
|
|
12
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -68,7 +69,7 @@ const getPasteCleanupAttributes = (config) => {
|
|
|
68
69
|
style: config.removeMsStyles ? sanitizeStyleAttr : undefined,
|
|
69
70
|
class: config.removeMsClasses ? sanitizeClassAttr : undefined
|
|
70
71
|
});
|
|
71
|
-
return config.removeAttributes.reduce((acc, curr) => (
|
|
72
|
+
return config.removeAttributes.reduce((acc, curr) => ({ ...acc, [curr]: removeAttribute }), initial);
|
|
72
73
|
};
|
|
73
74
|
/**
|
|
74
75
|
* Represents the [Kendo UI Editor component for Angular]({% slug overview_editor %}).
|
|
@@ -164,7 +165,7 @@ export class EditorComponent {
|
|
|
164
165
|
if (plainText) {
|
|
165
166
|
return this.dispatchPasteEvent(dirtyHtml, dirtyHtml);
|
|
166
167
|
}
|
|
167
|
-
const pasteCleanupSettings =
|
|
168
|
+
const pasteCleanupSettings = { ...defaultPasteCleanupSettings, ...this.pasteCleanupSettings };
|
|
168
169
|
const html = pipe(removeInvalidHTMLIf(pasteCleanupSettings.removeInvalidHTML), removeCommentsIf(pasteCleanupSettings.removeHtmlComments))(dirtyHtml);
|
|
169
170
|
const clean = pasteCleanup(html, {
|
|
170
171
|
convertMsLists: pasteCleanupSettings.convertMsLists,
|
|
@@ -223,7 +224,7 @@ export class EditorComponent {
|
|
|
223
224
|
if (this.trOnChange) {
|
|
224
225
|
return this.htmlOnChange;
|
|
225
226
|
}
|
|
226
|
-
|
|
227
|
+
const value = this._view ? this.getSource() : this._value;
|
|
227
228
|
if (value === EMPTY_PARAGRAPH) {
|
|
228
229
|
return this._value ? '' : this._value;
|
|
229
230
|
}
|
|
@@ -415,6 +416,9 @@ export class EditorComponent {
|
|
|
415
416
|
this.subs.add(this.toolsService.needsCheck.subscribe(() => this.cdr.markForCheck()));
|
|
416
417
|
}
|
|
417
418
|
ngAfterViewInit() {
|
|
419
|
+
if (!isDocumentAvailable()) {
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
418
422
|
this.afterViewInit.next();
|
|
419
423
|
if (!this.iframe) {
|
|
420
424
|
this.contentAreaLoaded.next();
|
|
@@ -424,13 +428,13 @@ export class EditorComponent {
|
|
|
424
428
|
}
|
|
425
429
|
}
|
|
426
430
|
ngOnChanges(changes) {
|
|
427
|
-
if (changes
|
|
428
|
-
this.changeValue(changes
|
|
431
|
+
if (changes['value'] && this.view) {
|
|
432
|
+
this.changeValue(changes['value'].currentValue);
|
|
429
433
|
}
|
|
430
|
-
if (changes
|
|
434
|
+
if (changes['iframe'] && !changes['iframe'].isFirstChange()) {
|
|
431
435
|
this.ngZone.onStable.pipe(take(1)).subscribe(() => this.initialize());
|
|
432
436
|
}
|
|
433
|
-
if (changes
|
|
437
|
+
if (changes['resizable'] && !changes['resizable'].isFirstChange()) {
|
|
434
438
|
this.normalizeSize();
|
|
435
439
|
}
|
|
436
440
|
}
|
|
@@ -721,6 +725,8 @@ export class EditorComponent {
|
|
|
721
725
|
else {
|
|
722
726
|
containerElement = this.container.element.nativeElement;
|
|
723
727
|
}
|
|
728
|
+
const proseMirror = containerElement.querySelector('.ProseMirror');
|
|
729
|
+
proseMirror.style = "'height: 100%; width: 100%; box-sizing: border-box; outline: none; overflow: auto;'";
|
|
724
730
|
this.subs.add(fromEvent(containerElement, 'focusin')
|
|
725
731
|
.subscribe((e) => {
|
|
726
732
|
if (this.readonly) {
|
|
@@ -821,8 +827,8 @@ export class EditorComponent {
|
|
|
821
827
|
}
|
|
822
828
|
;
|
|
823
829
|
}
|
|
824
|
-
EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
825
|
-
EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
830
|
+
EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorComponent, deps: [{ token: i1.DialogService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
831
|
+
EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditorComponent, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "class.k-ie": "this.isIE", "attr.dir": "this.dir", "attr.ariaDisabled": "this.ariaDisabled", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
|
|
826
832
|
EditorLocalizationService,
|
|
827
833
|
ProviderService,
|
|
828
834
|
EditorToolsService,
|
|
@@ -988,12 +994,12 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
988
994
|
<div *ngIf="!iframe" #content [attr.dir]="direction" class="k-editor-content"></div>
|
|
989
995
|
|
|
990
996
|
<div class="k-editor-content" *ngIf="iframe">
|
|
991
|
-
<iframe #content srcdoc="<!DOCTYPE html>" frameborder="0" class="k-iframe" (load)="iframeOnLoad()"></iframe>
|
|
997
|
+
<iframe #content srcdoc="<!DOCTYPE html>" frameborder="0" class="k-iframe" [style.width.%]="100" [style.height.%]="100" [style.display]="'block'" (load)="iframeOnLoad()"></iframe>
|
|
992
998
|
</div>
|
|
993
999
|
|
|
994
1000
|
<ng-container #dialogsContainer></ng-container>
|
|
995
|
-
`, isInline: true,
|
|
996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1001
|
+
`, isInline: true, components: [{ type: i5.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i5.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i5.ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { type: i6.EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }], directives: [{ type: i7.LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: i10.EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: i11.EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: i12.EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: i13.EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: i14.EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: i15.EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: i16.EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: i17.EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: i18.EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: i19.EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: i20.EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: i21.EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: i22.EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
|
|
1002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorComponent, decorators: [{
|
|
997
1003
|
type: Component,
|
|
998
1004
|
args: [{
|
|
999
1005
|
selector: 'kendo-editor',
|
|
@@ -1164,26 +1170,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1164
1170
|
<div *ngIf="!iframe" #content [attr.dir]="direction" class="k-editor-content"></div>
|
|
1165
1171
|
|
|
1166
1172
|
<div class="k-editor-content" *ngIf="iframe">
|
|
1167
|
-
<iframe #content srcdoc="<!DOCTYPE html>" frameborder="0" class="k-iframe" (load)="iframeOnLoad()"></iframe>
|
|
1173
|
+
<iframe #content srcdoc="<!DOCTYPE html>" frameborder="0" class="k-iframe" [style.width.%]="100" [style.height.%]="100" [style.display]="'block'" (load)="iframeOnLoad()"></iframe>
|
|
1168
1174
|
</div>
|
|
1169
1175
|
|
|
1170
1176
|
<ng-container #dialogsContainer></ng-container>
|
|
1171
|
-
|
|
1172
|
-
styles: [`
|
|
1173
|
-
.k-editor-content > .ProseMirror {
|
|
1174
|
-
height: 100%;
|
|
1175
|
-
width: 100%;
|
|
1176
|
-
box-sizing: border-box;
|
|
1177
|
-
outline: none;
|
|
1178
|
-
overflow: auto;
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
.k-iframe {
|
|
1182
|
-
width: 100%;
|
|
1183
|
-
height: 100%;
|
|
1184
|
-
display: block;
|
|
1185
|
-
}
|
|
1186
|
-
`]
|
|
1177
|
+
`
|
|
1187
1178
|
}]
|
|
1188
1179
|
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i3.ProviderService }, { type: i4.EditorToolsService }]; }, propDecorators: { value: [{
|
|
1189
1180
|
type: Input
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -196,8 +196,8 @@ const INTERNAL_COMPONENTS = [
|
|
|
196
196
|
*/
|
|
197
197
|
export class EditorModule {
|
|
198
198
|
}
|
|
199
|
-
EditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
200
|
-
EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
199
|
+
EditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
200
|
+
EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorModule, declarations: [EditorComponent,
|
|
201
201
|
//alignment
|
|
202
202
|
EditorAlignLeftButtonDirective,
|
|
203
203
|
EditorAlignCenterButtonDirective,
|
|
@@ -353,7 +353,7 @@ EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
353
353
|
FormatDropDownListComponent,
|
|
354
354
|
FontFamilyDropDownListComponent,
|
|
355
355
|
FontSizeDropDownListComponent] });
|
|
356
|
-
EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
356
|
+
EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorModule, imports: [[
|
|
357
357
|
CommonModule,
|
|
358
358
|
FormsModule,
|
|
359
359
|
ReactiveFormsModule,
|
|
@@ -370,7 +370,7 @@ EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
370
370
|
ButtonModule,
|
|
371
371
|
FormsModule,
|
|
372
372
|
ReactiveFormsModule] });
|
|
373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorModule, decorators: [{
|
|
374
374
|
type: NgModule,
|
|
375
375
|
args: [{
|
|
376
376
|
declarations: [
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export { EditorComponent } from './editor.component';
|
|
6
6
|
export { EditorModule } from './editor.module';
|
|
7
|
-
export { schema
|
|
7
|
+
export { schema } from './config/schema';
|
|
8
|
+
export { Schema } from '@progress/kendo-editor-common';
|
|
8
9
|
export { EditorState, Plugin, PluginKey, Transaction, EditorView, Decoration, DecorationSet, NodeType, Node, MarkType, Mark, InputRule, inputRules, wrappingInputRule, textblockTypeInputRule, keymap, baseKeymap, history, dropCursor, gapCursor, tableNodes } from '@progress/kendo-editor-common';
|
|
9
10
|
export { getSelectionText } from './util';
|
|
10
11
|
export { EditorPasteEvent } from './preventable-events/paste-event';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, forwardRef } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
7
|
import { MessagesDirective } from './messages';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
@@ -19,14 +20,14 @@ export class CustomMessagesComponent extends MessagesDirective {
|
|
|
19
20
|
return true;
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
|
-
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
23
|
+
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
24
|
+
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CustomMessagesComponent, selector: "kendo-editor-messages", providers: [
|
|
24
25
|
{
|
|
25
26
|
provide: MessagesDirective,
|
|
26
27
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
27
28
|
}
|
|
28
29
|
], usesInheritance: true, ngImport: i0 });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
30
31
|
type: Directive,
|
|
31
32
|
args: [{
|
|
32
33
|
providers: [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
6
|
-
import { LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { LocalizationService, L10N_PREFIX, MessageService, RTL } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
9
9
|
/**
|
|
@@ -14,9 +14,9 @@ export class EditorLocalizationService extends LocalizationService {
|
|
|
14
14
|
super(prefix, messageService, _rtl);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
EditorLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
EditorLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
EditorLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
18
|
+
EditorLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorLocalizationService });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorLocalizationService, decorators: [{
|
|
20
20
|
type: Injectable
|
|
21
21
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
22
22
|
type: Inject,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, forwardRef } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
7
|
import { MessagesDirective } from './messages';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
@@ -15,12 +16,12 @@ export class LocalizedMessagesDirective extends MessagesDirective {
|
|
|
15
16
|
this.service = service;
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
19
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]", providers: [{
|
|
20
21
|
provide: MessagesDirective,
|
|
21
22
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
22
23
|
}], usesInheritance: true, ngImport: i0 });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
24
25
|
type: Directive,
|
|
25
26
|
args: [{
|
|
26
27
|
providers: [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class MessagesDirective extends ComponentMessages {
|
|
12
12
|
}
|
|
13
|
-
MessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
MessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MessagesDirective, selector: "[kendoEditorMessages]", inputs: { alignCenter: "alignCenter", alignJustify: "alignJustify", alignLeft: "alignLeft", alignRight: "alignRight", backColor: "backColor", blockquote: "blockquote", bold: "bold", cleanFormatting: "cleanFormatting", createLink: "createLink", fontFamily: "fontFamily", fontSize: "fontSize", foreColor: "foreColor", format: "format", indent: "indent", insertFile: "insertFile", insertImage: "insertImage", insertOrderedList: "insertOrderedList", insertUnorderedList: "insertUnorderedList", italic: "italic", outdent: "outdent", print: "print", redo: "redo", selectAll: "selectAll", strikethrough: "strikethrough", subscript: "subscript", superscript: "superscript", underline: "underline", undo: "undo", unlink: "unlink", viewSource: "viewSource", insertTable: "insertTable", addColumnBefore: "addColumnBefore", addColumnAfter: "addColumnAfter", addRowBefore: "addRowBefore", addRowAfter: "addRowAfter", deleteColumn: "deleteColumn", deleteRow: "deleteRow", deleteTable: "deleteTable", mergeCells: "mergeCells", splitCell: "splitCell", dialogApply: "dialogApply", dialogCancel: "dialogCancel", dialogInsert: "dialogInsert", dialogUpdate: "dialogUpdate", fileText: "fileText", fileTitle: "fileTitle", fileWebAddress: "fileWebAddress", imageAltText: "imageAltText", imageHeight: "imageHeight", imageWebAddress: "imageWebAddress", imageWidth: "imageWidth", linkOpenInNewWindow: "linkOpenInNewWindow", linkText: "linkText", linkTitle: "linkTitle", linkWebAddress: "linkWebAddress" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MessagesDirective, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
selector: '[kendoEditorMessages]'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-editor',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1673510696,
|
|
13
13
|
version: '',
|
|
14
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
14
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
package/{esm2015/preventable-events/paste-event.js → esm2020/preventable-events/paste-event.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from "./preventable-event";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* Generated bundle index. Do not edit.
|
|
7
7
|
*/
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './index';
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -32,9 +36,9 @@ export class EditorAlignCenterButtonDirective extends EditorCommandButton {
|
|
|
32
36
|
super('alignCenter', button, localization, providerService, toolsService);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
|
-
EditorAlignCenterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
EditorAlignCenterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
EditorAlignCenterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorAlignCenterButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
EditorAlignCenterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]", usesInheritance: true, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorAlignCenterButtonDirective, decorators: [{
|
|
38
42
|
type: Directive,
|
|
39
43
|
args: [{
|
|
40
44
|
selector: 'kendo-toolbar-button[kendoEditorAlignCenterButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -32,9 +36,9 @@ export class EditorAlignJustifyButtonDirective extends EditorCommandButton {
|
|
|
32
36
|
super('alignJustify', button, localization, providerService, toolsService);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
|
-
EditorAlignJustifyButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
EditorAlignJustifyButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
EditorAlignJustifyButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorAlignJustifyButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
EditorAlignJustifyButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]", usesInheritance: true, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorAlignJustifyButtonDirective, decorators: [{
|
|
38
42
|
type: Directive,
|
|
39
43
|
args: [{
|
|
40
44
|
selector: 'kendo-toolbar-button[kendoEditorAlignJustifyButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -32,9 +36,9 @@ export class EditorAlignLeftButtonDirective extends EditorCommandButton {
|
|
|
32
36
|
super('alignLeft', button, localization, providerService, toolsService);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
|
-
EditorAlignLeftButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
EditorAlignLeftButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
EditorAlignLeftButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorAlignLeftButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
EditorAlignLeftButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]", usesInheritance: true, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorAlignLeftButtonDirective, decorators: [{
|
|
38
42
|
type: Directive,
|
|
39
43
|
args: [{
|
|
40
44
|
selector: 'kendo-toolbar-button[kendoEditorAlignLeftButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { ProviderService } from '../../common/provider.service';
|
|
10
|
+
import { EditorToolsService } from '../tools.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -32,9 +36,9 @@ export class EditorAlignRightButtonDirective extends EditorCommandButton {
|
|
|
32
36
|
super('alignRight', button, localization, providerService, toolsService);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
|
-
EditorAlignRightButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
EditorAlignRightButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
EditorAlignRightButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorAlignRightButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
EditorAlignRightButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]", usesInheritance: true, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorAlignRightButtonDirective, decorators: [{
|
|
38
42
|
type: Directive,
|
|
39
43
|
args: [{
|
|
40
44
|
selector: 'kendo-toolbar-button[kendoEditorAlignRightButton]'
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { EditorCommandButton } from '../shared/editor-command-button';
|
|
8
|
+
import { EditorLocalizationService } from '../../localization/editor-localization.service';
|
|
9
|
+
import { EditorToolsService } from '../tools.service';
|
|
10
|
+
import { ProviderService } from '../../common/provider.service';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
import * as i1 from "@progress/kendo-angular-toolbar";
|
|
9
13
|
import * as i2 from "../../localization/editor-localization.service";
|
|
@@ -31,9 +35,9 @@ export class EditorBlockquoteDirective extends EditorCommandButton {
|
|
|
31
35
|
super('blockquote', button, localization, providerService, toolsService);
|
|
32
36
|
}
|
|
33
37
|
}
|
|
34
|
-
EditorBlockquoteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
EditorBlockquoteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
EditorBlockquoteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorBlockquoteDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
EditorBlockquoteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorBlockquoteDirective, selector: "kendo-toolbar-button[kendoEditorBlockquoteButton]", usesInheritance: true, ngImport: i0 });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorBlockquoteDirective, decorators: [{
|
|
37
41
|
type: Directive,
|
|
38
42
|
args: [{
|
|
39
43
|
selector: 'kendo-toolbar-button[kendoEditorBlockquoteButton]'
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive } from '@angular/core';
|
|
6
|
+
import { EditorColorPickerComponent } from './editor-colorpicker.component';
|
|
6
7
|
import { commandIcons } from '../../config/command-icons';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "./editor-colorpicker.component";
|
|
@@ -18,9 +19,9 @@ export class EditorBackColorDirective {
|
|
|
18
19
|
this.colorPicker.editorCommand = 'backColor';
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
|
-
EditorBackColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
EditorBackColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
EditorBackColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorBackColorDirective, deps: [{ token: i1.EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
EditorBackColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: EditorBackColorDirective, selector: "[kendoEditorBackColor]", ngImport: i0 });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditorBackColorDirective, decorators: [{
|
|
24
25
|
type: Directive,
|
|
25
26
|
args: [{
|
|
26
27
|
selector: '[kendoEditorBackColor]'
|