@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
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { alignBlocks, alignLeftRules, alignCenterRules, alignRightRules, alignJustifyRules, alignRemoveRules, indent, outdent, setHtml, getHtml, insertImage, insertText, applyLink, removeLink, expandToWordWrap,
5
+ import { alignBlocks, alignLeftRules, alignCenterRules, alignRightRules, alignJustifyRules, alignRemoveRules, indent, outdent, setHtml, getHtml, insertImage, insertText, applyLink, removeLink, expandToWordWrap, blockquote,
6
6
  //marks
7
7
  bold, italic, underline, strikethrough, subscript, superscript, link, toggleInlineFormat, applyInlineStyle, formatBlockElements, toggleOrderedList, toggleUnorderedList, isAligned, undo, redo, cleanFormatting, selectAll, addColumnBefore, addColumnAfter, addRowBefore, addRowAfter, deleteRow, deleteColumn, deleteTable, mergeCells, splitCell } from '@progress/kendo-editor-common';
8
8
  import { insertTable } from './table-commands';
@@ -27,7 +27,7 @@ const inlineCommand = {
27
27
  backColor: ɵ15,
28
28
  selectAll: ɵ16
29
29
  };
30
- const ɵ17 = () => (state, dispatch) => isAligned(state, alignCenterRules) ? alignRemove(state, dispatch) : alignBlocks(alignCenterRules)(state, dispatch), ɵ18 = () => (state, dispatch) => isAligned(state, alignJustifyRules) ? alignRemove(state, dispatch) : alignBlocks(alignJustifyRules)(state, dispatch), ɵ19 = () => (state, dispatch) => isAligned(state, alignLeftRules) ? alignRemove(state, dispatch) : alignBlocks(alignLeftRules)(state, dispatch), ɵ20 = () => (state, dispatch) => isAligned(state, alignRightRules) ? alignRemove(state, dispatch) : alignBlocks(alignRightRules)(state, dispatch), ɵ21 = formatAttr => formatBlockElements(formatAttr.tag), ɵ22 = () => getHtml, ɵ23 = () => indent, ɵ24 = attrs => insertImage(attrs), ɵ25 = () => toggleOrderedList, ɵ26 = () => toggleUnorderedList, ɵ27 = () => outdent, ɵ28 = () => redo, ɵ29 = ({ content, parseOptions }) => setHtml(content, 'setHTML', parseOptions), ɵ30 = () => undo;
30
+ const ɵ17 = () => (state, dispatch) => isAligned(state, alignCenterRules) ? alignRemove(state, dispatch) : alignBlocks(alignCenterRules)(state, dispatch), ɵ18 = () => (state, dispatch) => isAligned(state, alignJustifyRules) ? alignRemove(state, dispatch) : alignBlocks(alignJustifyRules)(state, dispatch), ɵ19 = () => (state, dispatch) => isAligned(state, alignLeftRules) ? alignRemove(state, dispatch) : alignBlocks(alignLeftRules)(state, dispatch), ɵ20 = () => (state, dispatch) => isAligned(state, alignRightRules) ? alignRemove(state, dispatch) : alignBlocks(alignRightRules)(state, dispatch), ɵ21 = formatAttr => formatBlockElements(formatAttr.tag), ɵ22 = () => getHtml, ɵ23 = () => indent, ɵ24 = attrs => insertImage(attrs), ɵ25 = () => toggleOrderedList, ɵ26 = () => toggleUnorderedList, ɵ27 = () => outdent, ɵ28 = () => redo, ɵ29 = ({ content, parseOptions }) => setHtml(content, 'setHTML', parseOptions), ɵ30 = () => undo, ɵ31 = () => blockquote;
31
31
  const blockCommand = {
32
32
  alignCenter: ɵ17,
33
33
  alignJustify: ɵ18,
@@ -44,23 +44,24 @@ const blockCommand = {
44
44
  outdent: ɵ27,
45
45
  redo: ɵ28,
46
46
  setHTML: ɵ29,
47
- undo: ɵ30
47
+ undo: ɵ30,
48
+ blockquote: ɵ31
48
49
  };
49
- const ɵ31 = attr => insertTable(attr), ɵ32 = () => addColumnBefore, ɵ33 = () => addColumnAfter, ɵ34 = () => addRowBefore, ɵ35 = () => addRowAfter, ɵ36 = () => deleteRow, ɵ37 = () => deleteColumn, ɵ38 = () => mergeCells, ɵ39 = () => splitCell, ɵ40 = () => deleteTable;
50
+ const ɵ32 = attr => insertTable(attr), ɵ33 = () => addColumnBefore, ɵ34 = () => addColumnAfter, ɵ35 = () => addRowBefore, ɵ36 = () => addRowAfter, ɵ37 = () => deleteRow, ɵ38 = () => deleteColumn, ɵ39 = () => mergeCells, ɵ40 = () => splitCell, ɵ41 = () => deleteTable;
50
51
  const tableCommand = {
51
- insertTable: ɵ31,
52
- addColumnBefore: ɵ32,
53
- addColumnAfter: ɵ33,
54
- addRowBefore: ɵ34,
55
- addRowAfter: ɵ35,
56
- deleteRow: ɵ36,
57
- deleteColumn: ɵ37,
58
- mergeCells: ɵ38,
59
- splitCell: ɵ39,
60
- deleteTable: ɵ40
52
+ insertTable: ɵ32,
53
+ addColumnBefore: ɵ33,
54
+ addColumnAfter: ɵ34,
55
+ addRowBefore: ɵ35,
56
+ addRowAfter: ɵ36,
57
+ deleteRow: ɵ37,
58
+ deleteColumn: ɵ38,
59
+ mergeCells: ɵ39,
60
+ splitCell: ɵ40,
61
+ deleteTable: ɵ41
61
62
  };
62
63
  /**
63
64
  * @hidden
64
65
  */
65
66
  export const editorCommands = Object.assign({}, inlineCommand, blockCommand, tableCommand);
66
- export { ɵ0, ɵ1, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9, ɵ10, ɵ11, ɵ12, ɵ13, ɵ14, ɵ15, ɵ16, ɵ17, ɵ18, ɵ19, ɵ20, ɵ21, ɵ22, ɵ23, ɵ24, ɵ25, ɵ26, ɵ27, ɵ28, ɵ29, ɵ30, ɵ31, ɵ32, ɵ33, ɵ34, ɵ35, ɵ36, ɵ37, ɵ38, ɵ39, ɵ40 };
67
+ export { ɵ0, ɵ1, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9, ɵ10, ɵ11, ɵ12, ɵ13, ɵ14, ɵ15, ɵ16, ɵ17, ɵ18, ɵ19, ɵ20, ɵ21, ɵ22, ɵ23, ɵ24, ɵ25, ɵ26, ɵ27, ɵ28, ɵ29, ɵ30, ɵ31, ɵ32, ɵ33, ɵ34, ɵ35, ɵ36, ɵ37, ɵ38, ɵ39, ɵ40, ɵ41 };
@@ -6,7 +6,7 @@ import { Schema } from '@progress/kendo-editor-common';
6
6
  /**
7
7
  * @hidden
8
8
  */
9
- export declare const schema: Schema<"blockquote", string>;
9
+ export declare const schema: Schema<string, string>;
10
10
  /**
11
11
  * @hidden
12
12
  */
@@ -14,7 +14,7 @@ const nodes = Object.assign(commonNodes, semanticNodes);
14
14
  */
15
15
  export const schema = new Schema({
16
16
  marks,
17
- nodes: Object.assign({}, nodes, { blockquote: Object.assign({}, nodes.blockquote, { content: 'inline*' }) })
17
+ nodes
18
18
  });
19
19
  /**
20
20
  * @hidden
@@ -66,7 +66,7 @@ ColorPickerDialogComponent = tslib_1.__decorate([
66
66
  <div class="k-edit-form-container k-window-content" style="text-align: center;">
67
67
  <kendo-colorpicker
68
68
  #colorpicker
69
- [view]="view"
69
+ [views]="['palette']"
70
70
  [format]="'hex'"
71
71
  [attr.title]="title"
72
72
  [icon]="icon"
@@ -123,26 +123,26 @@ FileLinkDialogComponent = tslib_1.__decorate([
123
123
  <label (click)="hrefInput.focus()">{{ textForWithPrefix('WebAddress') }}</label>
124
124
  </div>
125
125
  <div class="k-edit-field">
126
- <input #hrefInput formControlName="href" type="text" class="k-textbox" />
126
+ <input #hrefInput formControlName="href" type="text" class="k-textbox k-input k-rounded-md" />
127
127
  </div>
128
128
 
129
129
  <div class="k-edit-label">
130
130
  <label (click)="textInput.focus()">{{ textForWithPrefix('Text') }}</label>
131
131
  </div>
132
132
  <div class="k-edit-field">
133
- <input #textInput formControlName="text" type="text" class="k-textbox" />
133
+ <input #textInput formControlName="text" type="text" class="k-textbox k-input k-rounded-md" />
134
134
  </div>
135
135
 
136
136
  <div class="k-edit-label">
137
137
  <label (click)="titleInput.focus()">{{ textForWithPrefix('Title') }}</label>
138
138
  </div>
139
139
  <div class="k-edit-field">
140
- <input #titleInput formControlName="title" type="text" class="k-textbox" />
140
+ <input #titleInput formControlName="title" type="text" class="k-textbox k-input k-rounded-md" />
141
141
  </div>
142
142
  <ng-container *ngIf="command === 'createLink'">
143
143
  <div class="k-edit-label"></div>
144
144
  <div class="k-edit-field">
145
- <input type="checkbox" id="k-target-blank" class="k-checkbox" formControlName="target" />
145
+ <input type="checkbox" id="k-target-blank" kendoCheckBox formControlName="target" />
146
146
  <label class="k-checkbox-label" for="k-target-blank">{{ textForWithPrefix('OpenInNewWindow') }}</label>
147
147
  </div>
148
148
  </ng-container>
@@ -101,25 +101,25 @@ ImageDialogComponent = tslib_1.__decorate([
101
101
  <label [for]="srcInputId">{{ textFor('imageWebAddress') }}</label>
102
102
  </div>
103
103
  <div class="k-edit-field">
104
- <input [id]="srcInputId" #srcInput [formControl]="src" type="text" class="k-textbox" />
104
+ <input [id]="srcInputId" #srcInput [formControl]="src" type="text" class="k-textbox k-input k-rounded-md" />
105
105
  </div>
106
106
  <div class="k-edit-label">
107
107
  <label [for]="altTextInputId">{{ textFor('imageAltText') }}</label>
108
108
  </div>
109
109
  <div class="k-edit-field">
110
- <input [id]="altTextInputId" [formControl]="alt" type="text" class="k-textbox" />
110
+ <input [id]="altTextInputId" [formControl]="alt" type="text" class="k-textbox k-input k-rounded-md" />
111
111
  </div>
112
112
  <div class="k-edit-label">
113
113
  <label [for]="widthInputId">{{ textFor('imageWidth') }}</label>
114
114
  </div>
115
115
  <div class="k-edit-field">
116
- <input [id]="widthInputId" [formControl]="width" type="text" class="k-textbox" />
116
+ <input [id]="widthInputId" [formControl]="width" type="text" class="k-textbox k-input k-rounded-md" />
117
117
  </div>
118
118
  <div class="k-edit-label">
119
119
  <label [for]="heightInputId">{{ textFor('imageHeight') }}</label>
120
120
  </div>
121
121
  <div class="k-edit-field">
122
- <input [id]="heightInputId" [formControl]="height" type="text" class="k-textbox" />
122
+ <input [id]="heightInputId" [formControl]="height" type="text" class="k-textbox k-input k-rounded-md" />
123
123
  </div>
124
124
  </div>
125
125
  </div>
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { cleanFormatting } from '@progress/kendo-editor-common';
5
+ import { blockquote, cleanFormatting, isIndented } from '@progress/kendo-editor-common';
6
6
  import { alignRightRules, alignCenterRules, alignLeftRules, alignJustifyRules, isAligned, bold, italic, underline, strikethrough, subscript, superscript, link, activeNode, hasNode, getActiveMarks, hasMark, expandSelection, indentRules, outdentRules, canIndentAsListItem, canOutdentAsListItem, canBeIndented, undo, redo, addRowBefore, addRowAfter, addColumnBefore, addColumnAfter, deleteRow, deleteColumn, deleteTable, mergeCells, splitCell } from '@progress/kendo-editor-common';
7
7
  /**
8
8
  * @hidden
@@ -36,6 +36,10 @@ export const getToolbarState = (state, options) => ({
36
36
  selected: activeNode(state),
37
37
  disabled: false
38
38
  },
39
+ blockquote: {
40
+ selected: false,
41
+ disabled: !blockquote(state)
42
+ },
39
43
  indent: {
40
44
  selected: false,
41
45
  disabled: !(canIndentAsListItem(state, state.schema.nodes.list_item) || canBeIndented(state, indentRules))
@@ -58,7 +62,11 @@ export const getToolbarState = (state, options) => ({
58
62
  },
59
63
  outdent: {
60
64
  selected: false,
61
- disabled: !(canOutdentAsListItem(state, outdentRules) || canBeIndented(state, outdentRules))
65
+ get disabled() {
66
+ return !(hasNode(state, state.schema.nodes.blockquote) ||
67
+ canOutdentAsListItem(state, outdentRules) ||
68
+ isIndented(state, outdentRules.nodes));
69
+ }
62
70
  },
63
71
  redo: {
64
72
  selected: false,
@@ -184,6 +192,7 @@ export const initialToolBarState = {
184
192
  format: { selected: { text: 'Format', tag: null }, disabled: false },
185
193
  style: { selected: { marks: [], hasNodesWithoutMarks: false }, disabled: false },
186
194
  cleanFormatting: { selected: false, disabled: true },
195
+ blockquote: { selected: false, disabled: false },
187
196
  //indent
188
197
  indent: { selected: false, disabled: false },
189
198
  outdent: { selected: false, disabled: false },
@@ -236,6 +245,7 @@ export const disabledToolBarState = {
236
245
  format: { selected: { text: 'Format', tag: null }, disabled: true },
237
246
  style: { selected: { marks: [], hasNodesWithoutMarks: false }, disabled: true },
238
247
  cleanFormatting: { selected: false, disabled: true },
248
+ blockquote: { selected: false, disabled: true },
239
249
  //indent
240
250
  indent: { selected: false, disabled: true },
241
251
  outdent: { selected: false, disabled: true },
@@ -189,7 +189,7 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
189
189
  * @param {any} attr - Optional parameters for the command. Apart from the following list,
190
190
  * the parameters do not expect specific attributes when you call them:
191
191
  * - `format` - Accepts an object with the `tag` property.
192
- * The supported tags are `p`, `blockquote`, and any of the `h1` to `h6` heading tags.
192
+ * The supported tags are `p` and any of the `h1` to `h6` heading tags.
193
193
  * - `createLink` - Accepts an object with the `href`, `title`, and `target` properties. The `href` property is mandatory.
194
194
  * - `setHTML` - Accepts a `string` parameter.
195
195
  * - `insertTable` - Accepts an object with the `rows` and `cols` properties. The number values are zero based.
@@ -421,7 +421,7 @@ let EditorComponent = EditorComponent_1 = class EditorComponent {
421
421
  * @param {any} attr - Optional parameters for the command. Apart from the following list,
422
422
  * the parameters do not expect specific attributes when you call them:
423
423
  * - `format` - Accepts an object with the `tag` property.
424
- * The supported tags are `p`, `blockquote`, and any of the `h1` to `h6` heading tags.
424
+ * The supported tags are `p` and any of the `h1` to `h6` heading tags.
425
425
  * - `createLink` - Accepts an object with the `href`, `title`, and `target` properties. The `href` property is mandatory.
426
426
  * - `setHTML` - Accepts a `string` parameter.
427
427
  * - `insertTable` - Accepts an object with the `rows` and `cols` properties. The number values are zero based.
@@ -677,7 +677,7 @@ let EditorComponent = EditorComponent_1 = class EditorComponent {
677
677
  this.subs.add(fromEvent(containerElement, 'focusin')
678
678
  .subscribe(() => {
679
679
  if (this.readonly) {
680
- contentAreaClasslist.add('k-state-focused');
680
+ contentAreaClasslist.add('k-focus');
681
681
  }
682
682
  if (!this.focusChangedProgrammatically || this.shouldEmitFocus) {
683
683
  this.ngZone.run(() => this.onFocus.emit());
@@ -687,7 +687,7 @@ let EditorComponent = EditorComponent_1 = class EditorComponent {
687
687
  this.subs.add(fromEvent(containerElement, 'focusout')
688
688
  .subscribe(() => {
689
689
  if (this.readonly) {
690
- contentAreaClasslist.remove('k-state-focused');
690
+ contentAreaClasslist.remove('k-focus');
691
691
  }
692
692
  if (!this.focusChangedProgrammatically) {
693
693
  this.ngZone.run(() => this.onBlur.emit());
@@ -833,7 +833,7 @@ tslib_1.__decorate([
833
833
  tslib_1.__metadata("design:paramtypes", [])
834
834
  ], EditorComponent.prototype, "resizableClass", null);
835
835
  tslib_1.__decorate([
836
- HostBinding('class.k-state-disabled'),
836
+ HostBinding('class.k-disabled'),
837
837
  tslib_1.__metadata("design:type", Boolean),
838
838
  tslib_1.__metadata("design:paramtypes", [])
839
839
  ], EditorComponent.prototype, "isDisabled", null);
@@ -939,6 +939,8 @@ EditorComponent = EditorComponent_1 = tslib_1.__decorate([
939
939
  alignRight="Align text right"
940
940
  i18n-backColor="kendo.editor.backColor|The title of the tool that changes the text background color."
941
941
  backColor="Background color"
942
+ i18n-blockquote="kendo.editor.blockquote|The title of the tool that wraps an element in a blockquote"
943
+ blockquote="Quotation"
942
944
  i18n-bold="kendo.editor.bold|The title of the tool that makes text bold."
943
945
  bold="Bold"
944
946
  i18n-cleanFormatting="kendo.editor.cleanFormatting|The title of the Clean Formatting tool."
@@ -10,8 +10,7 @@ import { ToolBarModule } from '@progress/kendo-angular-toolbar';
10
10
  import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
11
11
  import { DialogModule } from '@progress/kendo-angular-dialog';
12
12
  import { ButtonModule } from '@progress/kendo-angular-buttons';
13
- import { ColorPickerModule } from '@progress/kendo-angular-inputs';
14
- import { NumericTextBoxModule, TextBoxModule } from '@progress/kendo-angular-inputs';
13
+ import { NumericTextBoxModule, TextBoxModule, ColorPickerModule, CheckBoxModule } from '@progress/kendo-angular-inputs';
15
14
  import { EditorComponent } from './editor.component';
16
15
  import { ImageDialogComponent } from './dialogs/image-dialog.component';
17
16
  import { SourceDialogComponent } from './dialogs/source-dialog.component';
@@ -30,6 +29,7 @@ import { EditorAlignLeftButtonDirective } from './tools/alignment/editor-align-l
30
29
  import { EditorAlignCenterButtonDirective } from './tools/alignment/editor-align-center-button.directive';
31
30
  import { EditorAlignRightButtonDirective } from './tools/alignment/editor-align-right-button.directive';
32
31
  import { EditorAlignJustifyButtonDirective } from './tools/alignment/editor-align-justify-button.directive';
32
+ import { EditorBlockquoteDirective } from './tools/blockquote/editor-blockquote-button.directive';
33
33
  import { EditorRedoButtonDirective } from './tools/history/editor-redo-button.directive';
34
34
  import { EditorUndoButtonDirective } from './tools/history/editor-undo-button.directive';
35
35
  import { EditorInsertImageButtonDirective } from './tools/image/editor-insert-image-button.directive';
@@ -123,7 +123,9 @@ const COMPONENT_DIRECTIVES = [
123
123
  // print
124
124
  EditorPrintDirective,
125
125
  // select all
126
- EditorSelectAllButtonDirective
126
+ EditorSelectAllButtonDirective,
127
+ // blockquote
128
+ EditorBlockquoteDirective
127
129
  ];
128
130
  const TOOLBAR_TOOLS = [
129
131
  EditorFontSizeComponent,
@@ -227,6 +229,7 @@ EditorModule = tslib_1.__decorate([
227
229
  DialogModule,
228
230
  DropDownsModule,
229
231
  NumericTextBoxModule,
232
+ CheckBoxModule,
230
233
  ToolBarModule,
231
234
  TextBoxModule
232
235
  ]
@@ -7,6 +7,7 @@
7
7
  */
8
8
  export * from './main';
9
9
  export { DialogCommand, EditorCommand } from './common/commands';
10
+ export { semanticNodes, semanticTagNames } from './config/semantic-nodes';
10
11
  export { ColorPickerDialogComponent } from './dialogs/colorpicker-dialog.component';
11
12
  export { FileLinkDialogComponent } from './dialogs/file-link-dialog.component';
12
13
  export { FontFamilyDialogComponent } from './dialogs/font-family-dialog.component';
@@ -23,6 +24,7 @@ export { EditorAlignCenterButtonDirective } from './tools/alignment/editor-align
23
24
  export { EditorAlignJustifyButtonDirective } from './tools/alignment/editor-align-justify-button.directive';
24
25
  export { EditorAlignLeftButtonDirective } from './tools/alignment/editor-align-left-button.directive';
25
26
  export { EditorAlignRightButtonDirective } from './tools/alignment/editor-align-right-button.directive';
27
+ export { EditorBlockquoteDirective } from './tools/blockquote/editor-blockquote-button.directive';
26
28
  export { EditorBackColorDirective } from './tools/colorpicker/editor-back-color.directive';
27
29
  export { EditorColorPickerComponent } from './tools/colorpicker/editor-colorpicker.component';
28
30
  export { EditorForeColorDirective } from './tools/colorpicker/editor-fore-color.directive';
@@ -6,6 +6,7 @@
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
8
  export * from './main';
9
+ export { semanticNodes, semanticTagNames } from './config/semantic-nodes';
9
10
  export { ColorPickerDialogComponent } from './dialogs/colorpicker-dialog.component';
10
11
  export { FileLinkDialogComponent } from './dialogs/file-link-dialog.component';
11
12
  export { FontFamilyDialogComponent } from './dialogs/font-family-dialog.component';
@@ -22,6 +23,7 @@ export { EditorAlignCenterButtonDirective } from './tools/alignment/editor-align
22
23
  export { EditorAlignJustifyButtonDirective } from './tools/alignment/editor-align-justify-button.directive';
23
24
  export { EditorAlignLeftButtonDirective } from './tools/alignment/editor-align-left-button.directive';
24
25
  export { EditorAlignRightButtonDirective } from './tools/alignment/editor-align-right-button.directive';
26
+ export { EditorBlockquoteDirective } from './tools/blockquote/editor-blockquote-button.directive';
25
27
  export { EditorBackColorDirective } from './tools/colorpicker/editor-back-color.directive';
26
28
  export { EditorColorPickerComponent } from './tools/colorpicker/editor-colorpicker.component';
27
29
  export { EditorForeColorDirective } from './tools/colorpicker/editor-fore-color.directive';