@progress/kendo-angular-editor 3.1.2 → 4.0.0-dev.202204140850
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/kendo-angular-editor.umd.js +5 -0
- package/{dist/es2015/common → common}/active-marks.d.ts +0 -0
- package/{dist/es2015/common → common}/apply-to-word-options.d.ts +0 -0
- package/{dist/es2015/common → common}/commands.d.ts +0 -0
- package/{dist/es2015/common → common}/direction.d.ts +0 -0
- package/{dist/es2015/common → common}/error-messages.d.ts +0 -0
- package/{dist/es2015/common → common}/font-family-item.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/font-size-item.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/format-item.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/image-data.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/link-data.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/paste-cleanup-settings.d.ts +0 -0
- package/{dist/es2015/common → common}/plugins-function.d.ts +0 -1
- package/{dist/es2015/common → common}/predicate.d.ts +0 -0
- package/common/provider.service.d.ts +14 -0
- package/{dist/es2015/common → common}/resizable-options.interface.d.ts +0 -0
- package/{dist/es2015/common → common}/styles.d.ts +0 -0
- package/{dist/es2015/common → common}/table-data.interface.d.ts +0 -0
- package/{dist/es2015/config → config}/command-icons.d.ts +0 -0
- package/{dist/es2015/config → config}/commands.d.ts +0 -0
- package/{dist/es2015/config → config}/schema.d.ts +0 -0
- package/{dist/es2015/config → config}/semantic-nodes.d.ts +0 -0
- package/{dist/es2015/config → config}/table-commands.d.ts +0 -0
- package/{dist/es2015/config → config}/utils.d.ts +8 -8
- package/{dist/es2015/dialogs → dialogs}/colorpicker-dialog.component.d.ts +3 -0
- package/{dist/es2015/dialogs → dialogs}/file-link-dialog.component.d.ts +4 -1
- package/{dist/es2015/dialogs → dialogs}/font-family-dialog.component.d.ts +3 -0
- package/{dist/es2015/dialogs → dialogs}/font-size-dialog.component.d.ts +3 -0
- package/{dist/es2015/dialogs → dialogs}/format-dialog.component.d.ts +4 -1
- package/{dist/es2015/dialogs → dialogs}/image-dialog.component.d.ts +3 -0
- package/{dist/es2015/dialogs → dialogs}/insert-table-dialog.component.d.ts +5 -4
- package/{dist/es2015/dialogs → dialogs}/source-dialog.component.d.ts +3 -0
- package/{dist/es2015/editor-toolbar-state.d.ts → editor-toolbar-state.d.ts} +1 -1
- package/{dist/es2015/editor.component.d.ts → editor.component.d.ts} +32 -20
- package/editor.module.d.ts +113 -0
- package/{dist/es2015 → esm2015}/common/active-marks.js +1 -0
- package/{dist/es2015 → esm2015}/common/apply-to-word-options.js +1 -0
- package/{dist/es → esm2015}/common/commands.js +1 -0
- package/{dist/es2015 → esm2015}/common/direction.js +1 -0
- package/{dist/es2015 → esm2015}/common/error-messages.js +2 -5
- package/{dist/es → esm2015}/common/font-family-item.interface.js +1 -0
- package/{dist/es → esm2015}/common/font-size-item.interface.js +1 -0
- package/{dist/es → esm2015}/common/format-item.interface.js +1 -0
- package/{dist/es → esm2015}/common/image-data.interface.js +1 -0
- package/{dist/es → esm2015}/common/link-data.interface.js +1 -0
- package/{dist/es → esm2015}/common/paste-cleanup-settings.js +1 -0
- package/{dist/es → esm2015}/common/plugins-function.js +1 -0
- package/{dist/es → esm2015}/common/predicate.js +1 -0
- package/esm2015/common/provider.service.js +16 -0
- package/{dist/es → esm2015}/common/resizable-options.interface.js +1 -0
- package/{dist/es2015 → esm2015}/common/styles.js +0 -0
- package/{dist/es → esm2015}/common/table-data.interface.js +1 -0
- package/{dist/es2015 → esm2015}/config/command-icons.js +0 -0
- package/esm2015/config/commands.js +62 -0
- package/{dist/es2015 → esm2015}/config/schema.js +0 -0
- package/{dist/es2015 → esm2015}/config/semantic-nodes.js +1 -4
- package/{dist/es2015 → esm2015}/config/table-commands.js +0 -0
- package/{dist/es2015 → esm2015}/config/utils.js +1 -1
- package/esm2015/dialogs/colorpicker-dialog.component.js +117 -0
- package/esm2015/dialogs/file-link-dialog.component.js +209 -0
- package/esm2015/dialogs/font-family-dialog.component.js +106 -0
- package/esm2015/dialogs/font-size-dialog.component.js +106 -0
- package/esm2015/dialogs/format-dialog.component.js +106 -0
- package/{dist/es2015 → esm2015}/dialogs/image-dialog.component.js +60 -21
- package/esm2015/dialogs/insert-table-dialog.component.js +74 -0
- package/esm2015/dialogs/source-dialog.component.js +89 -0
- package/{dist/es2015 → esm2015}/editor-toolbar-state.js +0 -0
- package/{dist/es2015 → esm2015}/editor.component.js +331 -200
- package/{dist/es2015 → esm2015}/editor.module.js +205 -31
- package/{dist/es/common/active-marks.js → esm2015/kendo-angular-editor.js} +4 -0
- package/esm2015/localization/custom-messages.component.js +41 -0
- package/esm2015/localization/editor-localization.service.js +31 -0
- package/esm2015/localization/localized-messages.directive.js +32 -0
- package/esm2015/localization/messages.js +126 -0
- package/{dist/es2015/index.js → esm2015/main.js} +37 -47
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es → esm2015}/preventable-events/paste-event-data.js +1 -0
- package/{dist/es2015 → esm2015}/preventable-events/paste-event.js +1 -1
- package/esm2015/preventable-events/preventable-event.js +27 -0
- package/esm2015/tools/alignment/editor-align-center-button.directive.js +42 -0
- package/esm2015/tools/alignment/editor-align-justify-button.directive.js +42 -0
- package/esm2015/tools/alignment/editor-align-left-button.directive.js +42 -0
- package/esm2015/tools/alignment/editor-align-right-button.directive.js +42 -0
- package/esm2015/tools/blockquote/editor-blockquote-button.directive.js +41 -0
- package/esm2015/tools/colorpicker/editor-back-color.directive.js +28 -0
- package/esm2015/tools/colorpicker/editor-colorpicker.component.js +262 -0
- package/esm2015/tools/colorpicker/editor-fore-color.directive.js +28 -0
- package/esm2015/tools/editor-clean-formatting-button.directive.js +41 -0
- package/esm2015/tools/fontfamily/editor-fontfamily-dropdownlist.component.js +104 -0
- package/{dist/es2015 → esm2015}/tools/fontfamily/editor-fontfamily.component.js +73 -57
- package/esm2015/tools/fontsize/editor-fontsize-dropdownlist.component.js +93 -0
- package/{dist/es2015 → esm2015}/tools/fontsize/editor-fontsize.component.js +72 -54
- package/esm2015/tools/format/editor-format-dropdownlist.component.js +160 -0
- package/{dist/es2015 → esm2015}/tools/format/editor-format.component.js +69 -51
- package/esm2015/tools/history/editor-redo-button.directive.js +42 -0
- package/esm2015/tools/history/editor-undo-button.directive.js +42 -0
- package/esm2015/tools/image/editor-insert-image-button.directive.js +41 -0
- package/esm2015/tools/indentation/editor-indent-button.directive.js +42 -0
- package/esm2015/tools/indentation/editor-outdent-button.directive.js +42 -0
- package/esm2015/tools/link/editor-create-link-button.directive.js +42 -0
- package/esm2015/tools/link/editor-insert-file-button.directive.js +34 -0
- package/esm2015/tools/link/editor-unlink-button.directive.js +42 -0
- package/esm2015/tools/list/editor-insert-ordered-list-button.directive.js +42 -0
- package/esm2015/tools/list/editor-insert-unordered-list-button.directive.js +42 -0
- package/{dist/es2015 → esm2015}/tools/print/editor-print-button.directive.js +18 -22
- package/esm2015/tools/select-all/select-all-button.directive.js +45 -0
- package/{dist/es2015 → esm2015}/tools/shared/dropdown-tool.directive.js +10 -10
- package/esm2015/tools/shared/editor-command-base.js +64 -0
- package/{dist/es2015 → esm2015}/tools/shared/editor-command-button.js +5 -5
- package/{dist/es2015 → esm2015}/tools/shared/editor-command-dialog.js +4 -5
- package/esm2015/tools/source/editor-view-source-button.directive.js +41 -0
- package/esm2015/tools/tables/editor-add-column-after-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-add-column-before-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-add-row-after-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-add-row-before-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-delete-column-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-delete-row-button.directive.js +35 -0
- package/esm2015/tools/tables/editor-delete-table-button.directive.js +35 -0
- package/{dist/es2015 → esm2015}/tools/tables/editor-insert-table-button.component.js +66 -45
- package/esm2015/tools/tables/editor-merge-cells-button.directive.js +37 -0
- package/esm2015/tools/tables/editor-split-cell-button.directive.js +37 -0
- package/{dist/es2015 → esm2015}/tools/tables/popup-table-grid.component.js +32 -21
- package/esm2015/tools/tools.service.js +20 -0
- package/esm2015/tools/typographical-emphasis/editor-bold-button.directive.js +42 -0
- package/esm2015/tools/typographical-emphasis/editor-italic-button.directive.js +42 -0
- package/esm2015/tools/typographical-emphasis/editor-strikethrough-button.directive.js +42 -0
- package/esm2015/tools/typographical-emphasis/editor-subscript-button.directive.js +42 -0
- package/esm2015/tools/typographical-emphasis/editor-superscript-button.directive.js +42 -0
- package/esm2015/tools/typographical-emphasis/editor-underline-button.directive.js +42 -0
- package/{dist/es2015 → esm2015}/util.js +8 -0
- package/fesm2015/kendo-angular-editor.js +6396 -0
- package/kendo-angular-editor.d.ts +9 -0
- package/{dist/es2015/localization → localization}/custom-messages.component.d.ts +6 -3
- package/{dist/es2015/localization → localization}/editor-localization.service.d.ts +3 -0
- package/{dist/es2015/localization → localization}/localized-messages.directive.d.ts +5 -2
- package/{dist/es2015/localization → localization}/messages.d.ts +4 -1
- package/{dist/es/index.js → main.d.ts} +39 -47
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +44 -121
- package/{dist/es2015/preventable-events → preventable-events}/paste-event-data.d.ts +0 -0
- package/{dist/es2015/preventable-events → preventable-events}/paste-event.d.ts +1 -1
- package/preventable-events/preventable-event.d.ts +21 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/tools → tools}/alignment/editor-align-center-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/alignment/editor-align-justify-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/alignment/editor-align-left-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/alignment/editor-align-right-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/blockquote/editor-blockquote-button.directive.d.ts +5 -3
- package/{dist/es2015/tools → tools}/colorpicker/editor-back-color.directive.d.ts +3 -0
- package/{dist/es2015/tools → tools}/colorpicker/editor-colorpicker.component.d.ts +10 -6
- package/{dist/es2015/tools → tools}/colorpicker/editor-fore-color.directive.d.ts +3 -0
- package/{dist/es2015/tools → tools}/editor-clean-formatting-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +3 -0
- package/{dist/es2015/tools → tools}/fontfamily/editor-fontfamily.component.d.ts +10 -6
- package/{dist/es2015/tools → tools}/fontsize/editor-fontsize-dropdownlist.component.d.ts +3 -0
- package/{dist/es2015/tools → tools}/fontsize/editor-fontsize.component.d.ts +10 -6
- package/{dist/es2015/tools → tools}/format/editor-format-dropdownlist.component.d.ts +3 -0
- package/{dist/es2015/tools → tools}/format/editor-format.component.d.ts +10 -6
- package/{dist/es2015/tools → tools}/history/editor-redo-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/history/editor-undo-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/image/editor-insert-image-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/indentation/editor-indent-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/indentation/editor-outdent-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/link/editor-create-link-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/link/editor-insert-file-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/link/editor-unlink-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/list/editor-insert-ordered-list-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/list/editor-insert-unordered-list-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/print/editor-print-button.directive.d.ts +5 -3
- package/{dist/es2015/tools → tools}/select-all/select-all-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/shared/dropdown-tool.directive.d.ts +4 -1
- package/{dist/es2015/tools → tools}/shared/editor-command-base.d.ts +8 -4
- package/{dist/es2015/tools → tools}/shared/editor-command-button.d.ts +5 -5
- package/{dist/es2015/tools → tools}/shared/editor-command-dialog.d.ts +4 -5
- package/{dist/es2015/tools → tools}/source/editor-view-source-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-add-column-after-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-add-column-before-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-add-row-after-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-add-row-before-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-delete-column-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-delete-row-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-delete-table-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-insert-table-button.component.d.ts +10 -9
- package/{dist/es2015/tools → tools}/tables/editor-merge-cells-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/editor-split-cell-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/tables/popup-table-grid.component.d.ts +7 -6
- package/{dist/es2015/tools → tools}/tools.service.d.ts +3 -0
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-bold-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-italic-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-strikethrough-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-subscript-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-superscript-button.directive.d.ts +5 -2
- package/{dist/es2015/tools → tools}/typographical-emphasis/editor-underline-button.directive.d.ts +5 -2
- package/{dist/es2015/util.d.ts → util.d.ts} +7 -0
- package/dist/cdn/js/kendo-angular-editor.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/common/apply-to-word-options.js +0 -4
- package/dist/es/common/direction.js +0 -4
- package/dist/es/common/error-messages.js +0 -19
- package/dist/es/common/styles.js +0 -16
- package/dist/es/config/command-icons.js +0 -48
- package/dist/es/config/commands.js +0 -71
- package/dist/es/config/schema.js +0 -22
- package/dist/es/config/semantic-nodes.js +0 -32
- package/dist/es/config/table-commands.js +0 -14
- package/dist/es/config/utils.js +0 -102
- package/dist/es/dialogs/colorpicker-dialog.component.js +0 -70
- package/dist/es/dialogs/file-link-dialog.component.js +0 -126
- package/dist/es/dialogs/font-family-dialog.component.js +0 -65
- package/dist/es/dialogs/font-size-dialog.component.js +0 -65
- package/dist/es/dialogs/format-dialog.component.js +0 -65
- package/dist/es/dialogs/image-dialog.component.js +0 -102
- package/dist/es/dialogs/insert-table-dialog.component.js +0 -49
- package/dist/es/dialogs/source-dialog.component.js +0 -72
- package/dist/es/editor-toolbar-state.js +0 -280
- package/dist/es/editor.component.js +0 -1039
- package/dist/es/editor.module.js +0 -241
- package/dist/es/localization/custom-messages.component.js +0 -45
- package/dist/es/localization/editor-localization.service.js +0 -24
- package/dist/es/localization/localized-messages.directive.js +0 -36
- package/dist/es/localization/messages.js +0 -230
- package/dist/es/main.js +0 -9
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/preventable-events/paste-event.js +0 -25
- package/dist/es/tools/alignment/editor-align-center-button.directive.js +0 -47
- package/dist/es/tools/alignment/editor-align-justify-button.directive.js +0 -47
- package/dist/es/tools/alignment/editor-align-left-button.directive.js +0 -47
- package/dist/es/tools/alignment/editor-align-right-button.directive.js +0 -47
- package/dist/es/tools/blockquote/editor-blockquote-button.directive.js +0 -48
- package/dist/es/tools/colorpicker/editor-back-color.directive.js +0 -28
- package/dist/es/tools/colorpicker/editor-colorpicker.component.js +0 -233
- package/dist/es/tools/colorpicker/editor-fore-color.directive.js +0 -28
- package/dist/es/tools/editor-clean-formatting-button.directive.js +0 -46
- package/dist/es/tools/fontfamily/editor-fontfamily-dropdownlist.component.js +0 -71
- package/dist/es/tools/fontfamily/editor-fontfamily.component.js +0 -211
- package/dist/es/tools/fontsize/editor-fontsize-dropdownlist.component.js +0 -71
- package/dist/es/tools/fontsize/editor-fontsize.component.js +0 -206
- package/dist/es/tools/format/editor-format-dropdownlist.component.js +0 -71
- package/dist/es/tools/format/editor-format.component.js +0 -202
- package/dist/es/tools/history/editor-redo-button.directive.js +0 -47
- package/dist/es/tools/history/editor-undo-button.directive.js +0 -47
- package/dist/es/tools/image/editor-insert-image-button.directive.js +0 -46
- package/dist/es/tools/indentation/editor-indent-button.directive.js +0 -47
- package/dist/es/tools/indentation/editor-outdent-button.directive.js +0 -47
- package/dist/es/tools/link/editor-create-link-button.directive.js +0 -47
- package/dist/es/tools/link/editor-insert-file-button.directive.js +0 -39
- package/dist/es/tools/link/editor-unlink-button.directive.js +0 -47
- package/dist/es/tools/list/editor-insert-ordered-list-button.directive.js +0 -47
- package/dist/es/tools/list/editor-insert-unordered-list-button.directive.js +0 -47
- package/dist/es/tools/print/editor-print-button.directive.js +0 -69
- package/dist/es/tools/select-all/select-all-button.directive.js +0 -50
- package/dist/es/tools/shared/dropdown-tool.directive.js +0 -41
- package/dist/es/tools/shared/editor-command-base.js +0 -49
- package/dist/es/tools/shared/editor-command-button.js +0 -34
- package/dist/es/tools/shared/editor-command-dialog.js +0 -30
- package/dist/es/tools/source/editor-view-source-button.directive.js +0 -46
- package/dist/es/tools/tables/editor-add-column-after-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-add-column-before-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-add-row-after-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-add-row-before-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-delete-column-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-delete-row-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-delete-table-button.directive.js +0 -40
- package/dist/es/tools/tables/editor-insert-table-button.component.js +0 -202
- package/dist/es/tools/tables/editor-merge-cells-button.directive.js +0 -42
- package/dist/es/tools/tables/editor-split-cell-button.directive.js +0 -42
- package/dist/es/tools/tables/popup-table-grid.component.js +0 -69
- package/dist/es/tools/tools.service.js +0 -20
- package/dist/es/tools/typographical-emphasis/editor-bold-button.directive.js +0 -47
- package/dist/es/tools/typographical-emphasis/editor-italic-button.directive.js +0 -47
- package/dist/es/tools/typographical-emphasis/editor-strikethrough-button.directive.js +0 -47
- package/dist/es/tools/typographical-emphasis/editor-subscript-button.directive.js +0 -47
- package/dist/es/tools/typographical-emphasis/editor-superscript-button.directive.js +0 -47
- package/dist/es/tools/typographical-emphasis/editor-underline-button.directive.js +0 -47
- package/dist/es/util.js +0 -127
- package/dist/es2015/common/commands.js +0 -4
- package/dist/es2015/common/font-family-item.interface.js +0 -4
- package/dist/es2015/common/font-size-item.interface.js +0 -4
- package/dist/es2015/common/format-item.interface.js +0 -4
- package/dist/es2015/common/image-data.interface.js +0 -4
- package/dist/es2015/common/link-data.interface.js +0 -4
- package/dist/es2015/common/paste-cleanup-settings.js +0 -4
- package/dist/es2015/common/plugins-function.js +0 -4
- package/dist/es2015/common/predicate.js +0 -4
- package/dist/es2015/common/resizable-options.interface.js +0 -4
- package/dist/es2015/common/table-data.interface.js +0 -4
- package/dist/es2015/config/commands.js +0 -67
- package/dist/es2015/dialogs/colorpicker-dialog.component.js +0 -92
- package/dist/es2015/dialogs/file-link-dialog.component.js +0 -163
- package/dist/es2015/dialogs/font-family-dialog.component.js +0 -84
- package/dist/es2015/dialogs/font-size-dialog.component.js +0 -84
- package/dist/es2015/dialogs/format-dialog.component.js +0 -84
- package/dist/es2015/dialogs/insert-table-dialog.component.js +0 -60
- package/dist/es2015/dialogs/source-dialog.component.js +0 -81
- package/dist/es2015/editor.module.d.ts +0 -45
- package/dist/es2015/index.d.ts +0 -72
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/localization/custom-messages.component.js +0 -37
- package/dist/es2015/localization/editor-localization.service.js +0 -22
- package/dist/es2015/localization/localized-messages.directive.js +0 -32
- package/dist/es2015/localization/messages.js +0 -224
- package/dist/es2015/main.d.ts +0 -13
- package/dist/es2015/main.js +0 -9
- package/dist/es2015/preventable-events/paste-event-data.js +0 -4
- package/dist/es2015/tools/alignment/editor-align-center-button.directive.js +0 -45
- package/dist/es2015/tools/alignment/editor-align-justify-button.directive.js +0 -45
- package/dist/es2015/tools/alignment/editor-align-left-button.directive.js +0 -45
- package/dist/es2015/tools/alignment/editor-align-right-button.directive.js +0 -45
- package/dist/es2015/tools/blockquote/editor-blockquote-button.directive.js +0 -45
- package/dist/es2015/tools/colorpicker/editor-back-color.directive.js +0 -27
- package/dist/es2015/tools/colorpicker/editor-colorpicker.component.js +0 -249
- package/dist/es2015/tools/colorpicker/editor-fore-color.directive.js +0 -27
- package/dist/es2015/tools/editor-clean-formatting-button.directive.js +0 -44
- package/dist/es2015/tools/fontfamily/editor-fontfamily-dropdownlist.component.js +0 -99
- package/dist/es2015/tools/fontsize/editor-fontsize-dropdownlist.component.js +0 -94
- package/dist/es2015/tools/format/editor-format-dropdownlist.component.js +0 -127
- package/dist/es2015/tools/history/editor-redo-button.directive.js +0 -45
- package/dist/es2015/tools/history/editor-undo-button.directive.js +0 -45
- package/dist/es2015/tools/image/editor-insert-image-button.directive.js +0 -44
- package/dist/es2015/tools/indentation/editor-indent-button.directive.js +0 -45
- package/dist/es2015/tools/indentation/editor-outdent-button.directive.js +0 -45
- package/dist/es2015/tools/link/editor-create-link-button.directive.js +0 -45
- package/dist/es2015/tools/link/editor-insert-file-button.directive.js +0 -37
- package/dist/es2015/tools/link/editor-unlink-button.directive.js +0 -45
- package/dist/es2015/tools/list/editor-insert-ordered-list-button.directive.js +0 -45
- package/dist/es2015/tools/list/editor-insert-unordered-list-button.directive.js +0 -45
- package/dist/es2015/tools/select-all/select-all-button.directive.js +0 -48
- package/dist/es2015/tools/shared/editor-command-base.js +0 -46
- package/dist/es2015/tools/source/editor-view-source-button.directive.js +0 -44
- package/dist/es2015/tools/tables/editor-add-column-after-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-add-column-before-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-add-row-after-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-add-row-before-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-delete-column-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-delete-row-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-delete-table-button.directive.js +0 -38
- package/dist/es2015/tools/tables/editor-merge-cells-button.directive.js +0 -40
- package/dist/es2015/tools/tables/editor-split-cell-button.directive.js +0 -40
- package/dist/es2015/tools/tools.service.js +0 -22
- package/dist/es2015/tools/typographical-emphasis/editor-bold-button.directive.js +0 -45
- package/dist/es2015/tools/typographical-emphasis/editor-italic-button.directive.js +0 -45
- package/dist/es2015/tools/typographical-emphasis/editor-strikethrough-button.directive.js +0 -45
- package/dist/es2015/tools/typographical-emphasis/editor-subscript-button.directive.js +0 -45
- package/dist/es2015/tools/typographical-emphasis/editor-superscript-button.directive.js +0 -45
- package/dist/es2015/tools/typographical-emphasis/editor-underline-button.directive.js +0 -45
- package/dist/fesm2015/index.js +0 -5842
- package/dist/fesm5/index.js +0 -5300
- package/dist/npm/common/active-marks.js +0 -6
- package/dist/npm/common/apply-to-word-options.js +0 -6
- package/dist/npm/common/commands.js +0 -6
- package/dist/npm/common/direction.js +0 -6
- package/dist/npm/common/error-messages.js +0 -22
- package/dist/npm/common/font-family-item.interface.js +0 -6
- package/dist/npm/common/font-size-item.interface.js +0 -6
- package/dist/npm/common/format-item.interface.js +0 -6
- package/dist/npm/common/image-data.interface.js +0 -6
- package/dist/npm/common/link-data.interface.js +0 -6
- package/dist/npm/common/paste-cleanup-settings.js +0 -6
- package/dist/npm/common/plugins-function.js +0 -6
- package/dist/npm/common/predicate.js +0 -6
- package/dist/npm/common/resizable-options.interface.js +0 -6
- package/dist/npm/common/styles.js +0 -18
- package/dist/npm/common/table-data.interface.js +0 -6
- package/dist/npm/config/command-icons.js +0 -50
- package/dist/npm/config/commands.js +0 -112
- package/dist/npm/config/schema.js +0 -21
- package/dist/npm/config/semantic-nodes.js +0 -35
- package/dist/npm/config/table-commands.js +0 -16
- package/dist/npm/config/utils.js +0 -104
- package/dist/npm/dialogs/colorpicker-dialog.component.js +0 -72
- package/dist/npm/dialogs/file-link-dialog.component.js +0 -128
- package/dist/npm/dialogs/font-family-dialog.component.js +0 -67
- package/dist/npm/dialogs/font-size-dialog.component.js +0 -67
- package/dist/npm/dialogs/format-dialog.component.js +0 -67
- package/dist/npm/dialogs/image-dialog.component.js +0 -104
- package/dist/npm/dialogs/insert-table-dialog.component.js +0 -51
- package/dist/npm/dialogs/source-dialog.component.js +0 -74
- package/dist/npm/editor-toolbar-state.js +0 -282
- package/dist/npm/editor.component.js +0 -1041
- package/dist/npm/editor.module.js +0 -243
- package/dist/npm/index.js +0 -138
- package/dist/npm/localization/custom-messages.component.js +0 -47
- package/dist/npm/localization/editor-localization.service.js +0 -26
- package/dist/npm/localization/localized-messages.directive.js +0 -38
- package/dist/npm/localization/messages.js +0 -232
- package/dist/npm/main.js +0 -38
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/preventable-events/paste-event-data.js +0 -6
- package/dist/npm/preventable-events/paste-event.js +0 -27
- package/dist/npm/tools/alignment/editor-align-center-button.directive.js +0 -49
- package/dist/npm/tools/alignment/editor-align-justify-button.directive.js +0 -49
- package/dist/npm/tools/alignment/editor-align-left-button.directive.js +0 -49
- package/dist/npm/tools/alignment/editor-align-right-button.directive.js +0 -49
- package/dist/npm/tools/blockquote/editor-blockquote-button.directive.js +0 -50
- package/dist/npm/tools/colorpicker/editor-back-color.directive.js +0 -30
- package/dist/npm/tools/colorpicker/editor-colorpicker.component.js +0 -235
- package/dist/npm/tools/colorpicker/editor-fore-color.directive.js +0 -30
- package/dist/npm/tools/editor-clean-formatting-button.directive.js +0 -48
- package/dist/npm/tools/fontfamily/editor-fontfamily-dropdownlist.component.js +0 -73
- package/dist/npm/tools/fontfamily/editor-fontfamily.component.js +0 -213
- package/dist/npm/tools/fontsize/editor-fontsize-dropdownlist.component.js +0 -73
- package/dist/npm/tools/fontsize/editor-fontsize.component.js +0 -208
- package/dist/npm/tools/format/editor-format-dropdownlist.component.js +0 -73
- package/dist/npm/tools/format/editor-format.component.js +0 -204
- package/dist/npm/tools/history/editor-redo-button.directive.js +0 -49
- package/dist/npm/tools/history/editor-undo-button.directive.js +0 -49
- package/dist/npm/tools/image/editor-insert-image-button.directive.js +0 -48
- package/dist/npm/tools/indentation/editor-indent-button.directive.js +0 -49
- package/dist/npm/tools/indentation/editor-outdent-button.directive.js +0 -49
- package/dist/npm/tools/link/editor-create-link-button.directive.js +0 -49
- package/dist/npm/tools/link/editor-insert-file-button.directive.js +0 -41
- package/dist/npm/tools/link/editor-unlink-button.directive.js +0 -49
- package/dist/npm/tools/list/editor-insert-ordered-list-button.directive.js +0 -49
- package/dist/npm/tools/list/editor-insert-unordered-list-button.directive.js +0 -49
- package/dist/npm/tools/print/editor-print-button.directive.js +0 -71
- package/dist/npm/tools/select-all/select-all-button.directive.js +0 -52
- package/dist/npm/tools/shared/dropdown-tool.directive.js +0 -43
- package/dist/npm/tools/shared/editor-command-base.js +0 -51
- package/dist/npm/tools/shared/editor-command-button.js +0 -36
- package/dist/npm/tools/shared/editor-command-dialog.js +0 -32
- package/dist/npm/tools/source/editor-view-source-button.directive.js +0 -48
- package/dist/npm/tools/tables/editor-add-column-after-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-add-column-before-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-add-row-after-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-add-row-before-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-delete-column-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-delete-row-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-delete-table-button.directive.js +0 -42
- package/dist/npm/tools/tables/editor-insert-table-button.component.js +0 -204
- package/dist/npm/tools/tables/editor-merge-cells-button.directive.js +0 -44
- package/dist/npm/tools/tables/editor-split-cell-button.directive.js +0 -44
- package/dist/npm/tools/tables/popup-table-grid.component.js +0 -71
- package/dist/npm/tools/tools.service.js +0 -22
- package/dist/npm/tools/typographical-emphasis/editor-bold-button.directive.js +0 -49
- package/dist/npm/tools/typographical-emphasis/editor-italic-button.directive.js +0 -49
- package/dist/npm/tools/typographical-emphasis/editor-strikethrough-button.directive.js +0 -49
- package/dist/npm/tools/typographical-emphasis/editor-subscript-button.directive.js +0 -49
- package/dist/npm/tools/typographical-emphasis/editor-superscript-button.directive.js +0 -49
- package/dist/npm/tools/typographical-emphasis/editor-underline-button.directive.js +0 -49
- package/dist/npm/util.js +0 -130
- package/dist/systemjs/kendo-angular-editor.js +0 -5
|
@@ -1,65 +0,0 @@
|
|
|
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
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, Input, ViewChild } from '@angular/core';
|
|
7
|
-
import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
|
|
8
|
-
import { EditorLocalizationService } from '../localization/editor-localization.service';
|
|
9
|
-
import { EditorComponent } from '../editor.component';
|
|
10
|
-
import { FontSizeDropDownListComponent } from '../tools/fontsize/editor-fontsize-dropdownlist.component';
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
var FontSizeDialogComponent = /** @class */ (function (_super) {
|
|
15
|
-
tslib_1.__extends(FontSizeDialogComponent, _super);
|
|
16
|
-
function FontSizeDialogComponent(dialog, localization) {
|
|
17
|
-
var _this = _super.call(this, dialog) || this;
|
|
18
|
-
_this.dialog = dialog;
|
|
19
|
-
_this.localization = localization;
|
|
20
|
-
_this.data = [];
|
|
21
|
-
return _this;
|
|
22
|
-
}
|
|
23
|
-
FontSizeDialogComponent.prototype.ngAfterViewInit = function () {
|
|
24
|
-
var _this = this;
|
|
25
|
-
Promise.resolve(null).then(function () {
|
|
26
|
-
_this.fontSizeDropDownList.dropDownList.focus();
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
FontSizeDialogComponent.prototype.onCancelAction = function () {
|
|
30
|
-
this.dialog.close();
|
|
31
|
-
};
|
|
32
|
-
FontSizeDialogComponent.prototype.onConfirmAction = function () {
|
|
33
|
-
if (this.value) {
|
|
34
|
-
this.editor.exec('fontSize', this.value);
|
|
35
|
-
}
|
|
36
|
-
this.dialog.close();
|
|
37
|
-
};
|
|
38
|
-
FontSizeDialogComponent.prototype.setData = function (args) {
|
|
39
|
-
this.editor = args.editor;
|
|
40
|
-
this.data = args.data;
|
|
41
|
-
this.defaultItem = args.defaultItem;
|
|
42
|
-
this.value = args.value;
|
|
43
|
-
this.itemDisabled = args.itemDisabled;
|
|
44
|
-
};
|
|
45
|
-
FontSizeDialogComponent.prototype.textFor = function (key) {
|
|
46
|
-
return this.localization.get(key);
|
|
47
|
-
};
|
|
48
|
-
tslib_1.__decorate([
|
|
49
|
-
Input(),
|
|
50
|
-
tslib_1.__metadata("design:type", EditorComponent)
|
|
51
|
-
], FontSizeDialogComponent.prototype, "editor", void 0);
|
|
52
|
-
tslib_1.__decorate([
|
|
53
|
-
ViewChild('fontSizeDropDownList', { read: FontSizeDropDownListComponent, static: true }),
|
|
54
|
-
tslib_1.__metadata("design:type", FontSizeDropDownListComponent)
|
|
55
|
-
], FontSizeDialogComponent.prototype, "fontSizeDropDownList", void 0);
|
|
56
|
-
FontSizeDialogComponent = tslib_1.__decorate([
|
|
57
|
-
Component({
|
|
58
|
-
template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor('fontSize') }}\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-editor-fontsize-dropdownlist\n #fontSizeDropDownList\n [defaultItem]=\"defaultItem\"\n [data]=\"data\"\n [(value)]=\"value\"\n [itemDisabled]=\"itemDisabled\"\n >\n </kendo-editor-fontsize-dropdownlist>\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 "
|
|
59
|
-
}),
|
|
60
|
-
tslib_1.__metadata("design:paramtypes", [DialogRef,
|
|
61
|
-
EditorLocalizationService])
|
|
62
|
-
], FontSizeDialogComponent);
|
|
63
|
-
return FontSizeDialogComponent;
|
|
64
|
-
}(DialogContentBase));
|
|
65
|
-
export { FontSizeDialogComponent };
|
|
@@ -1,65 +0,0 @@
|
|
|
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
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, Input, ViewChild } from '@angular/core';
|
|
7
|
-
import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
|
|
8
|
-
import { EditorLocalizationService } from '../localization/editor-localization.service';
|
|
9
|
-
import { EditorComponent } from '../editor.component';
|
|
10
|
-
import { FormatDropDownListComponent } from '../tools/format/editor-format-dropdownlist.component';
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
var FormatDialogComponent = /** @class */ (function (_super) {
|
|
15
|
-
tslib_1.__extends(FormatDialogComponent, _super);
|
|
16
|
-
function FormatDialogComponent(dialog, localization) {
|
|
17
|
-
var _this = _super.call(this, dialog) || this;
|
|
18
|
-
_this.dialog = dialog;
|
|
19
|
-
_this.localization = localization;
|
|
20
|
-
_this.data = [];
|
|
21
|
-
return _this;
|
|
22
|
-
}
|
|
23
|
-
FormatDialogComponent.prototype.ngAfterViewInit = function () {
|
|
24
|
-
var _this = this;
|
|
25
|
-
Promise.resolve(null).then(function () {
|
|
26
|
-
_this.formatDropDownList.dropDownList.focus();
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
FormatDialogComponent.prototype.onCancelAction = function () {
|
|
30
|
-
this.dialog.close();
|
|
31
|
-
};
|
|
32
|
-
FormatDialogComponent.prototype.onConfirmAction = function () {
|
|
33
|
-
if (this.value) {
|
|
34
|
-
this.editor.exec('format', { tag: this.value });
|
|
35
|
-
}
|
|
36
|
-
this.dialog.close();
|
|
37
|
-
};
|
|
38
|
-
FormatDialogComponent.prototype.setData = function (args) {
|
|
39
|
-
this.editor = args.editor;
|
|
40
|
-
this.data = args.data;
|
|
41
|
-
this.defaultItem = args.defaultItem;
|
|
42
|
-
this.value = args.value;
|
|
43
|
-
this.itemDisabled = args.itemDisabled;
|
|
44
|
-
};
|
|
45
|
-
FormatDialogComponent.prototype.textFor = function (key) {
|
|
46
|
-
return this.localization.get(key);
|
|
47
|
-
};
|
|
48
|
-
tslib_1.__decorate([
|
|
49
|
-
Input(),
|
|
50
|
-
tslib_1.__metadata("design:type", EditorComponent)
|
|
51
|
-
], FormatDialogComponent.prototype, "editor", void 0);
|
|
52
|
-
tslib_1.__decorate([
|
|
53
|
-
ViewChild('formatDropDownList', { read: FormatDropDownListComponent, static: true }),
|
|
54
|
-
tslib_1.__metadata("design:type", FormatDropDownListComponent)
|
|
55
|
-
], FormatDialogComponent.prototype, "formatDropDownList", void 0);
|
|
56
|
-
FormatDialogComponent = tslib_1.__decorate([
|
|
57
|
-
Component({
|
|
58
|
-
template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor('format') }}\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-editor-format-dropdownlist\n #formatDropDownList\n [defaultItem]=\"defaultItem\"\n [data]=\"data\"\n [(value)]=\"value\"\n [itemDisabled]=\"itemDisabled\"\n >\n </kendo-editor-format-dropdownlist>\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 "
|
|
59
|
-
}),
|
|
60
|
-
tslib_1.__metadata("design:paramtypes", [DialogRef,
|
|
61
|
-
EditorLocalizationService])
|
|
62
|
-
], FormatDialogComponent);
|
|
63
|
-
return FormatDialogComponent;
|
|
64
|
-
}(DialogContentBase));
|
|
65
|
-
export { FormatDialogComponent };
|
|
@@ -1,102 +0,0 @@
|
|
|
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
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, Input, ViewChild, ElementRef } from '@angular/core';
|
|
7
|
-
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
|
8
|
-
import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
|
|
9
|
-
import { getNodeFromSelection } from '@progress/kendo-editor-common';
|
|
10
|
-
import { safeString } from '../util';
|
|
11
|
-
import { EditorLocalizationService } from '../localization/editor-localization.service';
|
|
12
|
-
import { guid } from '@progress/kendo-angular-common';
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
var ImageDialogComponent = /** @class */ (function (_super) {
|
|
17
|
-
tslib_1.__extends(ImageDialogComponent, _super);
|
|
18
|
-
function ImageDialogComponent(dialog, localization) {
|
|
19
|
-
var _this = _super.call(this, dialog) || this;
|
|
20
|
-
_this.dialog = dialog;
|
|
21
|
-
_this.localization = localization;
|
|
22
|
-
_this.src = new FormControl('', Validators.required);
|
|
23
|
-
_this.alt = new FormControl('');
|
|
24
|
-
_this.width = new FormControl('', Validators.min(1));
|
|
25
|
-
_this.height = new FormControl('', Validators.min(1));
|
|
26
|
-
_this.data = {
|
|
27
|
-
alt: '',
|
|
28
|
-
height: '',
|
|
29
|
-
src: '',
|
|
30
|
-
width: ''
|
|
31
|
-
};
|
|
32
|
-
_this.imageData = new FormGroup({
|
|
33
|
-
alt: _this.alt,
|
|
34
|
-
height: _this.height,
|
|
35
|
-
src: _this.src,
|
|
36
|
-
width: _this.width
|
|
37
|
-
});
|
|
38
|
-
return _this;
|
|
39
|
-
}
|
|
40
|
-
ImageDialogComponent.prototype.ngOnInit = function () {
|
|
41
|
-
this.srcInputId = "k-" + guid();
|
|
42
|
-
this.altTextInputId = "k-" + guid();
|
|
43
|
-
this.widthInputId = "k-" + guid();
|
|
44
|
-
this.heightInputId = "k-" + guid();
|
|
45
|
-
};
|
|
46
|
-
ImageDialogComponent.prototype.ngAfterViewInit = function () {
|
|
47
|
-
var _this = this;
|
|
48
|
-
Promise.resolve(null).then(function () {
|
|
49
|
-
_this.srcInput.nativeElement.focus();
|
|
50
|
-
});
|
|
51
|
-
};
|
|
52
|
-
ImageDialogComponent.prototype.onCancelAction = function () {
|
|
53
|
-
this.dialog.close();
|
|
54
|
-
};
|
|
55
|
-
ImageDialogComponent.prototype.onConfirmAction = function () {
|
|
56
|
-
if (this.src.value) {
|
|
57
|
-
this.editor.exec('insertImage', this.getData());
|
|
58
|
-
this.dialog.close();
|
|
59
|
-
this.editor.view.focus();
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
ImageDialogComponent.prototype.setData = function (state) {
|
|
63
|
-
var node = getNodeFromSelection(state);
|
|
64
|
-
if (node) {
|
|
65
|
-
this.src.patchValue(node.attrs.src);
|
|
66
|
-
this.alt.patchValue(node.attrs.alt);
|
|
67
|
-
this.width.patchValue(node.attrs.width);
|
|
68
|
-
this.height.patchValue(node.attrs.height);
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
ImageDialogComponent.prototype.textFor = function (key) {
|
|
72
|
-
return this.localization.get(key);
|
|
73
|
-
};
|
|
74
|
-
ImageDialogComponent.prototype.getData = function () {
|
|
75
|
-
return {
|
|
76
|
-
alt: this.alt.value,
|
|
77
|
-
height: this.normalizeDimension(this.height.value),
|
|
78
|
-
src: this.src.value,
|
|
79
|
-
width: this.normalizeDimension(this.width.value)
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
ImageDialogComponent.prototype.normalizeDimension = function (value) {
|
|
83
|
-
return Number.isNaN(parseInt(value, 10)) || parseInt(value, 10) <= 0 ? '' : safeString(parseInt(value, 10));
|
|
84
|
-
};
|
|
85
|
-
tslib_1.__decorate([
|
|
86
|
-
Input(),
|
|
87
|
-
tslib_1.__metadata("design:type", Object)
|
|
88
|
-
], ImageDialogComponent.prototype, "editor", void 0);
|
|
89
|
-
tslib_1.__decorate([
|
|
90
|
-
ViewChild('srcInput', { read: ElementRef, static: true }),
|
|
91
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
92
|
-
], ImageDialogComponent.prototype, "srcInput", void 0);
|
|
93
|
-
ImageDialogComponent = tslib_1.__decorate([
|
|
94
|
-
Component({
|
|
95
|
-
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 "
|
|
96
|
-
}),
|
|
97
|
-
tslib_1.__metadata("design:paramtypes", [DialogRef,
|
|
98
|
-
EditorLocalizationService])
|
|
99
|
-
], ImageDialogComponent);
|
|
100
|
-
return ImageDialogComponent;
|
|
101
|
-
}(DialogContentBase));
|
|
102
|
-
export { ImageDialogComponent };
|
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, Input } from '@angular/core';
|
|
7
|
-
import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
|
|
8
|
-
import { EditorLocalizationService } from '../localization/editor-localization.service';
|
|
9
|
-
import { EditorComponent } from '../editor.component';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
var InsertTableDialogComponent = /** @class */ (function (_super) {
|
|
14
|
-
tslib_1.__extends(InsertTableDialogComponent, _super);
|
|
15
|
-
function InsertTableDialogComponent(dialog, localization) {
|
|
16
|
-
var _this = _super.call(this, dialog) || this;
|
|
17
|
-
_this.dialog = dialog;
|
|
18
|
-
_this.localization = localization;
|
|
19
|
-
return _this;
|
|
20
|
-
}
|
|
21
|
-
InsertTableDialogComponent.prototype.onCancelAction = function () {
|
|
22
|
-
this.dialog.close();
|
|
23
|
-
this.editor.view.focus();
|
|
24
|
-
};
|
|
25
|
-
InsertTableDialogComponent.prototype.onCellClick = function (args) {
|
|
26
|
-
this.dialog.close();
|
|
27
|
-
this.editor.exec("insertTable", args);
|
|
28
|
-
this.editor.view.focus();
|
|
29
|
-
};
|
|
30
|
-
InsertTableDialogComponent.prototype.setData = function (args) {
|
|
31
|
-
this.editor = args.editor;
|
|
32
|
-
};
|
|
33
|
-
InsertTableDialogComponent.prototype.textFor = function (key) {
|
|
34
|
-
return this.localization.get(key);
|
|
35
|
-
};
|
|
36
|
-
tslib_1.__decorate([
|
|
37
|
-
Input(),
|
|
38
|
-
tslib_1.__metadata("design:type", EditorComponent)
|
|
39
|
-
], InsertTableDialogComponent.prototype, "editor", void 0);
|
|
40
|
-
InsertTableDialogComponent = tslib_1.__decorate([
|
|
41
|
-
Component({
|
|
42
|
-
template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor('insertTable') }}\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-ct-popup k-window-content\" style=\"text-align: center;\">\n <kendo-popup-table-grid (cellClick)=\"onCellClick($event)\"></kendo-popup-table-grid>\n </div>\n </div>\n </div>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n </kendo-dialog-actions>\n "
|
|
43
|
-
}),
|
|
44
|
-
tslib_1.__metadata("design:paramtypes", [DialogRef,
|
|
45
|
-
EditorLocalizationService])
|
|
46
|
-
], InsertTableDialogComponent);
|
|
47
|
-
return InsertTableDialogComponent;
|
|
48
|
-
}(DialogContentBase));
|
|
49
|
-
export { InsertTableDialogComponent };
|
|
@@ -1,72 +0,0 @@
|
|
|
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
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, ViewChild, ElementRef, Input } from '@angular/core';
|
|
7
|
-
// import { EditorService } from '../editor.service';
|
|
8
|
-
import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
|
|
9
|
-
import { EditorLocalizationService } from '../localization/editor-localization.service';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
var SourceDialogComponent = /** @class */ (function (_super) {
|
|
14
|
-
tslib_1.__extends(SourceDialogComponent, _super);
|
|
15
|
-
function SourceDialogComponent(dialog, localization) {
|
|
16
|
-
var _this = _super.call(this, dialog) || this;
|
|
17
|
-
_this.dialog = dialog;
|
|
18
|
-
_this.localization = localization;
|
|
19
|
-
_this.data = '';
|
|
20
|
-
return _this;
|
|
21
|
-
}
|
|
22
|
-
SourceDialogComponent.prototype.ngAfterViewInit = function () {
|
|
23
|
-
var _this = this;
|
|
24
|
-
Promise.resolve(null).then(function () {
|
|
25
|
-
_this.textarea.nativeElement.focus();
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
SourceDialogComponent.prototype.onCancelAction = function () {
|
|
29
|
-
this.dialog.close();
|
|
30
|
-
};
|
|
31
|
-
SourceDialogComponent.prototype.onConfirmAction = function () {
|
|
32
|
-
this.editor.exec('setHTML', this.getData());
|
|
33
|
-
this.dialog.close();
|
|
34
|
-
this.editor.view.focus();
|
|
35
|
-
};
|
|
36
|
-
SourceDialogComponent.prototype.getData = function () {
|
|
37
|
-
return this.textarea.nativeElement.value;
|
|
38
|
-
};
|
|
39
|
-
SourceDialogComponent.prototype.setData = function () {
|
|
40
|
-
this.data = this.indent(this.editor.getSource());
|
|
41
|
-
};
|
|
42
|
-
SourceDialogComponent.prototype.textFor = function (key) {
|
|
43
|
-
return this.localization.get(key);
|
|
44
|
-
};
|
|
45
|
-
SourceDialogComponent.prototype.indent = function (content) {
|
|
46
|
-
return content
|
|
47
|
-
.replace(/<\/(p|li|ul|ol|h[1-6]|table|tr|td|th)>/gi, '</$1>\n')
|
|
48
|
-
.replace(/<(ul|ol)([^>]*)><li/gi, '<$1$2>\n<li')
|
|
49
|
-
.replace(/<br \/>/gi, '<br />\n')
|
|
50
|
-
.replace(/\n$/, '');
|
|
51
|
-
};
|
|
52
|
-
tslib_1.__decorate([
|
|
53
|
-
Input(),
|
|
54
|
-
tslib_1.__metadata("design:type", Object)
|
|
55
|
-
], SourceDialogComponent.prototype, "editor", void 0);
|
|
56
|
-
tslib_1.__decorate([
|
|
57
|
-
ViewChild('textarea', { static: true }),
|
|
58
|
-
tslib_1.__metadata("design:type", ElementRef)
|
|
59
|
-
], SourceDialogComponent.prototype, "textarea", void 0);
|
|
60
|
-
SourceDialogComponent = tslib_1.__decorate([
|
|
61
|
-
Component({
|
|
62
|
-
styles: [
|
|
63
|
-
"\n >>> .k-editor-textarea {\n height: 100%;\n }\n "
|
|
64
|
-
],
|
|
65
|
-
template: "\n <kendo-dialog-titlebar (close)=\"onCancelAction()\">\n {{ textFor('viewSource') }}\n </kendo-dialog-titlebar>\n <textarea [value]=\"data\" #textarea class=\"k-textarea k-editor-textarea\"></textarea>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"onCancelAction()\">{{ textFor('dialogCancel') }}</button>\n <button kendoButton (click)=\"onConfirmAction()\" [primary]=\"true\">{{ textFor('dialogUpdate') }}</button>\n </kendo-dialog-actions>\n "
|
|
66
|
-
}),
|
|
67
|
-
tslib_1.__metadata("design:paramtypes", [DialogRef,
|
|
68
|
-
EditorLocalizationService])
|
|
69
|
-
], SourceDialogComponent);
|
|
70
|
-
return SourceDialogComponent;
|
|
71
|
-
}(DialogContentBase));
|
|
72
|
-
export { SourceDialogComponent };
|
|
@@ -1,280 +0,0 @@
|
|
|
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
|
-
import { blockquote, cleanFormatting, isIndented } from '@progress/kendo-editor-common';
|
|
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
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export var getToolbarState = function (state, options) { return ({
|
|
11
|
-
alignCenter: {
|
|
12
|
-
selected: isAligned(state, alignCenterRules),
|
|
13
|
-
disabled: false
|
|
14
|
-
},
|
|
15
|
-
alignJustify: {
|
|
16
|
-
selected: isAligned(state, alignJustifyRules),
|
|
17
|
-
disabled: false
|
|
18
|
-
},
|
|
19
|
-
alignLeft: {
|
|
20
|
-
selected: isAligned(state, alignLeftRules),
|
|
21
|
-
disabled: false
|
|
22
|
-
},
|
|
23
|
-
alignRight: {
|
|
24
|
-
selected: isAligned(state, alignRightRules),
|
|
25
|
-
disabled: false
|
|
26
|
-
},
|
|
27
|
-
bold: {
|
|
28
|
-
selected: hasMark(state, bold),
|
|
29
|
-
disabled: false
|
|
30
|
-
},
|
|
31
|
-
cleanFormatting: {
|
|
32
|
-
selected: false,
|
|
33
|
-
disabled: !cleanFormatting()(state)
|
|
34
|
-
},
|
|
35
|
-
format: {
|
|
36
|
-
selected: activeNode(state),
|
|
37
|
-
disabled: false
|
|
38
|
-
},
|
|
39
|
-
blockquote: {
|
|
40
|
-
selected: false,
|
|
41
|
-
disabled: !blockquote(state)
|
|
42
|
-
},
|
|
43
|
-
indent: {
|
|
44
|
-
selected: false,
|
|
45
|
-
disabled: !(canIndentAsListItem(state, state.schema.nodes.list_item) || canBeIndented(state, indentRules))
|
|
46
|
-
},
|
|
47
|
-
insertOrderedList: {
|
|
48
|
-
selected: hasNode(state, state.schema.nodes.ordered_list),
|
|
49
|
-
disabled: false
|
|
50
|
-
},
|
|
51
|
-
insertUnorderedList: {
|
|
52
|
-
selected: hasNode(state, state.schema.nodes.bullet_list),
|
|
53
|
-
disabled: false
|
|
54
|
-
},
|
|
55
|
-
italic: {
|
|
56
|
-
selected: hasMark(state, italic),
|
|
57
|
-
disabled: false
|
|
58
|
-
},
|
|
59
|
-
unlink: {
|
|
60
|
-
selected: false,
|
|
61
|
-
disabled: !hasMark(state, link)
|
|
62
|
-
},
|
|
63
|
-
outdent: {
|
|
64
|
-
selected: false,
|
|
65
|
-
get disabled() {
|
|
66
|
-
return !(hasNode(state, state.schema.nodes.blockquote) ||
|
|
67
|
-
canOutdentAsListItem(state, outdentRules) ||
|
|
68
|
-
isIndented(state, outdentRules.nodes));
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
redo: {
|
|
72
|
-
selected: false,
|
|
73
|
-
disabled: !redo(state)
|
|
74
|
-
},
|
|
75
|
-
selectAll: {
|
|
76
|
-
selected: false,
|
|
77
|
-
disabled: false
|
|
78
|
-
},
|
|
79
|
-
strikethrough: {
|
|
80
|
-
selected: hasMark(state, strikethrough),
|
|
81
|
-
disabled: false
|
|
82
|
-
},
|
|
83
|
-
style: {
|
|
84
|
-
selected: getActiveMarks(state, state.schema.marks.style),
|
|
85
|
-
disabled: false
|
|
86
|
-
},
|
|
87
|
-
subscript: {
|
|
88
|
-
selected: hasMark(state, subscript),
|
|
89
|
-
disabled: false
|
|
90
|
-
},
|
|
91
|
-
superscript: {
|
|
92
|
-
selected: hasMark(state, superscript),
|
|
93
|
-
disabled: false
|
|
94
|
-
},
|
|
95
|
-
underline: {
|
|
96
|
-
selected: hasMark(state, underline),
|
|
97
|
-
disabled: false
|
|
98
|
-
},
|
|
99
|
-
undo: {
|
|
100
|
-
selected: false,
|
|
101
|
-
disabled: !undo(state)
|
|
102
|
-
},
|
|
103
|
-
//dialogs
|
|
104
|
-
createLink: {
|
|
105
|
-
selected: false,
|
|
106
|
-
get disabled() {
|
|
107
|
-
var empty = state.selection.empty;
|
|
108
|
-
var applyToWord = options && options.applyToWord;
|
|
109
|
-
if (applyToWord && empty) {
|
|
110
|
-
var extendedState = expandSelection(state, function () { }, options).state;
|
|
111
|
-
return extendedState.selection.empty;
|
|
112
|
-
}
|
|
113
|
-
return empty;
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
insertFile: {
|
|
117
|
-
selected: false,
|
|
118
|
-
disabled: state.selection.empty
|
|
119
|
-
},
|
|
120
|
-
insertImage: {
|
|
121
|
-
selected: false,
|
|
122
|
-
disabled: false
|
|
123
|
-
},
|
|
124
|
-
viewSource: {
|
|
125
|
-
selected: false,
|
|
126
|
-
disabled: false
|
|
127
|
-
},
|
|
128
|
-
// print
|
|
129
|
-
print: {
|
|
130
|
-
selected: false,
|
|
131
|
-
disabled: false
|
|
132
|
-
},
|
|
133
|
-
// table
|
|
134
|
-
insertTable: {
|
|
135
|
-
selected: false,
|
|
136
|
-
disabled: false
|
|
137
|
-
},
|
|
138
|
-
addColumnBefore: {
|
|
139
|
-
selected: false,
|
|
140
|
-
disabled: !addColumnBefore(state)
|
|
141
|
-
},
|
|
142
|
-
addColumnAfter: {
|
|
143
|
-
selected: false,
|
|
144
|
-
disabled: !addColumnAfter(state)
|
|
145
|
-
},
|
|
146
|
-
addRowBefore: {
|
|
147
|
-
selected: false,
|
|
148
|
-
disabled: !addRowBefore(state)
|
|
149
|
-
},
|
|
150
|
-
addRowAfter: {
|
|
151
|
-
selected: false,
|
|
152
|
-
disabled: !addRowAfter(state)
|
|
153
|
-
},
|
|
154
|
-
deleteRow: {
|
|
155
|
-
selected: false,
|
|
156
|
-
disabled: !deleteRow(state)
|
|
157
|
-
},
|
|
158
|
-
deleteColumn: {
|
|
159
|
-
selected: false,
|
|
160
|
-
disabled: !deleteColumn(state)
|
|
161
|
-
},
|
|
162
|
-
mergeCells: {
|
|
163
|
-
selected: false,
|
|
164
|
-
disabled: !mergeCells(state)
|
|
165
|
-
},
|
|
166
|
-
splitCell: {
|
|
167
|
-
selected: false,
|
|
168
|
-
disabled: !splitCell(state)
|
|
169
|
-
},
|
|
170
|
-
deleteTable: {
|
|
171
|
-
selected: false,
|
|
172
|
-
disabled: !deleteTable(state)
|
|
173
|
-
}
|
|
174
|
-
}); };
|
|
175
|
-
/**
|
|
176
|
-
* @hidden
|
|
177
|
-
*/
|
|
178
|
-
export var initialToolBarState = {
|
|
179
|
-
//alignment
|
|
180
|
-
alignCenter: { selected: false, disabled: false },
|
|
181
|
-
alignJustify: { selected: false, disabled: false },
|
|
182
|
-
alignLeft: { selected: false, disabled: false },
|
|
183
|
-
alignRight: { selected: false, disabled: false },
|
|
184
|
-
//marks
|
|
185
|
-
bold: { selected: false, disabled: false },
|
|
186
|
-
italic: { selected: false, disabled: false },
|
|
187
|
-
underline: { selected: false, disabled: false },
|
|
188
|
-
strikethrough: { selected: false, disabled: false },
|
|
189
|
-
subscript: { selected: false, disabled: false },
|
|
190
|
-
superscript: { selected: false, disabled: false },
|
|
191
|
-
//tools
|
|
192
|
-
format: { selected: { text: 'Format', tag: null }, disabled: false },
|
|
193
|
-
style: { selected: { marks: [], hasNodesWithoutMarks: false }, disabled: false },
|
|
194
|
-
cleanFormatting: { selected: false, disabled: true },
|
|
195
|
-
blockquote: { selected: false, disabled: false },
|
|
196
|
-
//indent
|
|
197
|
-
indent: { selected: false, disabled: false },
|
|
198
|
-
outdent: { selected: false, disabled: false },
|
|
199
|
-
//lists
|
|
200
|
-
insertOrderedList: { selected: false, disabled: false },
|
|
201
|
-
insertUnorderedList: { selected: false, disabled: false },
|
|
202
|
-
//links
|
|
203
|
-
unlink: { selected: false, disabled: true },
|
|
204
|
-
//history
|
|
205
|
-
redo: { selected: false, disabled: true },
|
|
206
|
-
undo: { selected: false, disabled: true },
|
|
207
|
-
// print
|
|
208
|
-
print: { selected: false, disabled: false },
|
|
209
|
-
//dialogs
|
|
210
|
-
createLink: { selected: false, disabled: true },
|
|
211
|
-
insertFile: { selected: false, disabled: true },
|
|
212
|
-
insertImage: { selected: false, disabled: false },
|
|
213
|
-
viewSource: { selected: false, disabled: false },
|
|
214
|
-
//table
|
|
215
|
-
insertTable: { selected: false, disabled: false },
|
|
216
|
-
addColumnBefore: { selected: false, disabled: true },
|
|
217
|
-
addColumnAfter: { selected: false, disabled: true },
|
|
218
|
-
addRowBefore: { selected: false, disabled: true },
|
|
219
|
-
addRowAfter: { selected: false, disabled: true },
|
|
220
|
-
deleteRow: { selected: false, disabled: true },
|
|
221
|
-
deleteColumn: { selected: false, disabled: true },
|
|
222
|
-
mergeCells: { selected: false, disabled: true },
|
|
223
|
-
splitCell: { selected: false, disabled: true },
|
|
224
|
-
deleteTable: { selected: false, disabled: true },
|
|
225
|
-
// select all
|
|
226
|
-
selectAll: { selected: false, disabled: false }
|
|
227
|
-
};
|
|
228
|
-
/**
|
|
229
|
-
* @hidden
|
|
230
|
-
*/
|
|
231
|
-
export var disabledToolBarState = {
|
|
232
|
-
//alignment
|
|
233
|
-
alignCenter: { selected: false, disabled: true },
|
|
234
|
-
alignJustify: { selected: false, disabled: true },
|
|
235
|
-
alignLeft: { selected: false, disabled: true },
|
|
236
|
-
alignRight: { selected: false, disabled: true },
|
|
237
|
-
//marks
|
|
238
|
-
bold: { selected: false, disabled: true },
|
|
239
|
-
italic: { selected: false, disabled: true },
|
|
240
|
-
underline: { selected: false, disabled: true },
|
|
241
|
-
strikethrough: { selected: false, disabled: true },
|
|
242
|
-
subscript: { selected: false, disabled: true },
|
|
243
|
-
superscript: { selected: false, disabled: true },
|
|
244
|
-
//tools
|
|
245
|
-
format: { selected: { text: 'Format', tag: null }, disabled: true },
|
|
246
|
-
style: { selected: { marks: [], hasNodesWithoutMarks: false }, disabled: true },
|
|
247
|
-
cleanFormatting: { selected: false, disabled: true },
|
|
248
|
-
blockquote: { selected: false, disabled: true },
|
|
249
|
-
//indent
|
|
250
|
-
indent: { selected: false, disabled: true },
|
|
251
|
-
outdent: { selected: false, disabled: true },
|
|
252
|
-
//lists
|
|
253
|
-
insertOrderedList: { selected: false, disabled: true },
|
|
254
|
-
insertUnorderedList: { selected: false, disabled: true },
|
|
255
|
-
//links
|
|
256
|
-
unlink: { selected: false, disabled: true },
|
|
257
|
-
//history
|
|
258
|
-
redo: { selected: false, disabled: true },
|
|
259
|
-
undo: { selected: false, disabled: true },
|
|
260
|
-
// print
|
|
261
|
-
print: { selected: false, disabled: true },
|
|
262
|
-
//dialogs
|
|
263
|
-
createLink: { selected: false, disabled: true },
|
|
264
|
-
insertFile: { selected: false, disabled: true },
|
|
265
|
-
insertImage: { selected: false, disabled: true },
|
|
266
|
-
viewSource: { selected: false, disabled: true },
|
|
267
|
-
//table
|
|
268
|
-
insertTable: { selected: false, disabled: true },
|
|
269
|
-
addColumnBefore: { selected: false, disabled: true },
|
|
270
|
-
addColumnAfter: { selected: false, disabled: true },
|
|
271
|
-
addRowBefore: { selected: false, disabled: true },
|
|
272
|
-
addRowAfter: { selected: false, disabled: true },
|
|
273
|
-
deleteRow: { selected: false, disabled: true },
|
|
274
|
-
deleteColumn: { selected: false, disabled: true },
|
|
275
|
-
mergeCells: { selected: false, disabled: true },
|
|
276
|
-
splitCell: { selected: false, disabled: true },
|
|
277
|
-
deleteTable: { selected: false, disabled: true },
|
|
278
|
-
// select all
|
|
279
|
-
selectAll: { selected: false, disabled: true }
|
|
280
|
-
};
|