@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
@@ -94,7 +94,7 @@ var ImageDialogComponent = /** @class */ (function (_super) {
94
94
  ], ImageDialogComponent.prototype, "srcInput", void 0);
95
95
  ImageDialogComponent = tslib_1.__decorate([
96
96
  core_1.Component({
97
- 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 "
97
+ 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 "
98
98
  }),
99
99
  tslib_1.__metadata("design:paramtypes", [kendo_angular_dialog_1.DialogRef,
100
100
  editor_localization_service_1.EditorLocalizationService])
@@ -38,6 +38,10 @@ exports.getToolbarState = function (state, options) { return ({
38
38
  selected: kendo_editor_common_2.activeNode(state),
39
39
  disabled: false
40
40
  },
41
+ blockquote: {
42
+ selected: false,
43
+ disabled: !kendo_editor_common_1.blockquote(state)
44
+ },
41
45
  indent: {
42
46
  selected: false,
43
47
  disabled: !(kendo_editor_common_2.canIndentAsListItem(state, state.schema.nodes.list_item) || kendo_editor_common_2.canBeIndented(state, kendo_editor_common_2.indentRules))
@@ -60,7 +64,11 @@ exports.getToolbarState = function (state, options) { return ({
60
64
  },
61
65
  outdent: {
62
66
  selected: false,
63
- disabled: !(kendo_editor_common_2.canOutdentAsListItem(state, kendo_editor_common_2.outdentRules) || kendo_editor_common_2.canBeIndented(state, kendo_editor_common_2.outdentRules))
67
+ get disabled() {
68
+ return !(kendo_editor_common_2.hasNode(state, state.schema.nodes.blockquote) ||
69
+ kendo_editor_common_2.canOutdentAsListItem(state, kendo_editor_common_2.outdentRules) ||
70
+ kendo_editor_common_1.isIndented(state, kendo_editor_common_2.outdentRules.nodes));
71
+ }
64
72
  },
65
73
  redo: {
66
74
  selected: false,
@@ -186,6 +194,7 @@ exports.initialToolBarState = {
186
194
  format: { selected: { text: 'Format', tag: null }, disabled: false },
187
195
  style: { selected: { marks: [], hasNodesWithoutMarks: false }, disabled: false },
188
196
  cleanFormatting: { selected: false, disabled: true },
197
+ blockquote: { selected: false, disabled: false },
189
198
  //indent
190
199
  indent: { selected: false, disabled: false },
191
200
  outdent: { selected: false, disabled: false },
@@ -238,6 +247,7 @@ exports.disabledToolBarState = {
238
247
  format: { selected: { text: 'Format', tag: null }, disabled: true },
239
248
  style: { selected: { marks: [], hasNodesWithoutMarks: false }, disabled: true },
240
249
  cleanFormatting: { selected: false, disabled: true },
250
+ blockquote: { selected: false, disabled: true },
241
251
  //indent
242
252
  indent: { selected: false, disabled: true },
243
253
  outdent: { selected: false, disabled: true },
@@ -507,7 +507,7 @@ var EditorComponent = /** @class */ (function () {
507
507
  * @param {any} attr - Optional parameters for the command. Apart from the following list,
508
508
  * the parameters do not expect specific attributes when you call them:
509
509
  * - `format` - Accepts an object with the `tag` property.
510
- * The supported tags are `p`, `blockquote`, and any of the `h1` to `h6` heading tags.
510
+ * The supported tags are `p` and any of the `h1` to `h6` heading tags.
511
511
  * - `createLink` - Accepts an object with the `href`, `title`, and `target` properties. The `href` property is mandatory.
512
512
  * - `setHTML` - Accepts a `string` parameter.
513
513
  * - `insertTable` - Accepts an object with the `rows` and `cols` properties. The number values are zero based.
@@ -764,7 +764,7 @@ var EditorComponent = /** @class */ (function () {
764
764
  this.subs.add(rxjs_1.fromEvent(containerElement, 'focusin')
765
765
  .subscribe(function () {
766
766
  if (_this.readonly) {
767
- contentAreaClasslist_1.add('k-state-focused');
767
+ contentAreaClasslist_1.add('k-focus');
768
768
  }
769
769
  if (!_this.focusChangedProgrammatically || _this.shouldEmitFocus) {
770
770
  _this.ngZone.run(function () { return _this.onFocus.emit(); });
@@ -774,7 +774,7 @@ var EditorComponent = /** @class */ (function () {
774
774
  this.subs.add(rxjs_1.fromEvent(containerElement, 'focusout')
775
775
  .subscribe(function () {
776
776
  if (_this.readonly) {
777
- contentAreaClasslist_1.remove('k-state-focused');
777
+ contentAreaClasslist_1.remove('k-focus');
778
778
  }
779
779
  if (!_this.focusChangedProgrammatically) {
780
780
  _this.ngZone.run(function () { return _this.onBlur.emit(); });
@@ -921,7 +921,7 @@ var EditorComponent = /** @class */ (function () {
921
921
  tslib_1.__metadata("design:paramtypes", [])
922
922
  ], EditorComponent.prototype, "resizableClass", null);
923
923
  tslib_1.__decorate([
924
- core_1.HostBinding('class.k-state-disabled'),
924
+ core_1.HostBinding('class.k-disabled'),
925
925
  tslib_1.__metadata("design:type", Boolean),
926
926
  tslib_1.__metadata("design:paramtypes", [])
927
927
  ], EditorComponent.prototype, "isDisabled", null);
@@ -1014,7 +1014,7 @@ var EditorComponent = /** @class */ (function () {
1014
1014
  }
1015
1015
  ],
1016
1016
  /* tslint:disable:max-line-length */
1017
- 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 ",
1017
+ 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 ",
1018
1018
  styles: [
1019
1019
  "\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 "
1020
1020
  ]
@@ -13,7 +13,6 @@ var kendo_angular_dropdowns_1 = require("@progress/kendo-angular-dropdowns");
13
13
  var kendo_angular_dialog_1 = require("@progress/kendo-angular-dialog");
14
14
  var kendo_angular_buttons_1 = require("@progress/kendo-angular-buttons");
15
15
  var kendo_angular_inputs_1 = require("@progress/kendo-angular-inputs");
16
- var kendo_angular_inputs_2 = require("@progress/kendo-angular-inputs");
17
16
  var editor_component_1 = require("./editor.component");
18
17
  var image_dialog_component_1 = require("./dialogs/image-dialog.component");
19
18
  var source_dialog_component_1 = require("./dialogs/source-dialog.component");
@@ -32,6 +31,7 @@ var editor_align_left_button_directive_1 = require("./tools/alignment/editor-ali
32
31
  var editor_align_center_button_directive_1 = require("./tools/alignment/editor-align-center-button.directive");
33
32
  var editor_align_right_button_directive_1 = require("./tools/alignment/editor-align-right-button.directive");
34
33
  var editor_align_justify_button_directive_1 = require("./tools/alignment/editor-align-justify-button.directive");
34
+ var editor_blockquote_button_directive_1 = require("./tools/blockquote/editor-blockquote-button.directive");
35
35
  var editor_redo_button_directive_1 = require("./tools/history/editor-redo-button.directive");
36
36
  var editor_undo_button_directive_1 = require("./tools/history/editor-undo-button.directive");
37
37
  var editor_insert_image_button_directive_1 = require("./tools/image/editor-insert-image-button.directive");
@@ -125,7 +125,9 @@ var COMPONENT_DIRECTIVES = [
125
125
  // print
126
126
  editor_print_button_directive_1.EditorPrintDirective,
127
127
  // select all
128
- select_all_button_directive_1.EditorSelectAllButtonDirective
128
+ select_all_button_directive_1.EditorSelectAllButtonDirective,
129
+ // blockquote
130
+ editor_blockquote_button_directive_1.EditorBlockquoteDirective
129
131
  ];
130
132
  var TOOLBAR_TOOLS = [
131
133
  editor_fontsize_component_1.EditorFontSizeComponent,
@@ -229,9 +231,10 @@ var EditorModule = /** @class */ (function () {
229
231
  kendo_angular_inputs_1.ColorPickerModule,
230
232
  kendo_angular_dialog_1.DialogModule,
231
233
  kendo_angular_dropdowns_1.DropDownsModule,
232
- kendo_angular_inputs_2.NumericTextBoxModule,
234
+ kendo_angular_inputs_1.NumericTextBoxModule,
235
+ kendo_angular_inputs_1.CheckBoxModule,
233
236
  kendo_angular_toolbar_1.ToolBarModule,
234
- kendo_angular_inputs_2.TextBoxModule
237
+ kendo_angular_inputs_1.TextBoxModule
235
238
  ]
236
239
  })
237
240
  ], EditorModule);
package/dist/npm/index.js CHANGED
@@ -9,6 +9,9 @@
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  var tslib_1 = require("tslib");
11
11
  tslib_1.__exportStar(require("./main"), exports);
12
+ var semantic_nodes_1 = require("./config/semantic-nodes");
13
+ exports.semanticNodes = semantic_nodes_1.semanticNodes
14
+ exports.semanticTagNames = semantic_nodes_1.semanticTagNames
12
15
  var colorpicker_dialog_component_1 = require("./dialogs/colorpicker-dialog.component");
13
16
  exports.ColorPickerDialogComponent = colorpicker_dialog_component_1.ColorPickerDialogComponent
14
17
  var file_link_dialog_component_1 = require("./dialogs/file-link-dialog.component");
@@ -41,6 +44,8 @@ var editor_align_left_button_directive_1 = require("./tools/alignment/editor-ali
41
44
  exports.EditorAlignLeftButtonDirective = editor_align_left_button_directive_1.EditorAlignLeftButtonDirective
42
45
  var editor_align_right_button_directive_1 = require("./tools/alignment/editor-align-right-button.directive");
43
46
  exports.EditorAlignRightButtonDirective = editor_align_right_button_directive_1.EditorAlignRightButtonDirective
47
+ var editor_blockquote_button_directive_1 = require("./tools/blockquote/editor-blockquote-button.directive");
48
+ exports.EditorBlockquoteDirective = editor_blockquote_button_directive_1.EditorBlockquoteDirective
44
49
  var editor_back_color_directive_1 = require("./tools/colorpicker/editor-back-color.directive");
45
50
  exports.EditorBackColorDirective = editor_back_color_directive_1.EditorBackColorDirective
46
51
  var editor_colorpicker_component_1 = require("./tools/colorpicker/editor-colorpicker.component");
@@ -35,6 +35,10 @@ var Messages = /** @class */ (function (_super) {
35
35
  core_1.Input(),
36
36
  tslib_1.__metadata("design:type", String)
37
37
  ], Messages.prototype, "backColor", void 0);
38
+ tslib_1.__decorate([
39
+ core_1.Input(),
40
+ tslib_1.__metadata("design:type", String)
41
+ ], Messages.prototype, "blockquote", void 0);
38
42
  tslib_1.__decorate([
39
43
  core_1.Input(),
40
44
  tslib_1.__metadata("design:type", String)
@@ -11,7 +11,7 @@ exports.packageMetadata = {
11
11
  name: '@progress/kendo-angular-editor',
12
12
  productName: 'Kendo UI for Angular',
13
13
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
14
- publishDate: 1641984793,
14
+ publishDate: 1642684027,
15
15
  version: '',
16
16
  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'
17
17
  };
@@ -0,0 +1,50 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ "use strict";
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ var tslib_1 = require("tslib");
8
+ var core_1 = require("@angular/core");
9
+ var kendo_angular_toolbar_1 = require("@progress/kendo-angular-toolbar");
10
+ var editor_component_1 = require("../../editor.component");
11
+ var editor_command_button_1 = require("../shared/editor-command-button");
12
+ var editor_localization_service_1 = require("../../localization/editor-localization.service");
13
+ var tools_service_1 = require("../tools.service");
14
+ /**
15
+ * A directive which configures an existing `ToolBarButtonComponent` as an Editor Blockquote tool
16
+ * ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
17
+ * The directive will predefine the `icon` and `click` event handlers of the button.
18
+ *
19
+ * @example
20
+ * ```ts-no-run
21
+ * <kendo-toolbar-button kendoEditorBlockquoteButton></kendo-toolbar-button>
22
+ * ```
23
+ *
24
+ * The following example demonstrates how to change the default icon that is applied by the directive.
25
+ *
26
+ * @example
27
+ * ```ts-no-run
28
+ * <kendo-toolbar-button kendoEditorBlockquoteButton icon="blogger"></kendo-toolbar-button>
29
+ * ```
30
+ */
31
+ var EditorBlockquoteDirective = /** @class */ (function (_super) {
32
+ tslib_1.__extends(EditorBlockquoteDirective, _super);
33
+ function EditorBlockquoteDirective(button, editor, localization, toolsService) {
34
+ var _this = _super.call(this, 'blockquote', button, editor, localization, toolsService) || this;
35
+ _this.editor = editor;
36
+ return _this;
37
+ }
38
+ EditorBlockquoteDirective = tslib_1.__decorate([
39
+ core_1.Directive({
40
+ selector: 'kendo-toolbar-button[kendoEditorBlockquoteButton]'
41
+ }),
42
+ tslib_1.__param(1, core_1.Host()),
43
+ tslib_1.__metadata("design:paramtypes", [kendo_angular_toolbar_1.ToolBarButtonComponent,
44
+ editor_component_1.EditorComponent,
45
+ editor_localization_service_1.EditorLocalizationService,
46
+ tools_service_1.EditorToolsService])
47
+ ], EditorBlockquoteDirective);
48
+ return EditorBlockquoteDirective;
49
+ }(editor_command_button_1.EditorCommandButton));
50
+ exports.EditorBlockquoteDirective = EditorBlockquoteDirective;
@@ -34,14 +34,26 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
34
34
  */
35
35
  _this.disabled = false;
36
36
  /**
37
- * Specifies whether the ColorPicker will render a gradient, palette or combo view.
37
+ * Specifies whether the ColorPicker will render a gradient, palette, or both in its popup.
38
38
  *
39
- * @default 'palette'
39
+ * @default ['palette']
40
40
  */
41
- _this.view = 'palette';
41
+ _this.views = ['palette'];
42
42
  return _this;
43
43
  }
44
44
  EditorColorPickerComponent_1 = EditorColorPickerComponent;
45
+ Object.defineProperty(EditorColorPickerComponent.prototype, "view", {
46
+ /**
47
+ * @hidden
48
+ *
49
+ * For backward compatibility with configurations using the deprecated "view" input.
50
+ */
51
+ set: function (view) {
52
+ this.views = [view];
53
+ },
54
+ enumerable: true,
55
+ configurable: true
56
+ });
45
57
  Object.defineProperty(EditorColorPickerComponent.prototype, "title", {
46
58
  /**
47
59
  * @hidden
@@ -123,7 +135,7 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
123
135
  editorCommand: this.editorCommand,
124
136
  paletteSettings: this.paletteSettings,
125
137
  icon: this.icon,
126
- view: this.view
138
+ views: this.views
127
139
  });
128
140
  };
129
141
  /**
@@ -174,8 +186,13 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
174
186
  ], EditorColorPickerComponent.prototype, "disabled", void 0);
175
187
  tslib_1.__decorate([
176
188
  core_1.Input(),
177
- tslib_1.__metadata("design:type", String)
178
- ], EditorColorPickerComponent.prototype, "view", void 0);
189
+ tslib_1.__metadata("design:type", Array)
190
+ ], EditorColorPickerComponent.prototype, "views", void 0);
191
+ tslib_1.__decorate([
192
+ core_1.Input(),
193
+ tslib_1.__metadata("design:type", String),
194
+ tslib_1.__metadata("design:paramtypes", [String])
195
+ ], EditorColorPickerComponent.prototype, "view", null);
179
196
  tslib_1.__decorate([
180
197
  core_1.ViewChild('toolbarTemplate', { static: true }),
181
198
  tslib_1.__metadata("design:type", core_1.TemplateRef)
@@ -200,7 +217,7 @@ var EditorColorPickerComponent = /** @class */ (function (_super) {
200
217
  core_1.Component({
201
218
  providers: [{ provide: kendo_angular_toolbar_1.ToolBarToolComponent, useExisting: core_1.forwardRef(function () { return EditorColorPickerComponent_1; }) }],
202
219
  selector: 'kendo-toolbar-colorpicker',
203
- 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 "
220
+ 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 "
204
221
  }),
205
222
  tslib_1.__param(0, core_1.Host()),
206
223
  tslib_1.__metadata("design:paramtypes", [editor_component_1.EditorComponent,
@@ -64,7 +64,7 @@ var FormatDropDownListComponent = /** @class */ (function () {
64
64
  core_1.Component({
65
65
  // tslint:disable-next-line:no-forward-ref
66
66
  selector: 'kendo-editor-format-dropdownlist',
67
- 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 "
67
+ 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 "
68
68
  })
69
69
  ], FormatDropDownListComponent);
70
70
  return FormatDropDownListComponent;
@@ -41,7 +41,6 @@ var EditorFormatComponent = /** @class */ (function (_super) {
41
41
  _this.valueChange = new core_1.EventEmitter();
42
42
  _this._data = [
43
43
  { text: 'Paragraph', tag: 'p' },
44
- { text: 'Quotation', tag: 'blockquote' },
45
44
  { text: 'Heading 1', tag: 'h1' },
46
45
  { text: 'Heading 2', tag: 'h2' },
47
46
  { text: 'Heading 3', tag: 'h3' },
@@ -63,7 +63,7 @@ var PopupTableGridComponent = /** @class */ (function () {
63
63
  PopupTableGridComponent = tslib_1.__decorate([
64
64
  core_1.Component({
65
65
  selector: 'kendo-popup-table-grid',
66
- 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 "
66
+ 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 "
67
67
  })
68
68
  ], PopupTableGridComponent);
69
69
  return PopupTableGridComponent;