@progress/kendo-angular-editor 3.0.0-dev.202201121058 → 3.0.1-dev.202201201312

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.
Files changed (73) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/README.md +1 -1
  4. package/dist/cdn/js/kendo-angular-editor.js +2 -2
  5. package/dist/cdn/main.js +1 -1
  6. package/dist/es/common/error-messages.js +1 -1
  7. package/dist/es/config/command-icons.js +1 -0
  8. package/dist/es/config/commands.js +16 -15
  9. package/dist/es/config/schema.js +1 -2
  10. package/dist/es/dialogs/colorpicker-dialog.component.js +1 -1
  11. package/dist/es/dialogs/file-link-dialog.component.js +1 -1
  12. package/dist/es/dialogs/image-dialog.component.js +1 -1
  13. package/dist/es/editor-toolbar-state.js +12 -2
  14. package/dist/es/editor.component.js +5 -5
  15. package/dist/es/editor.module.js +6 -3
  16. package/dist/es/index.js +2 -0
  17. package/dist/es/localization/messages.js +4 -0
  18. package/dist/es/package-metadata.js +1 -1
  19. package/dist/es/tools/blockquote/editor-blockquote-button.directive.js +48 -0
  20. package/dist/es/tools/colorpicker/editor-colorpicker.component.js +24 -7
  21. package/dist/es/tools/format/editor-format-dropdownlist.component.js +1 -1
  22. package/dist/es/tools/format/editor-format.component.js +0 -1
  23. package/dist/es/tools/tables/popup-table-grid.component.js +1 -1
  24. package/dist/es2015/common/commands.d.ts +1 -1
  25. package/dist/es2015/common/error-messages.js +1 -1
  26. package/dist/es2015/common/format-item.interface.d.ts +1 -1
  27. package/dist/es2015/config/command-icons.js +1 -0
  28. package/dist/es2015/config/commands.js +16 -15
  29. package/dist/es2015/config/schema.d.ts +1 -1
  30. package/dist/es2015/config/schema.js +1 -1
  31. package/dist/es2015/dialogs/colorpicker-dialog.component.js +1 -1
  32. package/dist/es2015/dialogs/file-link-dialog.component.js +4 -4
  33. package/dist/es2015/dialogs/image-dialog.component.js +4 -4
  34. package/dist/es2015/editor-toolbar-state.js +12 -2
  35. package/dist/es2015/editor.component.d.ts +1 -1
  36. package/dist/es2015/editor.component.js +6 -4
  37. package/dist/es2015/editor.module.js +6 -3
  38. package/dist/es2015/index.d.ts +2 -0
  39. package/dist/es2015/index.js +2 -0
  40. package/dist/es2015/index.metadata.json +1 -1
  41. package/dist/es2015/localization/messages.d.ts +4 -0
  42. package/dist/es2015/localization/messages.js +4 -0
  43. package/dist/es2015/package-metadata.js +1 -1
  44. package/dist/es2015/tools/blockquote/editor-blockquote-button.directive.d.ts +30 -0
  45. package/dist/es2015/tools/blockquote/editor-blockquote-button.directive.js +45 -0
  46. package/dist/es2015/tools/colorpicker/editor-colorpicker.component.d.ts +8 -2
  47. package/dist/es2015/tools/colorpicker/editor-colorpicker.component.js +20 -7
  48. package/dist/es2015/tools/format/editor-format-dropdownlist.component.js +0 -4
  49. package/dist/es2015/tools/format/editor-format.component.js +0 -1
  50. package/dist/es2015/tools/tables/popup-table-grid.component.js +2 -2
  51. package/dist/fesm2015/index.js +111 -48
  52. package/dist/fesm5/index.js +111 -39
  53. package/dist/npm/common/error-messages.js +1 -1
  54. package/dist/npm/config/command-icons.js +1 -0
  55. package/dist/npm/config/commands.js +16 -14
  56. package/dist/npm/config/schema.js +1 -2
  57. package/dist/npm/dialogs/colorpicker-dialog.component.js +1 -1
  58. package/dist/npm/dialogs/file-link-dialog.component.js +1 -1
  59. package/dist/npm/dialogs/image-dialog.component.js +1 -1
  60. package/dist/npm/editor-toolbar-state.js +11 -1
  61. package/dist/npm/editor.component.js +5 -5
  62. package/dist/npm/editor.module.js +7 -4
  63. package/dist/npm/index.js +5 -0
  64. package/dist/npm/localization/messages.js +4 -0
  65. package/dist/npm/package-metadata.js +1 -1
  66. package/dist/npm/tools/blockquote/editor-blockquote-button.directive.js +50 -0
  67. package/dist/npm/tools/colorpicker/editor-colorpicker.component.js +24 -7
  68. package/dist/npm/tools/format/editor-format-dropdownlist.component.js +1 -1
  69. package/dist/npm/tools/format/editor-format.component.js +0 -1
  70. package/dist/npm/tools/tables/popup-table-grid.component.js +1 -1
  71. package/dist/systemjs/kendo-angular-editor.js +1 -1
  72. package/package.json +18 -18
  73. package/schematics/ngAdd/index.js +1 -1
@@ -10,14 +10,14 @@ import { take, map, filter, concatMap, takeUntil } from 'rxjs/operators';
10
10
  import { ToolBarComponent, ToolBarToolComponent, ToolBarButtonComponent, ToolBarModule } from '@progress/kendo-angular-toolbar';
11
11
  import { DialogRef, DialogContentBase, DialogService, DialogModule } from '@progress/kendo-angular-dialog';
12
12
  import { isDocumentAvailable, guid, PreventableEvent, KendoInput, hasObservers, Keys } from '@progress/kendo-angular-common';
13
- import { nodes, Schema, marks, createTable, insertNode, expandToWordWrap, toggleInlineFormat, bold, cleanFormatting, applyLink, applyInlineStyle, insertText, italic, strikethrough, subscript, superscript, underline, removeLink, link, selectAll, isAligned, alignCenterRules, alignBlocks, alignRemoveRules, alignJustifyRules, alignLeftRules, alignRightRules, formatBlockElements, getHtml, indent, insertImage, toggleOrderedList, toggleUnorderedList, outdent, redo, setHtml, undo, addColumnBefore, addColumnAfter, addRowBefore, addRowAfter, deleteRow, deleteColumn, mergeCells, splitCell, deleteTable, hasMark, activeNode, canIndentAsListItem, canBeIndented, indentRules, hasNode, canOutdentAsListItem, outdentRules, getActiveMarks, expandSelection, getNodeFromSelection, getMark, getSelectionText, TextSelection, parseContent, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableEditing, placeholder, EditorState, EditorView, pasteCleanup, AllSelection, removeComments, sanitize, removeAttribute, sanitizeStyleAttr, sanitizeClassAttr } from '@progress/kendo-editor-common';
13
+ import { nodes, Schema, marks, createTable, insertNode, expandToWordWrap, toggleInlineFormat, bold, cleanFormatting, applyLink, applyInlineStyle, insertText, italic, strikethrough, subscript, superscript, underline, removeLink, link, selectAll, isAligned, alignCenterRules, alignBlocks, alignRemoveRules, alignJustifyRules, alignLeftRules, alignRightRules, formatBlockElements, getHtml, indent, insertImage, toggleOrderedList, toggleUnorderedList, outdent, redo, setHtml, undo, blockquote, addColumnBefore, addColumnAfter, addRowBefore, addRowAfter, deleteRow, deleteColumn, mergeCells, splitCell, deleteTable, hasMark, activeNode, canIndentAsListItem, canBeIndented, indentRules, hasNode, canOutdentAsListItem, outdentRules, isIndented, getActiveMarks, expandSelection, getNodeFromSelection, getMark, getSelectionText, TextSelection, parseContent, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableEditing, placeholder, EditorState, EditorView, pasteCleanup, AllSelection, removeComments, sanitize, removeAttribute, sanitizeStyleAttr, sanitizeClassAttr } from '@progress/kendo-editor-common';
14
14
  export { Schema, EditorState, Plugin, PluginKey, Transaction, EditorView, Decoration, DecorationSet, NodeType, Node, MarkType, Mark, InputRule, inputRules, wrappingInputRule, textblockTypeInputRule, keymap, baseKeymap, history, dropCursor, gapCursor, tableNodes, getSelectionText } from '@progress/kendo-editor-common';
15
15
  import { validatePackage } from '@progress/kendo-licensing';
16
16
  import { L10N_PREFIX, RTL, MessageService, LocalizationService, ComponentMessages } from '@progress/kendo-angular-l10n';
17
17
  import { CommonModule } from '@angular/common';
18
18
  import { DropDownListComponent, DropDownsModule } from '@progress/kendo-angular-dropdowns';
19
19
  import { ButtonModule } from '@progress/kendo-angular-buttons';
20
- import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
20
+ import { ColorPickerComponent, ColorPickerModule, NumericTextBoxModule, CheckBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
21
21
  import { PopupService } from '@progress/kendo-angular-popup';
22
22
 
23
23
  /**
@@ -27,7 +27,7 @@ var packageMetadata = {
27
27
  name: '@progress/kendo-angular-editor',
28
28
  productName: 'Kendo UI for Angular',
29
29
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
30
- publishDate: 1641984793,
30
+ publishDate: 1642684027,
31
31
  version: '',
32
32
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
33
33
  };
@@ -123,7 +123,7 @@ var nodes$1 = Object.assign(nodes, semanticNodes);
123
123
  */
124
124
  var schema = new Schema({
125
125
  marks: marks$1,
126
- nodes: __assign({}, nodes$1, { blockquote: __assign({}, nodes$1.blockquote, { content: 'inline*' }) })
126
+ nodes: nodes$1
127
127
  });
128
128
 
129
129
  /**
@@ -159,7 +159,7 @@ var inlineCommand = {
159
159
  var ɵ17 = function () { return function (state, dispatch) { return isAligned(state, alignCenterRules) ? alignRemove(state, dispatch) : alignBlocks(alignCenterRules)(state, dispatch); }; }, ɵ18 = function () { return function (state, dispatch) { return isAligned(state, alignJustifyRules) ? alignRemove(state, dispatch) : alignBlocks(alignJustifyRules)(state, dispatch); }; }, ɵ19 = function () { return function (state, dispatch) { return isAligned(state, alignLeftRules) ? alignRemove(state, dispatch) : alignBlocks(alignLeftRules)(state, dispatch); }; }, ɵ20 = function () { return function (state, dispatch) { return isAligned(state, alignRightRules) ? alignRemove(state, dispatch) : alignBlocks(alignRightRules)(state, dispatch); }; }, ɵ21 = function (formatAttr) { return formatBlockElements(formatAttr.tag); }, ɵ22 = function () { return getHtml; }, ɵ23 = function () { return indent; }, ɵ24 = function (attrs) { return insertImage(attrs); }, ɵ25 = function () { return toggleOrderedList; }, ɵ26 = function () { return toggleUnorderedList; }, ɵ27 = function () { return outdent; }, ɵ28 = function () { return redo; }, ɵ29 = function (_a) {
160
160
  var content = _a.content, parseOptions = _a.parseOptions;
161
161
  return setHtml(content, 'setHTML', parseOptions);
162
- }, ɵ30 = function () { return undo; };
162
+ }, ɵ30 = function () { return undo; }, ɵ31 = function () { return blockquote; };
163
163
  var blockCommand = {
164
164
  alignCenter: ɵ17,
165
165
  alignJustify: ɵ18,
@@ -176,20 +176,21 @@ var blockCommand = {
176
176
  outdent: ɵ27,
177
177
  redo: ɵ28,
178
178
  setHTML: ɵ29,
179
- undo: ɵ30
179
+ undo: ɵ30,
180
+ blockquote: ɵ31
180
181
  };
181
- var ɵ31 = function (attr) { return insertTable(attr); }, ɵ32 = function () { return addColumnBefore; }, ɵ33 = function () { return addColumnAfter; }, ɵ34 = function () { return addRowBefore; }, ɵ35 = function () { return addRowAfter; }, ɵ36 = function () { return deleteRow; }, ɵ37 = function () { return deleteColumn; }, ɵ38 = function () { return mergeCells; }, ɵ39 = function () { return splitCell; }, ɵ40 = function () { return deleteTable; };
182
+ var ɵ32 = function (attr) { return insertTable(attr); }, ɵ33 = function () { return addColumnBefore; }, ɵ34 = function () { return addColumnAfter; }, ɵ35 = function () { return addRowBefore; }, ɵ36 = function () { return addRowAfter; }, ɵ37 = function () { return deleteRow; }, ɵ38 = function () { return deleteColumn; }, ɵ39 = function () { return mergeCells; }, ɵ40 = function () { return splitCell; }, ɵ41 = function () { return deleteTable; };
182
183
  var tableCommand = {
183
- insertTable: ɵ31,
184
- addColumnBefore: ɵ32,
185
- addColumnAfter: ɵ33,
186
- addRowBefore: ɵ34,
187
- addRowAfter: ɵ35,
188
- deleteRow: ɵ36,
189
- deleteColumn: ɵ37,
190
- mergeCells: ɵ38,
191
- splitCell: ɵ39,
192
- deleteTable: ɵ40
184
+ insertTable: ɵ32,
185
+ addColumnBefore: ɵ33,
186
+ addColumnAfter: ɵ34,
187
+ addRowBefore: ɵ35,
188
+ addRowAfter: ɵ36,
189
+ deleteRow: ɵ37,
190
+ deleteColumn: ɵ38,
191
+ mergeCells: ɵ39,
192
+ splitCell: ɵ40,
193
+ deleteTable: ɵ41
193
194
  };
194
195
  /**
195
196
  * @hidden
@@ -228,6 +229,10 @@ var getToolbarState = function (state, options) { return ({
228
229
  selected: activeNode(state),
229
230
  disabled: false
230
231
  },
232
+ blockquote: {
233
+ selected: false,
234
+ disabled: !blockquote(state)
235
+ },
231
236
  indent: {
232
237
  selected: false,
233
238
  disabled: !(canIndentAsListItem(state, state.schema.nodes.list_item) || canBeIndented(state, indentRules))
@@ -250,7 +255,11 @@ var getToolbarState = function (state, options) { return ({
250
255
  },
251
256
  outdent: {
252
257
  selected: false,
253
- disabled: !(canOutdentAsListItem(state, outdentRules) || canBeIndented(state, outdentRules))
258
+ get disabled() {
259
+ return !(hasNode(state, state.schema.nodes.blockquote) ||
260
+ canOutdentAsListItem(state, outdentRules) ||
261
+ isIndented(state, outdentRules.nodes));
262
+ }
254
263
  },
255
264
  redo: {
256
265
  selected: false,
@@ -376,6 +385,7 @@ var initialToolBarState = {
376
385
  format: { selected: { text: 'Format', tag: null }, disabled: false },
377
386
  style: { selected: { marks: [], hasNodesWithoutMarks: false }, disabled: false },
378
387
  cleanFormatting: { selected: false, disabled: true },
388
+ blockquote: { selected: false, disabled: false },
379
389
  //indent
380
390
  indent: { selected: false, disabled: false },
381
391
  outdent: { selected: false, disabled: false },
@@ -428,6 +438,7 @@ var disabledToolBarState = {
428
438
  format: { selected: { text: 'Format', tag: null }, disabled: true },
429
439
  style: { selected: { marks: [], hasNodesWithoutMarks: false }, disabled: true },
430
440
  cleanFormatting: { selected: false, disabled: true },
441
+ blockquote: { selected: false, disabled: true },
431
442
  //indent
432
443
  indent: { selected: false, disabled: true },
433
444
  outdent: { selected: false, disabled: true },
@@ -734,7 +745,7 @@ var ImageDialogComponent = /** @class */ (function (_super) {
734
745
  ], ImageDialogComponent.prototype, "srcInput", void 0);
735
746
  ImageDialogComponent = __decorate([
736
747
  Component({
737
- template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor('insertImage') }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <div class=\"k-edit-label\">\n <label [for]=\"srcInputId\">{{ textFor('imageWebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"srcInputId\" #srcInput [formControl]=\"src\" type=\"text\" class=\"k-textbox\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"altTextInputId\">{{ textFor('imageAltText') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"altTextInputId\" [formControl]=\"alt\" type=\"text\" class=\"k-textbox\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"widthInputId\">{{ textFor('imageWidth') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"widthInputId\" [formControl]=\"width\" type=\"text\" class=\"k-textbox\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"heightInputId\">{{ textFor('imageHeight') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"heightInputId\" [formControl]=\"height\" type=\"text\" class=\"k-textbox\" />\n </div>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"imageData.invalid\"\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogInsert') }}</button>\n </kendo-dialog-actions>\n "
748
+ template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor('insertImage') }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <div class=\"k-edit-label\">\n <label [for]=\"srcInputId\">{{ textFor('imageWebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"srcInputId\" #srcInput [formControl]=\"src\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"altTextInputId\">{{ textFor('imageAltText') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"altTextInputId\" [formControl]=\"alt\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"widthInputId\">{{ textFor('imageWidth') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"widthInputId\" [formControl]=\"width\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <div class=\"k-edit-label\">\n <label [for]=\"heightInputId\">{{ textFor('imageHeight') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input [id]=\"heightInputId\" [formControl]=\"height\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"imageData.invalid\"\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogInsert') }}</button>\n </kendo-dialog-actions>\n "
738
749
  }),
739
750
  __metadata("design:paramtypes", [DialogRef,
740
751
  EditorLocalizationService])
@@ -850,7 +861,7 @@ var FileLinkDialogComponent = /** @class */ (function (_super) {
850
861
  ], FileLinkDialogComponent.prototype, "hrefInput", void 0);
851
862
  FileLinkDialogComponent = __decorate([
852
863
  Component({
853
- template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ titleText }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <form novalidate [formGroup]=\"linkForm\">\n <div class=\"k-edit-label\">\n <label (click)=\"hrefInput.focus()\">{{ textForWithPrefix('WebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #hrefInput formControlName=\"href\" type=\"text\" class=\"k-textbox\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"textInput.focus()\">{{ textForWithPrefix('Text') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #textInput formControlName=\"text\" type=\"text\" class=\"k-textbox\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"titleInput.focus()\">{{ textForWithPrefix('Title') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #titleInput formControlName=\"title\" type=\"text\" class=\"k-textbox\" />\n </div>\n <ng-container *ngIf=\"command === 'createLink'\">\n <div class=\"k-edit-label\"></div>\n <div class=\"k-edit-field\">\n <input type=\"checkbox\" id=\"k-target-blank\" class=\"k-checkbox\" formControlName=\"target\" />\n <label class=\"k-checkbox-label\" for=\"k-target-blank\">{{ textForWithPrefix('OpenInNewWindow') }}</label>\n </div>\n </ng-container>\n </form>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"linkForm.invalid\" (click)=\"onConfirmAction()\" [primary]=\"true\">\n {{ textFor('dialogInsert') }}\n </button>\n </kendo-dialog-actions>\n "
864
+ template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ titleText }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <form novalidate [formGroup]=\"linkForm\">\n <div class=\"k-edit-label\">\n <label (click)=\"hrefInput.focus()\">{{ textForWithPrefix('WebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #hrefInput formControlName=\"href\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"textInput.focus()\">{{ textForWithPrefix('Text') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #textInput formControlName=\"text\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"titleInput.focus()\">{{ textForWithPrefix('Title') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #titleInput formControlName=\"title\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <ng-container *ngIf=\"command === 'createLink'\">\n <div class=\"k-edit-label\"></div>\n <div class=\"k-edit-field\">\n <input type=\"checkbox\" id=\"k-target-blank\" kendoCheckBox formControlName=\"target\" />\n <label class=\"k-checkbox-label\" for=\"k-target-blank\">{{ textForWithPrefix('OpenInNewWindow') }}</label>\n </div>\n </ng-container>\n </form>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"linkForm.invalid\" (click)=\"onConfirmAction()\" [primary]=\"true\">\n {{ textFor('dialogInsert') }}\n </button>\n </kendo-dialog-actions>\n "
854
865
  }),
855
866
  __metadata("design:paramtypes", [DialogRef, EditorLocalizationService])
856
867
  ], FileLinkDialogComponent);
@@ -881,7 +892,7 @@ var EditorErrorMessages = {
881
892
  pluginsCallbackType: ɵ0$2,
882
893
  pastedContentCallbackType: ɵ1$2,
883
894
  setPluginsOnce: 'The plugins cannot be changed dynamically. See http://www.telerik.com/kendo-angular-ui/components/editor/plugins/',
884
- setPlaceHolderOnce: 'The placeholder cannot be changed dynamically. See http://www.telerik.com/kendo-angular-ui/components/editor/placeholder/',
895
+ setPlaceHolderOnce: 'The placeholder cannot be changed dynamically. See https://www.telerik.com/kendo-angular-ui/components/editor/plugins/#toc-custom-plugins/',
885
896
  printTool: 'The Print tool and functionality are supported only in iframe mode. See https://www.telerik.com/kendo-angular-ui-develop/components/editor/api/EditorPrintButtonDirective/'
886
897
  };
887
898
 
@@ -1394,7 +1405,7 @@ var EditorComponent = /** @class */ (function () {
1394
1405
  * @param {any} attr - Optional parameters for the command. Apart from the following list,
1395
1406
  * the parameters do not expect specific attributes when you call them:
1396
1407
  * - `format` - Accepts an object with the `tag` property.
1397
- * The supported tags are `p`, `blockquote`, and any of the `h1` to `h6` heading tags.
1408
+ * The supported tags are `p` and any of the `h1` to `h6` heading tags.
1398
1409
  * - `createLink` - Accepts an object with the `href`, `title`, and `target` properties. The `href` property is mandatory.
1399
1410
  * - `setHTML` - Accepts a `string` parameter.
1400
1411
  * - `insertTable` - Accepts an object with the `rows` and `cols` properties. The number values are zero based.
@@ -1651,7 +1662,7 @@ var EditorComponent = /** @class */ (function () {
1651
1662
  this.subs.add(fromEvent(containerElement, 'focusin')
1652
1663
  .subscribe(function () {
1653
1664
  if (_this.readonly) {
1654
- contentAreaClasslist_1.add('k-state-focused');
1665
+ contentAreaClasslist_1.add('k-focus');
1655
1666
  }
1656
1667
  if (!_this.focusChangedProgrammatically || _this.shouldEmitFocus) {
1657
1668
  _this.ngZone.run(function () { return _this.onFocus.emit(); });
@@ -1661,7 +1672,7 @@ var EditorComponent = /** @class */ (function () {
1661
1672
  this.subs.add(fromEvent(containerElement, 'focusout')
1662
1673
  .subscribe(function () {
1663
1674
  if (_this.readonly) {
1664
- contentAreaClasslist_1.remove('k-state-focused');
1675
+ contentAreaClasslist_1.remove('k-focus');
1665
1676
  }
1666
1677
  if (!_this.focusChangedProgrammatically) {
1667
1678
  _this.ngZone.run(function () { return _this.onBlur.emit(); });
@@ -1808,7 +1819,7 @@ var EditorComponent = /** @class */ (function () {
1808
1819
  __metadata("design:paramtypes", [])
1809
1820
  ], EditorComponent.prototype, "resizableClass", null);
1810
1821
  __decorate([
1811
- HostBinding('class.k-state-disabled'),
1822
+ HostBinding('class.k-disabled'),
1812
1823
  __metadata("design:type", Boolean),
1813
1824
  __metadata("design:paramtypes", [])
1814
1825
  ], EditorComponent.prototype, "isDisabled", null);
@@ -1901,7 +1912,7 @@ var EditorComponent = /** @class */ (function () {
1901
1912
  }
1902
1913
  ],
1903
1914
  /* tslint:disable:max-line-length */
1904
- template: "\n <ng-container\n kendoEditorLocalizedMessages\n i18n-alignCenter=\"kendo.editor.alignCenter|The title of the tool that aligns text in the center.\"\n alignCenter=\"Center text\"\n i18n-alignJustify=\"kendo.editor.alignJustify|The title of the tool that justifies text both left and right.\"\n alignJustify=\"Justify\"\n i18n-alignLeft=\"kendo.editor.alignLeft|The title of the tool that aligns text on the left.\"\n alignLeft=\"Align text left\"\n i18n-alignRight=\"kendo.editor.alignRight|The title of the tool that aligns text on the right.\"\n alignRight=\"Align text right\"\n i18n-backColor=\"kendo.editor.backColor|The title of the tool that changes the text background color.\"\n backColor=\"Background color\"\n i18n-bold=\"kendo.editor.bold|The title of the tool that makes text bold.\"\n bold=\"Bold\"\n i18n-cleanFormatting=\"kendo.editor.cleanFormatting|The title of the Clean Formatting tool.\"\n cleanFormatting=\"Clean formatting\"\n i18n-createLink=\"kendo.editor.createLink|The title of the tool that creates hyperlinks.\"\n createLink=\"Insert link\"\n i18n-dialogApply=\"kendo.editor.dialogApply|The label of the **Apply** button in all editor dialogs.\"\n dialogApply=\"Apply\"\n i18n-dialogCancel=\"kendo.editor.dialogCancel|The label of the **Cancel** button in all editor dialogs.\"\n dialogCancel=\"Cancel\"\n i18n-dialogInsert=\"kendo.editor.dialogInsert|The label of the **Insert** button in all editor dialogs.\"\n dialogInsert=\"Insert\"\n i18n-dialogUpdate=\"kendo.editor.dialogUpdate|The label of the **Update** button in all editor dialogs.\"\n dialogUpdate=\"Update\"\n i18n-fileText=\"kendo.editor.fileText|The caption for the file text in the insertFile dialog.\"\n fileText=\"Text\"\n i18n-fileTitle=\"kendo.editor.fileTitle|The caption for the file Title in the insertFile dialog.\"\n fileTitle=\"Title\"\n i18n-fileWebAddress=\"kendo.editor.fileWebAddress|The caption for the file URL in the insertFile dialog.\"\n fileWebAddress=\"Web address\"\n i18n-fontFamily=\"kendo.editor.fontFamily|The title of the tool that changes the text font.\"\n fontFamily=\"Select font family\"\n i18n-fontSize=\"kendo.editor.fontSize|The title of the tool that changes the text size.\"\n fontSize=\"Select font size\"\n i18n-foreColor=\"kendo.editor.foreColor|The title of the tool that changes the text color.\"\n foreColor=\"Color\"\n i18n-format=\"kendo.editor.format|The title of the tool that lets users choose block formats.\"\n format=\"Format\"\n i18n-imageAltText=\"kendo.editor.imageAltText|The caption for the image alternate text in the insertImage dialog.\"\n imageAltText=\"Alternate text\"\n i18n-imageHeight=\"kendo.editor.imageHeight|The caption for the image height in the insertImage dialog.\"\n imageHeight=\"Height (px)\"\n i18n-imageWebAddress=\"kendo.editor.imageWebAddress|The caption for the image URL in the insertImage dialog.\"\n imageWebAddress=\"Web address\"\n i18n-imageWidth=\"kendo.editor.imageWidth|The caption for the image width in the insertImage dialog.\"\n imageWidth=\"Width (px)\"\n i18n-indent=\"kendo.editor.indent|The title of the tool that indents the content.\"\n indent=\"Indent\"\n i18n-insertFile=\"kendo.editor.insertFile|The title of the tool that inserts links to files.\"\n insertFile=\"Insert file\"\n i18n-insertImage=\"kendo.editor.insertImage|The title of the tool that inserts images.\"\n insertImage=\"Insert image\"\n i18n-insertOrderedList=\"kendo.editor.insertOrderedList|The title of the tool that inserts an ordered list.\"\n insertOrderedList=\"Insert ordered list\"\n i18n-insertUnorderedList=\"kendo.editor.insertUnorderedList|The title of the tool that inserts an unordered list.\"\n insertUnorderedList=\"Insert unordered list\"\n i18n-italic=\"kendo.editor.italic|The title of the tool that makes text italicized.\"\n italic=\"Italic\"\n i18n-linkOpenInNewWindow=\"kendo.editor.linkOpenInNewWindow|The caption for the checkbox for opening the link in a new window in the createLink dialog.\"\n linkOpenInNewWindow=\"Open link in new window\"\n i18n-linkText=\"kendo.editor.linkText|The caption for the link text in the createLink dialog.\"\n linkText=\"Text\"\n i18n-linkTitle=\"kendo.editor.linkTitle|The caption for the link title in the createLink dialog.\"\n linkTitle=\"Title\"\n i18n-linkWebAddress=\"kendo.editor.linkWebAddress|The caption for the URL in the createLink dialog.\"\n linkWebAddress=\"Web address\"\n i18n-outdent=\"kendo.editor.outdent|The title of the tool that outdents the content.\"\n outdent=\"Outdent\"\n i18n-print=\"kendo.editor.print|The title of the print tool.\"\n print=\"Print\"\n i18n-redo=\"kendo.editor.redo|The title of the tool that undos the last action.\"\n redo=\"Redo\"\n i18n-selectAll=\"kendo.editor.selectAll|The title of the tool that selects all content.\"\n selectAll=\"Select All\"\n i18n-strikethrough=\"kendo.editor.strikethrough|The title of the tool that strikes through text.\"\n strikethrough=\"Strikethrough\"\n i18n-subscript=\"kendo.editor.subscript|The title of the tool that makes text subscript.\"\n subscript=\"Subscript\"\n i18n-superscript=\"kendo.editor.superscript|The title of the tool that makes text superscript.\"\n superscript=\"Superscript\"\n i18n-underline=\"kendo.editor.underline|The title of the tool that underlines text.\"\n underline=\"Underline\"\n i18n-unlink=\"kendo.editor.unlink|The title of the tool that removes hyperlinks.\"\n unlink=\"Remove Link\"\n i18n-undo=\"kendo.editor.undo|The title of the tool that undos the last action.\"\n undo=\"Undo\"\n i18n-viewSource=\"kendo.editor.viewSource|The title of the tool that shows the editor value as HTML.\"\n viewSource=\"View source\"\n i18n-insertTable=\"kendo.editor.insertTable|The title of the tool that inserts table.\"\n insertTable=\"Insert Table\"\n i18n-addColumnBefore=\"kendo.editor.addColumnBefore|The title of the tool that adds new column before currently selected column.\"\n addColumnBefore=\"Add column before\"\n i18n-addColumnAfter=\"kendo.editor.addColumnAfter|The title of the tool that adds new column after currently selected column.\"\n addColumnAfter=\"Add column after\"\n i18n-addRowBefore=\"kendo.editor.addRowBefore|The title of the tool that adds new row before currently selected row.\"\n addRowBefore=\"Add row before\"\n i18n-addRowAfter=\"kendo.editor.addRowAfter|The title of the tool that adds new row after currently selected row.\"\n addRowAfter=\"Add row after\"\n i18n-deleteColumn=\"kendo.editor.deleteColumn|The title of the tool that deletes a table column.\"\n deleteColumn=\"Delete column\"\n i18n-deleteRow=\"kendo.editor.deleteRow|The title of the tool that deletes a table row.\"\n deleteRow=\"Delete row\"\n i18n-deleteTable=\"kendo.editor.deleteTable|The title of the tool that deletes a table.\"\n deleteTable=\"Delete table\"\n >\n </ng-container>\n\n <ng-content select=\"kendo-toolbar\"></ng-content>\n <kendo-toolbar [overflow]=\"true\" [tabindex]=\"readonly ? -1 : 0\" *ngIf=\"!userToolBarElement\" #defaultToolbar>\n <kendo-toolbar-buttongroup>\n <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>\n </kendo-toolbar-buttongroup>\n <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>\n <kendo-toolbar-buttongroup>\n <kendo-toolbar-button kendoEditorAlignLeftButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorAlignCenterButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorAlignRightButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorAlignJustifyButton></kendo-toolbar-button>\n </kendo-toolbar-buttongroup>\n <kendo-toolbar-buttongroup>\n <kendo-toolbar-button kendoEditorInsertUnorderedListButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorInsertOrderedListButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>\n </kendo-toolbar-buttongroup>\n <kendo-toolbar-buttongroup>\n <kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorUnlinkButton></kendo-toolbar-button>\n </kendo-toolbar-buttongroup>\n <kendo-toolbar-button kendoEditorInsertImageButton></kendo-toolbar-button>\n </kendo-toolbar>\n\n <div *ngIf=\"!iframe\" #content [attr.dir]=\"direction\" class=\"k-editor-content\"></div>\n\n <div class=\"k-editor-content\" *ngIf=\"iframe\">\n <iframe #content srcdoc=\"<!DOCTYPE html>\" frameborder=\"0\" class=\"k-iframe\" (load)=\"iframeOnLoad()\"></iframe>\n </div>\n\n <ng-container #dialogsContainer></ng-container>\n ",
1915
+ template: "\n <ng-container\n kendoEditorLocalizedMessages\n i18n-alignCenter=\"kendo.editor.alignCenter|The title of the tool that aligns text in the center.\"\n alignCenter=\"Center text\"\n i18n-alignJustify=\"kendo.editor.alignJustify|The title of the tool that justifies text both left and right.\"\n alignJustify=\"Justify\"\n i18n-alignLeft=\"kendo.editor.alignLeft|The title of the tool that aligns text on the left.\"\n alignLeft=\"Align text left\"\n i18n-alignRight=\"kendo.editor.alignRight|The title of the tool that aligns text on the right.\"\n alignRight=\"Align text right\"\n i18n-backColor=\"kendo.editor.backColor|The title of the tool that changes the text background color.\"\n backColor=\"Background color\"\n i18n-blockquote=\"kendo.editor.blockquote|The title of the tool that wraps an element in a blockquote\"\n blockquote=\"Quotation\"\n i18n-bold=\"kendo.editor.bold|The title of the tool that makes text bold.\"\n bold=\"Bold\"\n i18n-cleanFormatting=\"kendo.editor.cleanFormatting|The title of the Clean Formatting tool.\"\n cleanFormatting=\"Clean formatting\"\n i18n-createLink=\"kendo.editor.createLink|The title of the tool that creates hyperlinks.\"\n createLink=\"Insert link\"\n i18n-dialogApply=\"kendo.editor.dialogApply|The label of the **Apply** button in all editor dialogs.\"\n dialogApply=\"Apply\"\n i18n-dialogCancel=\"kendo.editor.dialogCancel|The label of the **Cancel** button in all editor dialogs.\"\n dialogCancel=\"Cancel\"\n i18n-dialogInsert=\"kendo.editor.dialogInsert|The label of the **Insert** button in all editor dialogs.\"\n dialogInsert=\"Insert\"\n i18n-dialogUpdate=\"kendo.editor.dialogUpdate|The label of the **Update** button in all editor dialogs.\"\n dialogUpdate=\"Update\"\n i18n-fileText=\"kendo.editor.fileText|The caption for the file text in the insertFile dialog.\"\n fileText=\"Text\"\n i18n-fileTitle=\"kendo.editor.fileTitle|The caption for the file Title in the insertFile dialog.\"\n fileTitle=\"Title\"\n i18n-fileWebAddress=\"kendo.editor.fileWebAddress|The caption for the file URL in the insertFile dialog.\"\n fileWebAddress=\"Web address\"\n i18n-fontFamily=\"kendo.editor.fontFamily|The title of the tool that changes the text font.\"\n fontFamily=\"Select font family\"\n i18n-fontSize=\"kendo.editor.fontSize|The title of the tool that changes the text size.\"\n fontSize=\"Select font size\"\n i18n-foreColor=\"kendo.editor.foreColor|The title of the tool that changes the text color.\"\n foreColor=\"Color\"\n i18n-format=\"kendo.editor.format|The title of the tool that lets users choose block formats.\"\n format=\"Format\"\n i18n-imageAltText=\"kendo.editor.imageAltText|The caption for the image alternate text in the insertImage dialog.\"\n imageAltText=\"Alternate text\"\n i18n-imageHeight=\"kendo.editor.imageHeight|The caption for the image height in the insertImage dialog.\"\n imageHeight=\"Height (px)\"\n i18n-imageWebAddress=\"kendo.editor.imageWebAddress|The caption for the image URL in the insertImage dialog.\"\n imageWebAddress=\"Web address\"\n i18n-imageWidth=\"kendo.editor.imageWidth|The caption for the image width in the insertImage dialog.\"\n imageWidth=\"Width (px)\"\n i18n-indent=\"kendo.editor.indent|The title of the tool that indents the content.\"\n indent=\"Indent\"\n i18n-insertFile=\"kendo.editor.insertFile|The title of the tool that inserts links to files.\"\n insertFile=\"Insert file\"\n i18n-insertImage=\"kendo.editor.insertImage|The title of the tool that inserts images.\"\n insertImage=\"Insert image\"\n i18n-insertOrderedList=\"kendo.editor.insertOrderedList|The title of the tool that inserts an ordered list.\"\n insertOrderedList=\"Insert ordered list\"\n i18n-insertUnorderedList=\"kendo.editor.insertUnorderedList|The title of the tool that inserts an unordered list.\"\n insertUnorderedList=\"Insert unordered list\"\n i18n-italic=\"kendo.editor.italic|The title of the tool that makes text italicized.\"\n italic=\"Italic\"\n i18n-linkOpenInNewWindow=\"kendo.editor.linkOpenInNewWindow|The caption for the checkbox for opening the link in a new window in the createLink dialog.\"\n linkOpenInNewWindow=\"Open link in new window\"\n i18n-linkText=\"kendo.editor.linkText|The caption for the link text in the createLink dialog.\"\n linkText=\"Text\"\n i18n-linkTitle=\"kendo.editor.linkTitle|The caption for the link title in the createLink dialog.\"\n linkTitle=\"Title\"\n i18n-linkWebAddress=\"kendo.editor.linkWebAddress|The caption for the URL in the createLink dialog.\"\n linkWebAddress=\"Web address\"\n i18n-outdent=\"kendo.editor.outdent|The title of the tool that outdents the content.\"\n outdent=\"Outdent\"\n i18n-print=\"kendo.editor.print|The title of the print tool.\"\n print=\"Print\"\n i18n-redo=\"kendo.editor.redo|The title of the tool that undos the last action.\"\n redo=\"Redo\"\n i18n-selectAll=\"kendo.editor.selectAll|The title of the tool that selects all content.\"\n selectAll=\"Select All\"\n i18n-strikethrough=\"kendo.editor.strikethrough|The title of the tool that strikes through text.\"\n strikethrough=\"Strikethrough\"\n i18n-subscript=\"kendo.editor.subscript|The title of the tool that makes text subscript.\"\n subscript=\"Subscript\"\n i18n-superscript=\"kendo.editor.superscript|The title of the tool that makes text superscript.\"\n superscript=\"Superscript\"\n i18n-underline=\"kendo.editor.underline|The title of the tool that underlines text.\"\n underline=\"Underline\"\n i18n-unlink=\"kendo.editor.unlink|The title of the tool that removes hyperlinks.\"\n unlink=\"Remove Link\"\n i18n-undo=\"kendo.editor.undo|The title of the tool that undos the last action.\"\n undo=\"Undo\"\n i18n-viewSource=\"kendo.editor.viewSource|The title of the tool that shows the editor value as HTML.\"\n viewSource=\"View source\"\n i18n-insertTable=\"kendo.editor.insertTable|The title of the tool that inserts table.\"\n insertTable=\"Insert Table\"\n i18n-addColumnBefore=\"kendo.editor.addColumnBefore|The title of the tool that adds new column before currently selected column.\"\n addColumnBefore=\"Add column before\"\n i18n-addColumnAfter=\"kendo.editor.addColumnAfter|The title of the tool that adds new column after currently selected column.\"\n addColumnAfter=\"Add column after\"\n i18n-addRowBefore=\"kendo.editor.addRowBefore|The title of the tool that adds new row before currently selected row.\"\n addRowBefore=\"Add row before\"\n i18n-addRowAfter=\"kendo.editor.addRowAfter|The title of the tool that adds new row after currently selected row.\"\n addRowAfter=\"Add row after\"\n i18n-deleteColumn=\"kendo.editor.deleteColumn|The title of the tool that deletes a table column.\"\n deleteColumn=\"Delete column\"\n i18n-deleteRow=\"kendo.editor.deleteRow|The title of the tool that deletes a table row.\"\n deleteRow=\"Delete row\"\n i18n-deleteTable=\"kendo.editor.deleteTable|The title of the tool that deletes a table.\"\n deleteTable=\"Delete table\"\n >\n </ng-container>\n\n <ng-content select=\"kendo-toolbar\"></ng-content>\n <kendo-toolbar [overflow]=\"true\" [tabindex]=\"readonly ? -1 : 0\" *ngIf=\"!userToolBarElement\" #defaultToolbar>\n <kendo-toolbar-buttongroup>\n <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>\n </kendo-toolbar-buttongroup>\n <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>\n <kendo-toolbar-buttongroup>\n <kendo-toolbar-button kendoEditorAlignLeftButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorAlignCenterButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorAlignRightButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorAlignJustifyButton></kendo-toolbar-button>\n </kendo-toolbar-buttongroup>\n <kendo-toolbar-buttongroup>\n <kendo-toolbar-button kendoEditorInsertUnorderedListButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorInsertOrderedListButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>\n </kendo-toolbar-buttongroup>\n <kendo-toolbar-buttongroup>\n <kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>\n <kendo-toolbar-button kendoEditorUnlinkButton></kendo-toolbar-button>\n </kendo-toolbar-buttongroup>\n <kendo-toolbar-button kendoEditorInsertImageButton></kendo-toolbar-button>\n </kendo-toolbar>\n\n <div *ngIf=\"!iframe\" #content [attr.dir]=\"direction\" class=\"k-editor-content\"></div>\n\n <div class=\"k-editor-content\" *ngIf=\"iframe\">\n <iframe #content srcdoc=\"<!DOCTYPE html>\" frameborder=\"0\" class=\"k-iframe\" (load)=\"iframeOnLoad()\"></iframe>\n </div>\n\n <ng-container #dialogsContainer></ng-container>\n ",
1905
1916
  styles: [
1906
1917
  "\n >>> .k-editor-content > .ProseMirror {\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n outline: none;\n overflow: auto;\n }\n\n .k-iframe {\n width: 100%;\n height: 100%;\n display: block;\n }\n "
1907
1918
  ]
@@ -1973,7 +1984,7 @@ var FormatDropDownListComponent = /** @class */ (function () {
1973
1984
  Component({
1974
1985
  // tslint:disable-next-line:no-forward-ref
1975
1986
  selector: 'kendo-editor-format-dropdownlist',
1976
- template: "\n <kendo-dropdownlist\n #element\n kendoEditorDropDownTool\n [defaultItem]=\"defaultItem\"\n [textField]=\"'text'\"\n [valueField]=\"'tag'\"\n [data]=\"data\"\n [(value)]=\"value\"\n [valuePrimitive]=\"true\"\n [itemDisabled]=\"itemDisabled\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-template kendoDropDownListItemTemplate let-dataItem>\n <ng-container [ngSwitch]=\"dataItem.tag\">\n <span *ngSwitchCase=\"'h1'\" style=\"display: block; font-size: 2em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h2'\" style=\"display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h3'\" style=\"display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h4'\" style=\"display: block; font-size: 1em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h5'\" style=\"display: block; font-size: .83em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h6'\" style=\"display: block; font-size: .67em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'p'\" style=\"display: block; margin-left: 0;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'blockquote'\" style=\"display: block; margin-left: 0;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchDefault>{{ dataItem.text }}</span>\n </ng-container>\n </ng-template>\n </kendo-dropdownlist>\n "
1987
+ template: "\n <kendo-dropdownlist\n #element\n kendoEditorDropDownTool\n [defaultItem]=\"defaultItem\"\n [textField]=\"'text'\"\n [valueField]=\"'tag'\"\n [data]=\"data\"\n [(value)]=\"value\"\n [valuePrimitive]=\"true\"\n [itemDisabled]=\"itemDisabled\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-template kendoDropDownListItemTemplate let-dataItem>\n <ng-container [ngSwitch]=\"dataItem.tag\">\n <span *ngSwitchCase=\"'h1'\" style=\"display: block; font-size: 2em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h2'\" style=\"display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h3'\" style=\"display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h4'\" style=\"display: block; font-size: 1em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h5'\" style=\"display: block; font-size: .83em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'h6'\" style=\"display: block; font-size: .67em; margin-left: 0; font-weight: bold;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchCase=\"'p'\" style=\"display: block; margin-left: 0;\">\n {{ dataItem.text }}\n </span>\n\n <span *ngSwitchDefault>{{ dataItem.text }}</span>\n </ng-container>\n </ng-template>\n </kendo-dropdownlist>\n "
1977
1988
  })
1978
1989
  ], FormatDropDownListComponent);
1979
1990
  return FormatDropDownListComponent;
@@ -2085,7 +2096,7 @@ var ColorPickerDialogComponent = /** @class */ (function (_super) {
2085
2096
  ], ColorPickerDialogComponent.prototype, "colorPicker", void 0);
2086
2097
  ColorPickerDialogComponent = __decorate([
2087
2098
  Component({
2088
- template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor(editorCommand) }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\" style=\"text-align: center;\">\n <kendo-colorpicker\n #colorpicker\n [view]=\"view\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [(value)]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n >\n </kendo-colorpicker>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogApply') }}</button>\n </kendo-dialog-actions>\n "
2099
+ template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor(editorCommand) }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\" style=\"text-align: center;\">\n <kendo-colorpicker\n #colorpicker\n [views]=\"['palette']\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [(value)]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n >\n </kendo-colorpicker>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogApply') }}</button>\n </kendo-dialog-actions>\n "
2089
2100
  }),
2090
2101
  __metadata("design:paramtypes", [DialogRef,
2091
2102
  EditorLocalizationService])
@@ -2278,7 +2289,6 @@ var EditorFormatComponent = /** @class */ (function (_super) {
2278
2289
  _this.valueChange = new EventEmitter();
2279
2290
  _this._data = [
2280
2291
  { text: 'Paragraph', tag: 'p' },
2281
- { text: 'Quotation', tag: 'blockquote' },
2282
2292
  { text: 'Heading 1', tag: 'h1' },
2283
2293
  { text: 'Heading 2', tag: 'h2' },
2284
2294
  { text: 'Heading 3', tag: 'h3' },
@@ -2967,14 +2977,26 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
2967
2977
  */
2968
2978
  _this.disabled = false;
2969
2979
  /**
2970
- * Specifies whether the ColorPicker will render a gradient, palette or combo view.
2980
+ * Specifies whether the ColorPicker will render a gradient, palette, or both in its popup.
2971
2981
  *
2972
- * @default 'palette'
2982
+ * @default ['palette']
2973
2983
  */
2974
- _this.view = 'palette';
2984
+ _this.views = ['palette'];
2975
2985
  return _this;
2976
2986
  }
2977
2987
  EditorColorPickerComponent_1 = EditorColorPickerComponent;
2988
+ Object.defineProperty(EditorColorPickerComponent.prototype, "view", {
2989
+ /**
2990
+ * @hidden
2991
+ *
2992
+ * For backward compatibility with configurations using the deprecated "view" input.
2993
+ */
2994
+ set: function (view) {
2995
+ this.views = [view];
2996
+ },
2997
+ enumerable: true,
2998
+ configurable: true
2999
+ });
2978
3000
  Object.defineProperty(EditorColorPickerComponent.prototype, "title", {
2979
3001
  /**
2980
3002
  * @hidden
@@ -3056,7 +3078,7 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
3056
3078
  editorCommand: this.editorCommand,
3057
3079
  paletteSettings: this.paletteSettings,
3058
3080
  icon: this.icon,
3059
- view: this.view
3081
+ views: this.views
3060
3082
  });
3061
3083
  };
3062
3084
  /**
@@ -3107,8 +3129,13 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
3107
3129
  ], EditorColorPickerComponent.prototype, "disabled", void 0);
3108
3130
  __decorate([
3109
3131
  Input(),
3110
- __metadata("design:type", String)
3111
- ], EditorColorPickerComponent.prototype, "view", void 0);
3132
+ __metadata("design:type", Array)
3133
+ ], EditorColorPickerComponent.prototype, "views", void 0);
3134
+ __decorate([
3135
+ Input(),
3136
+ __metadata("design:type", String),
3137
+ __metadata("design:paramtypes", [String])
3138
+ ], EditorColorPickerComponent.prototype, "view", null);
3112
3139
  __decorate([
3113
3140
  ViewChild('toolbarTemplate', { static: true }),
3114
3141
  __metadata("design:type", TemplateRef)
@@ -3133,7 +3160,7 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
3133
3160
  Component({
3134
3161
  providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(function () { return EditorColorPickerComponent_1; }) }],
3135
3162
  selector: 'kendo-toolbar-colorpicker',
3136
- template: "\n <ng-template #toolbarTemplate>\n <kendo-colorpicker\n #colorpicker\n [view]=\"view\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [value]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (valueChange)=\"handleValueChange($event)\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n (open)=\"onOpen(colorpicker)\"\n (close)=\"onClose(colorpicker)\"\n >\n </kendo-colorpicker>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n tabindex=\"-1\"\n type=\"button\"\n kendoButton\n #colorPickerButton\n class=\"k-overflow-button\"\n [icon]=\"icon\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (click)=\"openDialog()\"\n >\n {{ title }}\n </button>\n </ng-template>\n "
3163
+ template: "\n <ng-template #toolbarTemplate>\n <kendo-colorpicker\n #colorpicker\n [views]=\"['palette']\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [value]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (valueChange)=\"handleValueChange($event)\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n (open)=\"onOpen(colorpicker)\"\n (close)=\"onClose(colorpicker)\"\n >\n </kendo-colorpicker>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n tabindex=\"-1\"\n type=\"button\"\n kendoButton\n #colorPickerButton\n class=\"k-overflow-button\"\n [icon]=\"icon\"\n [attr.title]=\"title\"\n [disabled]=\"disabled\"\n [tabindex]=\"tabindex\"\n (click)=\"openDialog()\"\n >\n {{ title }}\n </button>\n </ng-template>\n "
3137
3164
  }),
3138
3165
  __param(0, Host()),
3139
3166
  __metadata("design:paramtypes", [EditorComponent,
@@ -3387,7 +3414,7 @@ var PopupTableGridComponent = /** @class */ (function () {
3387
3414
  PopupTableGridComponent = __decorate([
3388
3415
  Component({
3389
3416
  selector: 'kendo-popup-table-grid',
3390
- template: "\n <div style=\"border-color: inherit;\" (mouseleave)=\"resetState()\" (click)=\"insertTable()\">\n <span *ngFor=\"let i of cells\"\n class=\"k-ct-cell\"\n [class.k-state-selected]=\"selected(i)\"\n [class.k-state-disabled]=\"!selected(i)\"\n (mouseenter)=\"setState(i)\">\n </span>\n </div>\n <div class=\"k-status\" unselectable=\"on\">{{ message }}</div>\n <!-- uncomment when TableWizard is completed\n <div class=\"k-editor-toolbar\" unselectable=\"on\">\n <button type=\"button\" kendoButton class=\"k-tool\" [icon]=\"'table-wizard'\" (click)=\"openTableWizard()\" title=\"Table Wizard\">Table Wizard</button>\n </div>\n -->\n "
3417
+ template: "\n <div style=\"border-color: inherit;\" (mouseleave)=\"resetState()\" (click)=\"insertTable()\">\n <span *ngFor=\"let i of cells\"\n class=\"k-ct-cell\"\n [class.k-selected]=\"selected(i)\"\n [class.k-disabled]=\"!selected(i)\"\n (mouseenter)=\"setState(i)\">\n </span>\n </div>\n <div class=\"k-status\" unselectable=\"on\">{{ message }}</div>\n <!-- uncomment when TableWizard is completed\n <div class=\"k-editor-toolbar\" unselectable=\"on\">\n <button type=\"button\" kendoButton class=\"k-tool\" [icon]=\"'table-wizard'\" (click)=\"openTableWizard()\" title=\"Table Wizard\">Table Wizard</button>\n </div>\n -->\n "
3391
3418
  })
3392
3419
  ], PopupTableGridComponent);
3393
3420
  return PopupTableGridComponent;
@@ -3402,6 +3429,7 @@ var commandIcons = {
3402
3429
  alignLeft: 'align-left',
3403
3430
  alignRight: 'align-right',
3404
3431
  backColor: 'background',
3432
+ blockquote: 'blockquote',
3405
3433
  bold: 'bold',
3406
3434
  cleanFormatting: 'clear-css',
3407
3435
  createLink: 'link-horizontal',
@@ -3653,6 +3681,43 @@ var EditorAlignJustifyButtonDirective = /** @class */ (function (_super) {
3653
3681
  return EditorAlignJustifyButtonDirective;
3654
3682
  }(EditorCommandButton));
3655
3683
 
3684
+ /**
3685
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor Blockquote tool
3686
+ * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
3687
+ * The directive will predefine the `icon` and `click` event handlers of the button.
3688
+ *
3689
+ * @example
3690
+ * ```ts-no-run
3691
+ * <kendo-toolbar-button kendoEditorBlockquoteButton></kendo-toolbar-button>
3692
+ * ```
3693
+ *
3694
+ * The following example demonstrates how to change the default icon that is applied by the directive.
3695
+ *
3696
+ * @example
3697
+ * ```ts-no-run
3698
+ * <kendo-toolbar-button kendoEditorBlockquoteButton icon="blogger"></kendo-toolbar-button>
3699
+ * ```
3700
+ */
3701
+ var EditorBlockquoteDirective = /** @class */ (function (_super) {
3702
+ __extends(EditorBlockquoteDirective, _super);
3703
+ function EditorBlockquoteDirective(button, editor, localization, toolsService) {
3704
+ var _this = _super.call(this, 'blockquote', button, editor, localization, toolsService) || this;
3705
+ _this.editor = editor;
3706
+ return _this;
3707
+ }
3708
+ EditorBlockquoteDirective = __decorate([
3709
+ Directive({
3710
+ selector: 'kendo-toolbar-button[kendoEditorBlockquoteButton]'
3711
+ }),
3712
+ __param(1, Host()),
3713
+ __metadata("design:paramtypes", [ToolBarButtonComponent,
3714
+ EditorComponent,
3715
+ EditorLocalizationService,
3716
+ EditorToolsService])
3717
+ ], EditorBlockquoteDirective);
3718
+ return EditorBlockquoteDirective;
3719
+ }(EditorCommandButton));
3720
+
3656
3721
  /**
3657
3722
  * A directive which configures an existing `ToolBarButtonComponent` as an Editor Redo tool
3658
3723
  * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
@@ -4647,6 +4712,10 @@ var Messages = /** @class */ (function (_super) {
4647
4712
  Input(),
4648
4713
  __metadata("design:type", String)
4649
4714
  ], Messages.prototype, "backColor", void 0);
4715
+ __decorate([
4716
+ Input(),
4717
+ __metadata("design:type", String)
4718
+ ], Messages.prototype, "blockquote", void 0);
4650
4719
  __decorate([
4651
4720
  Input(),
4652
4721
  __metadata("design:type", String)
@@ -5082,7 +5151,9 @@ var COMPONENT_DIRECTIVES = [
5082
5151
  // print
5083
5152
  EditorPrintDirective,
5084
5153
  // select all
5085
- EditorSelectAllButtonDirective
5154
+ EditorSelectAllButtonDirective,
5155
+ // blockquote
5156
+ EditorBlockquoteDirective
5086
5157
  ];
5087
5158
  var TOOLBAR_TOOLS = [
5088
5159
  EditorFontSizeComponent,
@@ -5187,6 +5258,7 @@ var EditorModule = /** @class */ (function () {
5187
5258
  DialogModule,
5188
5259
  DropDownsModule,
5189
5260
  NumericTextBoxModule,
5261
+ CheckBoxModule,
5190
5262
  ToolBarModule,
5191
5263
  TextBoxModule
5192
5264
  ]
@@ -5199,4 +5271,4 @@ var EditorModule = /** @class */ (function () {
5199
5271
  * Generated bundle index. Do not edit.
5200
5272
  */
5201
5273
 
5202
- export { ColorPickerDialogComponent, FileLinkDialogComponent, FontFamilyDialogComponent, FontSizeDialogComponent, FormatDialogComponent, ImageDialogComponent, InsertTableDialogComponent, SourceDialogComponent, CustomMessagesComponent, EditorLocalizationService, LocalizedMessagesDirective, Messages, EditorAlignCenterButtonDirective, EditorAlignJustifyButtonDirective, EditorAlignLeftButtonDirective, EditorAlignRightButtonDirective, EditorBackColorDirective, EditorColorPickerComponent, EditorForeColorDirective, EditorCleanFormattingButtonDirective, FontFamilyDropDownListComponent, EditorFontFamilyComponent, FontSizeDropDownListComponent, EditorFontSizeComponent, FormatDropDownListComponent, EditorFormatComponent, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorInsertFileButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorPrintDirective, EditorSelectAllButtonDirective, DropDownToolDirective, EditorCommandBase, EditorCommandButton, EditorCommandDialog, EditorViewSourceButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective, PopupTableGridComponent, EditorToolsService, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorUnderlineButtonDirective, EditorComponent, EditorModule, schema, EditorPasteEvent };
5274
+ export { semanticNodes, semanticTagNames, ColorPickerDialogComponent, FileLinkDialogComponent, FontFamilyDialogComponent, FontSizeDialogComponent, FormatDialogComponent, ImageDialogComponent, InsertTableDialogComponent, SourceDialogComponent, CustomMessagesComponent, EditorLocalizationService, LocalizedMessagesDirective, Messages, EditorAlignCenterButtonDirective, EditorAlignJustifyButtonDirective, EditorAlignLeftButtonDirective, EditorAlignRightButtonDirective, EditorBlockquoteDirective, EditorBackColorDirective, EditorColorPickerComponent, EditorForeColorDirective, EditorCleanFormattingButtonDirective, FontFamilyDropDownListComponent, EditorFontFamilyComponent, FontSizeDropDownListComponent, EditorFontSizeComponent, FormatDropDownListComponent, EditorFormatComponent, EditorRedoButtonDirective, EditorUndoButtonDirective, EditorInsertImageButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorInsertFileButtonDirective, EditorUnlinkButtonDirective, EditorInsertOrderedListButtonDirective, EditorInsertUnorderedListButtonDirective, EditorPrintDirective, EditorSelectAllButtonDirective, DropDownToolDirective, EditorCommandBase, EditorCommandButton, EditorCommandDialog, EditorViewSourceButtonDirective, EditorAddColumnAfterButtonDirective, EditorAddColumnBeforeButtonDirective, EditorAddRowAfterButtonDirective, EditorAddRowBeforeButtonDirective, EditorDeleteColumnButtonDirective, EditorDeleteRowButtonDirective, EditorDeleteTableButtonDirective, EditorInsertTableButtonComponent, EditorMergeCellsButtonDirective, EditorSplitCellButtonDirective, PopupTableGridComponent, EditorToolsService, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorStrikethroughButtonDirective, EditorSubscriptButtonDirective, EditorSuperscriptButtonDirective, EditorUnderlineButtonDirective, EditorComponent, EditorModule, schema, EditorPasteEvent };
@@ -17,6 +17,6 @@ exports.EditorErrorMessages = {
17
17
  pluginsCallbackType: ɵ0,
18
18
  pastedContentCallbackType: ɵ1,
19
19
  setPluginsOnce: 'The plugins cannot be changed dynamically. See http://www.telerik.com/kendo-angular-ui/components/editor/plugins/',
20
- setPlaceHolderOnce: 'The placeholder cannot be changed dynamically. See http://www.telerik.com/kendo-angular-ui/components/editor/placeholder/',
20
+ setPlaceHolderOnce: 'The placeholder cannot be changed dynamically. See https://www.telerik.com/kendo-angular-ui/components/editor/plugins/#toc-custom-plugins/',
21
21
  printTool: 'The Print tool and functionality are supported only in iframe mode. See https://www.telerik.com/kendo-angular-ui-develop/components/editor/api/EditorPrintButtonDirective/'
22
22
  };
@@ -13,6 +13,7 @@ exports.commandIcons = {
13
13
  alignLeft: 'align-left',
14
14
  alignRight: 'align-right',
15
15
  backColor: 'background',
16
+ blockquote: 'blockquote',
16
17
  bold: 'bold',
17
18
  cleanFormatting: 'clear-css',
18
19
  createLink: 'link-horizontal',
@@ -48,7 +48,7 @@ var inlineCommand = {
48
48
  var ɵ17 = function () { return function (state, dispatch) { return kendo_editor_common_1.isAligned(state, kendo_editor_common_1.alignCenterRules) ? alignRemove(state, dispatch) : kendo_editor_common_1.alignBlocks(kendo_editor_common_1.alignCenterRules)(state, dispatch); }; }, ɵ18 = function () { return function (state, dispatch) { return kendo_editor_common_1.isAligned(state, kendo_editor_common_1.alignJustifyRules) ? alignRemove(state, dispatch) : kendo_editor_common_1.alignBlocks(kendo_editor_common_1.alignJustifyRules)(state, dispatch); }; }, ɵ19 = function () { return function (state, dispatch) { return kendo_editor_common_1.isAligned(state, kendo_editor_common_1.alignLeftRules) ? alignRemove(state, dispatch) : kendo_editor_common_1.alignBlocks(kendo_editor_common_1.alignLeftRules)(state, dispatch); }; }, ɵ20 = function () { return function (state, dispatch) { return kendo_editor_common_1.isAligned(state, kendo_editor_common_1.alignRightRules) ? alignRemove(state, dispatch) : kendo_editor_common_1.alignBlocks(kendo_editor_common_1.alignRightRules)(state, dispatch); }; }, ɵ21 = function (formatAttr) { return kendo_editor_common_1.formatBlockElements(formatAttr.tag); }, ɵ22 = function () { return kendo_editor_common_1.getHtml; }, ɵ23 = function () { return kendo_editor_common_1.indent; }, ɵ24 = function (attrs) { return kendo_editor_common_1.insertImage(attrs); }, ɵ25 = function () { return kendo_editor_common_1.toggleOrderedList; }, ɵ26 = function () { return kendo_editor_common_1.toggleUnorderedList; }, ɵ27 = function () { return kendo_editor_common_1.outdent; }, ɵ28 = function () { return kendo_editor_common_1.redo; }, ɵ29 = function (_a) {
49
49
  var content = _a.content, parseOptions = _a.parseOptions;
50
50
  return kendo_editor_common_1.setHtml(content, 'setHTML', parseOptions);
51
- }, ɵ30 = function () { return kendo_editor_common_1.undo; };
51
+ }, ɵ30 = function () { return kendo_editor_common_1.undo; }, ɵ31 = function () { return kendo_editor_common_1.blockquote; };
52
52
  exports.ɵ17 = ɵ17;
53
53
  exports.ɵ18 = ɵ18;
54
54
  exports.ɵ19 = ɵ19;
@@ -63,6 +63,7 @@ exports.ɵ27 = ɵ27;
63
63
  exports.ɵ28 = ɵ28;
64
64
  exports.ɵ29 = ɵ29;
65
65
  exports.ɵ30 = ɵ30;
66
+ exports.ɵ31 = ɵ31;
66
67
  var blockCommand = {
67
68
  alignCenter: ɵ17,
68
69
  alignJustify: ɵ18,
@@ -79,10 +80,10 @@ var blockCommand = {
79
80
  outdent: ɵ27,
80
81
  redo: ɵ28,
81
82
  setHTML: ɵ29,
82
- undo: ɵ30
83
+ undo: ɵ30,
84
+ blockquote: ɵ31
83
85
  };
84
- var ɵ31 = function (attr) { return table_commands_1.insertTable(attr); }, ɵ32 = function () { return kendo_editor_common_1.addColumnBefore; }, ɵ33 = function () { return kendo_editor_common_1.addColumnAfter; }, ɵ34 = function () { return kendo_editor_common_1.addRowBefore; }, ɵ35 = function () { return kendo_editor_common_1.addRowAfter; }, ɵ36 = function () { return kendo_editor_common_1.deleteRow; }, ɵ37 = function () { return kendo_editor_common_1.deleteColumn; }, ɵ38 = function () { return kendo_editor_common_1.mergeCells; }, ɵ39 = function () { return kendo_editor_common_1.splitCell; }, ɵ40 = function () { return kendo_editor_common_1.deleteTable; };
85
- exports.ɵ31 = ɵ31;
86
+ var ɵ32 = function (attr) { return table_commands_1.insertTable(attr); }, ɵ33 = function () { return kendo_editor_common_1.addColumnBefore; }, ɵ34 = function () { return kendo_editor_common_1.addColumnAfter; }, ɵ35 = function () { return kendo_editor_common_1.addRowBefore; }, ɵ36 = function () { return kendo_editor_common_1.addRowAfter; }, ɵ37 = function () { return kendo_editor_common_1.deleteRow; }, ɵ38 = function () { return kendo_editor_common_1.deleteColumn; }, ɵ39 = function () { return kendo_editor_common_1.mergeCells; }, ɵ40 = function () { return kendo_editor_common_1.splitCell; }, ɵ41 = function () { return kendo_editor_common_1.deleteTable; };
86
87
  exports.ɵ32 = ɵ32;
87
88
  exports.ɵ33 = ɵ33;
88
89
  exports.ɵ34 = ɵ34;
@@ -92,17 +93,18 @@ exports.ɵ37 = ɵ37;
92
93
  exports.ɵ38 = ɵ38;
93
94
  exports.ɵ39 = ɵ39;
94
95
  exports.ɵ40 = ɵ40;
96
+ exports.ɵ41 = ɵ41;
95
97
  var tableCommand = {
96
- insertTable: ɵ31,
97
- addColumnBefore: ɵ32,
98
- addColumnAfter: ɵ33,
99
- addRowBefore: ɵ34,
100
- addRowAfter: ɵ35,
101
- deleteRow: ɵ36,
102
- deleteColumn: ɵ37,
103
- mergeCells: ɵ38,
104
- splitCell: ɵ39,
105
- deleteTable: ɵ40
98
+ insertTable: ɵ32,
99
+ addColumnBefore: ɵ33,
100
+ addColumnAfter: ɵ34,
101
+ addRowBefore: ɵ35,
102
+ addRowAfter: ɵ36,
103
+ deleteRow: ɵ37,
104
+ deleteColumn: ɵ38,
105
+ mergeCells: ɵ39,
106
+ splitCell: ɵ40,
107
+ deleteTable: ɵ41
106
108
  };
107
109
  /**
108
110
  * @hidden
@@ -4,7 +4,6 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  "use strict";
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- var tslib_1 = require("tslib");
8
7
  var semantic_nodes_1 = require("./semantic-nodes");
9
8
  var kendo_editor_common_1 = require("@progress/kendo-editor-common");
10
9
  exports.Schema = kendo_editor_common_1.Schema;
@@ -18,5 +17,5 @@ var nodes = Object.assign(kendo_editor_common_1.nodes, semantic_nodes_1.semantic
18
17
  */
19
18
  exports.schema = new kendo_editor_common_1.Schema({
20
19
  marks: marks,
21
- nodes: tslib_1.__assign({}, nodes, { blockquote: tslib_1.__assign({}, nodes.blockquote, { content: 'inline*' }) })
20
+ nodes: nodes
22
21
  });
@@ -61,7 +61,7 @@ var ColorPickerDialogComponent = /** @class */ (function (_super) {
61
61
  ], ColorPickerDialogComponent.prototype, "colorPicker", void 0);
62
62
  ColorPickerDialogComponent = tslib_1.__decorate([
63
63
  core_1.Component({
64
- template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor(editorCommand) }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\" style=\"text-align: center;\">\n <kendo-colorpicker\n #colorpicker\n [view]=\"view\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [(value)]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n >\n </kendo-colorpicker>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogApply') }}</button>\n </kendo-dialog-actions>\n "
64
+ template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor(editorCommand) }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\" style=\"text-align: center;\">\n <kendo-colorpicker\n #colorpicker\n [views]=\"['palette']\"\n [format]=\"'hex'\"\n [attr.title]=\"title\"\n [icon]=\"icon\"\n [(value)]=\"value\"\n [paletteSettings]=\"paletteSettings\"\n (activeColorClick)=\"handleActiveColorClick($event)\"\n >\n </kendo-colorpicker>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton\n (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogApply') }}</button>\n </kendo-dialog-actions>\n "
65
65
  }),
66
66
  tslib_1.__metadata("design:paramtypes", [kendo_angular_dialog_1.DialogRef,
67
67
  editor_localization_service_1.EditorLocalizationService])
@@ -119,7 +119,7 @@ var FileLinkDialogComponent = /** @class */ (function (_super) {
119
119
  ], FileLinkDialogComponent.prototype, "hrefInput", void 0);
120
120
  FileLinkDialogComponent = tslib_1.__decorate([
121
121
  core_1.Component({
122
- template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ titleText }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <form novalidate [formGroup]=\"linkForm\">\n <div class=\"k-edit-label\">\n <label (click)=\"hrefInput.focus()\">{{ textForWithPrefix('WebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #hrefInput formControlName=\"href\" type=\"text\" class=\"k-textbox\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"textInput.focus()\">{{ textForWithPrefix('Text') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #textInput formControlName=\"text\" type=\"text\" class=\"k-textbox\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"titleInput.focus()\">{{ textForWithPrefix('Title') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #titleInput formControlName=\"title\" type=\"text\" class=\"k-textbox\" />\n </div>\n <ng-container *ngIf=\"command === 'createLink'\">\n <div class=\"k-edit-label\"></div>\n <div class=\"k-edit-field\">\n <input type=\"checkbox\" id=\"k-target-blank\" class=\"k-checkbox\" formControlName=\"target\" />\n <label class=\"k-checkbox-label\" for=\"k-target-blank\">{{ textForWithPrefix('OpenInNewWindow') }}</label>\n </div>\n </ng-container>\n </form>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"linkForm.invalid\" (click)=\"onConfirmAction()\" [primary]=\"true\">\n {{ textFor('dialogInsert') }}\n </button>\n </kendo-dialog-actions>\n "
122
+ template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ titleText }}\n </kendo-dialog-titlebar>\n <div class=\"k-editor-dialog\">\n <div class=\"k-editor-dialog k-popup-edit-form k-window-content k-content\">\n <div class=\"k-edit-form-container k-window-content\">\n <form novalidate [formGroup]=\"linkForm\">\n <div class=\"k-edit-label\">\n <label (click)=\"hrefInput.focus()\">{{ textForWithPrefix('WebAddress') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #hrefInput formControlName=\"href\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"textInput.focus()\">{{ textForWithPrefix('Text') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #textInput formControlName=\"text\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n\n <div class=\"k-edit-label\">\n <label (click)=\"titleInput.focus()\">{{ textForWithPrefix('Title') }}</label>\n </div>\n <div class=\"k-edit-field\">\n <input #titleInput formControlName=\"title\" type=\"text\" class=\"k-textbox k-input k-rounded-md\" />\n </div>\n <ng-container *ngIf=\"command === 'createLink'\">\n <div class=\"k-edit-label\"></div>\n <div class=\"k-edit-field\">\n <input type=\"checkbox\" id=\"k-target-blank\" kendoCheckBox formControlName=\"target\" />\n <label class=\"k-checkbox-label\" for=\"k-target-blank\">{{ textForWithPrefix('OpenInNewWindow') }}</label>\n </div>\n </ng-container>\n </form>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton [disabled]=\"linkForm.invalid\" (click)=\"onConfirmAction()\" [primary]=\"true\">\n {{ textFor('dialogInsert') }}\n </button>\n </kendo-dialog-actions>\n "
123
123
  }),
124
124
  tslib_1.__metadata("design:paramtypes", [kendo_angular_dialog_1.DialogRef, editor_localization_service_1.EditorLocalizationService])
125
125
  ], FileLinkDialogComponent);