@progress/kendo-vue-editor 5.3.0-dev.202410141143 → 5.3.0-develop.2
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/Editor.js +8 -0
- package/Editor.mjs +584 -0
- package/README.md +25 -31
- package/config/defaultStyles.js +204 -0
- package/config/defaultStyles.mjs +209 -0
- package/config/schema.js +8 -0
- package/config/schema.mjs +44 -0
- package/config/shortcuts.js +8 -0
- package/config/shortcuts.mjs +41 -0
- package/config/toolsSettings.js +8 -0
- package/config/toolsSettings.mjs +558 -0
- package/dialogs/FindReplace.js +8 -0
- package/dialogs/FindReplace.mjs +366 -0
- package/dialogs/insertImage.js +8 -0
- package/dialogs/insertImage.mjs +211 -0
- package/dialogs/insertLink.js +8 -0
- package/dialogs/insertLink.mjs +164 -0
- package/dialogs/viewHtml.js +8 -0
- package/dialogs/viewHtml.mjs +128 -0
- package/dist/cdn/js/kendo-vue-editor.js +8 -1
- package/index.d.mts +2936 -0
- package/index.d.ts +2936 -0
- package/index.js +8 -0
- package/index.mjs +207 -0
- package/messages/main.js +8 -0
- package/messages/main.mjs +182 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +18 -0
- package/package.json +23 -62
- package/tools/align.js +8 -0
- package/tools/align.mjs +69 -0
- package/tools/applyColor.js +8 -0
- package/tools/applyColor.mjs +71 -0
- package/tools/cleanFormatting.js +8 -0
- package/tools/cleanFormatting.mjs +65 -0
- package/tools/findReplace.js +8 -0
- package/tools/findReplace.mjs +67 -0
- package/tools/fontStyle.js +8 -0
- package/tools/fontStyle.mjs +104 -0
- package/tools/formatBlock.js +8 -0
- package/tools/formatBlock.mjs +96 -0
- package/tools/indent.js +8 -0
- package/tools/indent.mjs +63 -0
- package/tools/inlineFormat.js +8 -0
- package/tools/inlineFormat.mjs +80 -0
- package/tools/insertImage.js +8 -0
- package/tools/insertImage.mjs +77 -0
- package/tools/insertLink.js +8 -0
- package/tools/insertLink.mjs +76 -0
- package/tools/insertTable/popup.js +8 -0
- package/tools/insertTable/popup.mjs +105 -0
- package/tools/insertTable/popupGrid.js +8 -0
- package/tools/insertTable/popupGrid.mjs +83 -0
- package/tools/insertTable/tool.js +8 -0
- package/tools/insertTable/tool.mjs +98 -0
- package/tools/lists.js +8 -0
- package/tools/lists.mjs +77 -0
- package/tools/outdent.js +8 -0
- package/tools/outdent.mjs +75 -0
- package/tools/pdf.js +8 -0
- package/tools/pdf.mjs +63 -0
- package/tools/print.js +8 -0
- package/tools/print.mjs +58 -0
- package/tools/proseMirrorTool.js +8 -0
- package/tools/proseMirrorTool.mjs +61 -0
- package/tools/selectAll.js +8 -0
- package/tools/selectAll.mjs +56 -0
- package/tools/unlink.js +8 -0
- package/tools/unlink.mjs +64 -0
- package/tools/utils.js +8 -0
- package/tools/utils.mjs +18 -0
- package/tools/viewHtml.js +8 -0
- package/tools/viewHtml.mjs +72 -0
- package/utils/browser-detection.js +8 -0
- package/utils/browser-detection.mjs +11 -0
- package/utils/controlled-value.js +8 -0
- package/utils/controlled-value.mjs +18 -0
- package/utils/main.js +8 -0
- package/utils/main.mjs +162 -0
- package/utils/props-key.js +8 -0
- package/utils/props-key.mjs +12 -0
- package/dist/es/Editor.d.ts +0 -283
- package/dist/es/Editor.js +0 -812
- package/dist/es/EditorProps.d.ts +0 -194
- package/dist/es/EditorProps.js +0 -1
- package/dist/es/additionalTypes.ts +0 -21
- package/dist/es/config/defaultStyles.d.ts +0 -12
- package/dist/es/config/defaultStyles.js +0 -12
- package/dist/es/config/pasteSettings.d.ts +0 -6
- package/dist/es/config/pasteSettings.js +0 -1
- package/dist/es/config/schema.d.ts +0 -8
- package/dist/es/config/schema.js +0 -51
- package/dist/es/config/shortcuts.d.ts +0 -24
- package/dist/es/config/shortcuts.js +0 -61
- package/dist/es/config/toolsSettings.d.ts +0 -489
- package/dist/es/config/toolsSettings.js +0 -528
- package/dist/es/dialogs/EditorDialogProps.d.ts +0 -23
- package/dist/es/dialogs/EditorDialogProps.js +0 -1
- package/dist/es/dialogs/FindReplace.d.ts +0 -70
- package/dist/es/dialogs/FindReplace.js +0 -909
- package/dist/es/dialogs/insertImage.d.ts +0 -54
- package/dist/es/dialogs/insertImage.js +0 -1164
- package/dist/es/dialogs/insertLink.d.ts +0 -52
- package/dist/es/dialogs/insertLink.js +0 -826
- package/dist/es/dialogs/main.d.ts +0 -1
- package/dist/es/dialogs/main.js +0 -42
- package/dist/es/dialogs/viewHtml.d.ts +0 -51
- package/dist/es/dialogs/viewHtml.js +0 -201
- package/dist/es/main.d.ts +0 -192
- package/dist/es/main.js +0 -217
- package/dist/es/messages/main.d.ts +0 -172
- package/dist/es/messages/main.js +0 -503
- package/dist/es/package-metadata.d.ts +0 -5
- package/dist/es/package-metadata.js +0 -11
- package/dist/es/tools/ToolProps.d.ts +0 -35
- package/dist/es/tools/ToolProps.js +0 -1
- package/dist/es/tools/align.d.ts +0 -42
- package/dist/es/tools/align.js +0 -111
- package/dist/es/tools/applyColor.d.ts +0 -45
- package/dist/es/tools/applyColor.js +0 -100
- package/dist/es/tools/cleanFormatting.d.ts +0 -49
- package/dist/es/tools/cleanFormatting.js +0 -107
- package/dist/es/tools/findReplace.d.ts +0 -43
- package/dist/es/tools/findReplace.js +0 -115
- package/dist/es/tools/fontStyle.d.ts +0 -55
- package/dist/es/tools/fontStyle.js +0 -150
- package/dist/es/tools/formatBlock.d.ts +0 -45
- package/dist/es/tools/formatBlock.js +0 -145
- package/dist/es/tools/history.d.ts +0 -18
- package/dist/es/tools/history.js +0 -3
- package/dist/es/tools/indent.d.ts +0 -44
- package/dist/es/tools/indent.js +0 -121
- package/dist/es/tools/inlineFormat.d.ts +0 -74
- package/dist/es/tools/inlineFormat.js +0 -120
- package/dist/es/tools/insertImage.d.ts +0 -46
- package/dist/es/tools/insertImage.js +0 -126
- package/dist/es/tools/insertLink.d.ts +0 -46
- package/dist/es/tools/insertLink.js +0 -126
- package/dist/es/tools/insertTable/popup.d.ts +0 -80
- package/dist/es/tools/insertTable/popup.js +0 -177
- package/dist/es/tools/insertTable/popupGrid.d.ts +0 -51
- package/dist/es/tools/insertTable/popupGrid.js +0 -131
- package/dist/es/tools/insertTable/tool.d.ts +0 -53
- package/dist/es/tools/insertTable/tool.js +0 -157
- package/dist/es/tools/lists.d.ts +0 -48
- package/dist/es/tools/lists.js +0 -124
- package/dist/es/tools/main.d.ts +0 -95
- package/dist/es/tools/main.js +0 -1
- package/dist/es/tools/outdent.d.ts +0 -44
- package/dist/es/tools/outdent.js +0 -123
- package/dist/es/tools/pdf.d.ts +0 -58
- package/dist/es/tools/pdf.js +0 -100
- package/dist/es/tools/print.d.ts +0 -49
- package/dist/es/tools/print.js +0 -103
- package/dist/es/tools/proseMirrorTool.d.ts +0 -48
- package/dist/es/tools/proseMirrorTool.js +0 -104
- package/dist/es/tools/selectAll.d.ts +0 -49
- package/dist/es/tools/selectAll.js +0 -97
- package/dist/es/tools/tableEdit.d.ts +0 -51
- package/dist/es/tools/tableEdit.js +0 -34
- package/dist/es/tools/unlink.d.ts +0 -47
- package/dist/es/tools/unlink.js +0 -104
- package/dist/es/tools/utils.d.ts +0 -18
- package/dist/es/tools/utils.js +0 -31
- package/dist/es/tools/viewHtml.d.ts +0 -54
- package/dist/es/tools/viewHtml.js +0 -121
- package/dist/es/utils/browser-detection.d.ts +0 -4
- package/dist/es/utils/browser-detection.js +0 -5
- package/dist/es/utils/controlled-value.d.ts +0 -5
- package/dist/es/utils/controlled-value.js +0 -31
- package/dist/es/utils/main.d.ts +0 -357
- package/dist/es/utils/main.js +0 -422
- package/dist/es/utils/props-key.d.ts +0 -5
- package/dist/es/utils/props-key.js +0 -5
- package/dist/esm/Editor.d.ts +0 -283
- package/dist/esm/Editor.js +0 -812
- package/dist/esm/EditorProps.d.ts +0 -194
- package/dist/esm/EditorProps.js +0 -1
- package/dist/esm/additionalTypes.ts +0 -21
- package/dist/esm/config/defaultStyles.d.ts +0 -12
- package/dist/esm/config/defaultStyles.js +0 -12
- package/dist/esm/config/pasteSettings.d.ts +0 -6
- package/dist/esm/config/pasteSettings.js +0 -1
- package/dist/esm/config/schema.d.ts +0 -8
- package/dist/esm/config/schema.js +0 -51
- package/dist/esm/config/shortcuts.d.ts +0 -24
- package/dist/esm/config/shortcuts.js +0 -61
- package/dist/esm/config/toolsSettings.d.ts +0 -489
- package/dist/esm/config/toolsSettings.js +0 -528
- package/dist/esm/dialogs/EditorDialogProps.d.ts +0 -23
- package/dist/esm/dialogs/EditorDialogProps.js +0 -1
- package/dist/esm/dialogs/FindReplace.d.ts +0 -70
- package/dist/esm/dialogs/FindReplace.js +0 -909
- package/dist/esm/dialogs/insertImage.d.ts +0 -54
- package/dist/esm/dialogs/insertImage.js +0 -1164
- package/dist/esm/dialogs/insertLink.d.ts +0 -52
- package/dist/esm/dialogs/insertLink.js +0 -826
- package/dist/esm/dialogs/main.d.ts +0 -1
- package/dist/esm/dialogs/main.js +0 -42
- package/dist/esm/dialogs/viewHtml.d.ts +0 -51
- package/dist/esm/dialogs/viewHtml.js +0 -201
- package/dist/esm/main.d.ts +0 -192
- package/dist/esm/main.js +0 -217
- package/dist/esm/messages/main.d.ts +0 -172
- package/dist/esm/messages/main.js +0 -503
- package/dist/esm/package-metadata.d.ts +0 -5
- package/dist/esm/package-metadata.js +0 -11
- package/dist/esm/package.json +0 -3
- package/dist/esm/tools/ToolProps.d.ts +0 -35
- package/dist/esm/tools/ToolProps.js +0 -1
- package/dist/esm/tools/align.d.ts +0 -42
- package/dist/esm/tools/align.js +0 -111
- package/dist/esm/tools/applyColor.d.ts +0 -45
- package/dist/esm/tools/applyColor.js +0 -100
- package/dist/esm/tools/cleanFormatting.d.ts +0 -49
- package/dist/esm/tools/cleanFormatting.js +0 -107
- package/dist/esm/tools/findReplace.d.ts +0 -43
- package/dist/esm/tools/findReplace.js +0 -115
- package/dist/esm/tools/fontStyle.d.ts +0 -55
- package/dist/esm/tools/fontStyle.js +0 -150
- package/dist/esm/tools/formatBlock.d.ts +0 -45
- package/dist/esm/tools/formatBlock.js +0 -145
- package/dist/esm/tools/history.d.ts +0 -18
- package/dist/esm/tools/history.js +0 -3
- package/dist/esm/tools/indent.d.ts +0 -44
- package/dist/esm/tools/indent.js +0 -121
- package/dist/esm/tools/inlineFormat.d.ts +0 -74
- package/dist/esm/tools/inlineFormat.js +0 -120
- package/dist/esm/tools/insertImage.d.ts +0 -46
- package/dist/esm/tools/insertImage.js +0 -126
- package/dist/esm/tools/insertLink.d.ts +0 -46
- package/dist/esm/tools/insertLink.js +0 -126
- package/dist/esm/tools/insertTable/popup.d.ts +0 -80
- package/dist/esm/tools/insertTable/popup.js +0 -177
- package/dist/esm/tools/insertTable/popupGrid.d.ts +0 -51
- package/dist/esm/tools/insertTable/popupGrid.js +0 -131
- package/dist/esm/tools/insertTable/tool.d.ts +0 -53
- package/dist/esm/tools/insertTable/tool.js +0 -157
- package/dist/esm/tools/lists.d.ts +0 -48
- package/dist/esm/tools/lists.js +0 -124
- package/dist/esm/tools/main.d.ts +0 -95
- package/dist/esm/tools/main.js +0 -1
- package/dist/esm/tools/outdent.d.ts +0 -44
- package/dist/esm/tools/outdent.js +0 -123
- package/dist/esm/tools/pdf.d.ts +0 -58
- package/dist/esm/tools/pdf.js +0 -100
- package/dist/esm/tools/print.d.ts +0 -49
- package/dist/esm/tools/print.js +0 -103
- package/dist/esm/tools/proseMirrorTool.d.ts +0 -48
- package/dist/esm/tools/proseMirrorTool.js +0 -104
- package/dist/esm/tools/selectAll.d.ts +0 -49
- package/dist/esm/tools/selectAll.js +0 -97
- package/dist/esm/tools/tableEdit.d.ts +0 -51
- package/dist/esm/tools/tableEdit.js +0 -34
- package/dist/esm/tools/unlink.d.ts +0 -47
- package/dist/esm/tools/unlink.js +0 -104
- package/dist/esm/tools/utils.d.ts +0 -18
- package/dist/esm/tools/utils.js +0 -31
- package/dist/esm/tools/viewHtml.d.ts +0 -54
- package/dist/esm/tools/viewHtml.js +0 -121
- package/dist/esm/utils/browser-detection.d.ts +0 -4
- package/dist/esm/utils/browser-detection.js +0 -5
- package/dist/esm/utils/controlled-value.d.ts +0 -5
- package/dist/esm/utils/controlled-value.js +0 -31
- package/dist/esm/utils/main.d.ts +0 -357
- package/dist/esm/utils/main.js +0 -422
- package/dist/esm/utils/props-key.d.ts +0 -5
- package/dist/esm/utils/props-key.js +0 -5
- package/dist/npm/Editor.d.ts +0 -283
- package/dist/npm/Editor.js +0 -819
- package/dist/npm/EditorProps.d.ts +0 -194
- package/dist/npm/EditorProps.js +0 -2
- package/dist/npm/additionalTypes.ts +0 -21
- package/dist/npm/config/defaultStyles.d.ts +0 -12
- package/dist/npm/config/defaultStyles.js +0 -15
- package/dist/npm/config/pasteSettings.d.ts +0 -6
- package/dist/npm/config/pasteSettings.js +0 -2
- package/dist/npm/config/schema.d.ts +0 -8
- package/dist/npm/config/schema.js +0 -55
- package/dist/npm/config/shortcuts.d.ts +0 -24
- package/dist/npm/config/shortcuts.js +0 -68
- package/dist/npm/config/toolsSettings.d.ts +0 -489
- package/dist/npm/config/toolsSettings.js +0 -531
- package/dist/npm/dialogs/EditorDialogProps.d.ts +0 -23
- package/dist/npm/dialogs/EditorDialogProps.js +0 -2
- package/dist/npm/dialogs/FindReplace.d.ts +0 -70
- package/dist/npm/dialogs/FindReplace.js +0 -916
- package/dist/npm/dialogs/insertImage.d.ts +0 -54
- package/dist/npm/dialogs/insertImage.js +0 -1171
- package/dist/npm/dialogs/insertLink.d.ts +0 -52
- package/dist/npm/dialogs/insertLink.js +0 -833
- package/dist/npm/dialogs/main.d.ts +0 -1
- package/dist/npm/dialogs/main.js +0 -42
- package/dist/npm/dialogs/viewHtml.d.ts +0 -51
- package/dist/npm/dialogs/viewHtml.js +0 -208
- package/dist/npm/main.d.ts +0 -192
- package/dist/npm/main.js +0 -217
- package/dist/npm/messages/main.d.ts +0 -172
- package/dist/npm/messages/main.js +0 -506
- package/dist/npm/package-metadata.d.ts +0 -5
- package/dist/npm/package-metadata.js +0 -14
- package/dist/npm/tools/ToolProps.d.ts +0 -35
- package/dist/npm/tools/ToolProps.js +0 -2
- package/dist/npm/tools/align.d.ts +0 -42
- package/dist/npm/tools/align.js +0 -118
- package/dist/npm/tools/applyColor.d.ts +0 -45
- package/dist/npm/tools/applyColor.js +0 -107
- package/dist/npm/tools/cleanFormatting.d.ts +0 -49
- package/dist/npm/tools/cleanFormatting.js +0 -114
- package/dist/npm/tools/findReplace.d.ts +0 -43
- package/dist/npm/tools/findReplace.js +0 -122
- package/dist/npm/tools/fontStyle.d.ts +0 -55
- package/dist/npm/tools/fontStyle.js +0 -157
- package/dist/npm/tools/formatBlock.d.ts +0 -45
- package/dist/npm/tools/formatBlock.js +0 -152
- package/dist/npm/tools/history.d.ts +0 -18
- package/dist/npm/tools/history.js +0 -8
- package/dist/npm/tools/indent.d.ts +0 -44
- package/dist/npm/tools/indent.js +0 -128
- package/dist/npm/tools/inlineFormat.d.ts +0 -74
- package/dist/npm/tools/inlineFormat.js +0 -127
- package/dist/npm/tools/insertImage.d.ts +0 -46
- package/dist/npm/tools/insertImage.js +0 -133
- package/dist/npm/tools/insertLink.d.ts +0 -46
- package/dist/npm/tools/insertLink.js +0 -133
- package/dist/npm/tools/insertTable/popup.d.ts +0 -80
- package/dist/npm/tools/insertTable/popup.js +0 -184
- package/dist/npm/tools/insertTable/popupGrid.d.ts +0 -51
- package/dist/npm/tools/insertTable/popupGrid.js +0 -138
- package/dist/npm/tools/insertTable/tool.d.ts +0 -53
- package/dist/npm/tools/insertTable/tool.js +0 -164
- package/dist/npm/tools/lists.d.ts +0 -48
- package/dist/npm/tools/lists.js +0 -131
- package/dist/npm/tools/main.d.ts +0 -95
- package/dist/npm/tools/main.js +0 -5
- package/dist/npm/tools/outdent.d.ts +0 -44
- package/dist/npm/tools/outdent.js +0 -130
- package/dist/npm/tools/pdf.d.ts +0 -58
- package/dist/npm/tools/pdf.js +0 -107
- package/dist/npm/tools/print.d.ts +0 -49
- package/dist/npm/tools/print.js +0 -110
- package/dist/npm/tools/proseMirrorTool.d.ts +0 -48
- package/dist/npm/tools/proseMirrorTool.js +0 -111
- package/dist/npm/tools/selectAll.d.ts +0 -49
- package/dist/npm/tools/selectAll.js +0 -104
- package/dist/npm/tools/tableEdit.d.ts +0 -51
- package/dist/npm/tools/tableEdit.js +0 -39
- package/dist/npm/tools/unlink.d.ts +0 -47
- package/dist/npm/tools/unlink.js +0 -111
- package/dist/npm/tools/utils.d.ts +0 -18
- package/dist/npm/tools/utils.js +0 -39
- package/dist/npm/tools/viewHtml.d.ts +0 -54
- package/dist/npm/tools/viewHtml.js +0 -128
- package/dist/npm/utils/browser-detection.d.ts +0 -4
- package/dist/npm/utils/browser-detection.js +0 -8
- package/dist/npm/utils/controlled-value.d.ts +0 -5
- package/dist/npm/utils/controlled-value.js +0 -35
- package/dist/npm/utils/main.d.ts +0 -357
- package/dist/npm/utils/main.js +0 -425
- package/dist/npm/utils/props-key.d.ts +0 -5
- package/dist/npm/utils/props-key.js +0 -8
package/README.md
CHANGED
|
@@ -1,52 +1,46 @@
|
|
|
1
|
-
<a href="https://www.telerik.com/kendo-vue-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-
|
|
1
|
+
<a href="https://www.telerik.com/kendo-vue-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-utils&utm_content=banner" target="_blank">
|
|
2
2
|
<img src="https://www.telerik.com/kendo-vue-ui/npm-banner.svg" alt="Kendo UI for Vue NPM Banner">
|
|
3
3
|
</a>
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Kendo UI for Vue Editor Package for Vue
|
|
6
6
|
|
|
7
7
|
> **Important**
|
|
8
|
-
> * This package is а part of [Kendo UI for Vue](https://www.telerik.com/kendo-vue-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)—a commercial UI library.
|
|
9
|
-
> * You will need to install a license key when adding the package to your project. For more information, please refer to the [Kendo UI for Vue My License page](https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor).
|
|
10
|
-
> * To receive a license key, you need to either [purchase a license](https://www.telerik.com/purchase/kendo-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor) or register for a [free trial](https://www.telerik.com/download-login-v2-kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor). Doing so indicates that you [accept the Kendo UI for Vue License Agreement](https://www.telerik.com/purchase/license-agreement/progress-kendovue?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor).
|
|
11
|
-
> * The 30-day free trial gives you access to all the Kendo UI for Vue components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Vue dev team!
|
|
12
8
|
>
|
|
13
|
-
>
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
> - This package is а part of [Kendo UI for Vue](https://www.telerik.com/kendo-vue-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor)—a commercial UI library.
|
|
10
|
+
> - You will need to install a license key when adding the package to your project. For more information, please refer to the [Kendo UI for Vue My License page](https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor).
|
|
11
|
+
> - To receive a license key, you need to either [purchase a license](https://www.telerik.com/purchase/kendo-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor) or register for a [free trial](https://www.telerik.com/download-login-v2-kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor). Doing so indicates that you [accept the Kendo UI for Vue License Agreement](https://www.telerik.com/kendo-vue-ui-develop/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor).
|
|
12
|
+
> - The 30-day free trial gives you access to all the Kendo UI for Vue components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Vue dev team!
|
|
13
|
+
>
|
|
14
|
+
> [Start using Kendo UI for Vue](https://www.telerik.com/download-login-v2-kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor) and speed up your development process!
|
|
16
15
|
|
|
17
|
-
## Vue
|
|
16
|
+
## Vue Editor
|
|
18
17
|
|
|
19
18
|
> Historically, all Kendo UI for Vue Native components support both **Vue 2** and **Vue 3**, however, Vue 2 is currently in its end-of-support phase till Nov 2024. After our last major release for 2024, Vue 2 will no longer be supported in the new versions of the Kendo UI for Vue components. Please check our [Vue 2 End of Support article](https://www.telerik.com/kendo-vue-ui/components/vue2-deprecation/) for more details.
|
|
20
19
|
|
|
21
|
-
Among the features which the Kendo UI for Vue Editor
|
|
20
|
+
Among the many features which the Kendo UI for Vue Editor deliver are:
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
* [Sanitizing pasted HTML content](https://www.telerik.com/kendo-vue-ui/components/editor/paste/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)—A set of built-in functions look after sanitizing the content which the user pastes in the content area of the editor.
|
|
27
|
-
* [Plugins](https://www.telerik.com/kendo-vue-ui/components/editor/plugins/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)—Various ways to extend and customize the functionality and features of the editor by using different plugins.
|
|
28
|
-
* [Modifying the schema](https://www.telerik.com/kendo-vue-ui/components/editor/schema/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)—By modifying the default, built-in schema, you can add additional types of nodes and marks as well as edit and remove the existing ones. This results in more tailored and customizable experience for the users.
|
|
29
|
-
* [Globalization](https://www.telerik.com/kendo-vue-ui/components/editor/globalization/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)—By using the available globalization options in Kendo UI for Vue, you can translate the Editor messages by adapting them to specific culture locales.
|
|
30
|
-
* [Theme support](https://www.telerik.com/kendo-vue-ui/components/styling/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)—The Kendo UI for Vue Editor, as well as all 100+ components in the Kendo UI for Vue suite, are styled in four polished themes (Bootstrap, Material, Default and Fluent) and can be further customized to match your specific design guidelines.
|
|
22
|
+
- TODO 1
|
|
23
|
+
- TODO 2
|
|
24
|
+
- TODO 3
|
|
31
25
|
|
|
32
26
|
## Support Options
|
|
33
27
|
|
|
34
28
|
For any issues you might encounter while working with the Kendo UI for Vue Editor, use any of the available support channels:
|
|
35
29
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
- Industry-leading technical support—Kendo UI for Vue paid license holders and users with an active (free) trial license can take advantage of our outstanding customer support. To submit a ticket, use [the dedicated Kendo UI for Vue support system](https://www.telerik.com/account/support-tickets?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor).
|
|
31
|
+
- Product forums—The [Kendo UI for Vue forums](https://www.telerik.com/forums/kendo-ui-vue?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor) are part of the free support you can get from the community and from the Kendo UI for Vue team.
|
|
32
|
+
- Feedback portal—The [Kendo UI for Vue feedback portal](https://feedback.telerik.com/kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor) is where you can request and vote for new features to be added.
|
|
39
33
|
|
|
40
34
|
## Resources
|
|
41
35
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
36
|
+
- [Getting Started with Kendo UI for Vue](https://www.telerik.com/kendo-vue-ui/getting-started/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor)
|
|
37
|
+
- [Getting Started with the Kendo UI for Vue Editor](https://www.telerik.com/kendo-vue-ui/components/editor/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor)
|
|
38
|
+
- [API Reference of the Kendo UI for Vue Editor](https://www.telerik.com/kendo-vue-ui/components/editor/api/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor)
|
|
39
|
+
- [Kendo UI for Vue Roadmap](https://www.telerik.com/kendo-vue-ui/roadmap/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor)
|
|
40
|
+
- [Blogs](https://www.telerik.com/blogs/tag/vue?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor)
|
|
41
|
+
- [Demos, documentation, and component reference](https://www.telerik.com/kendo-vue-ui/components/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor)
|
|
42
|
+
- [Kendo UI for Vue pricing and licensing](https://www.telerik.com/purchase/kendo-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmeditor)
|
|
49
43
|
|
|
50
|
-
|
|
44
|
+
_Copyright © 2024 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved._
|
|
51
45
|
|
|
52
|
-
|
|
46
|
+
_Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries._
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=`
|
|
9
|
+
html, body {
|
|
10
|
+
margin: 0;
|
|
11
|
+
height: 100%;
|
|
12
|
+
padding: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
html {
|
|
16
|
+
min-height: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
body {
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
position: relative;
|
|
22
|
+
word-wrap: break-word;
|
|
23
|
+
padding: 8px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
body > .k-content {
|
|
27
|
+
outline: 0;
|
|
28
|
+
height: 100%;
|
|
29
|
+
white-space: pre-wrap;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.k-content > p {
|
|
33
|
+
margin: 0 0 1em;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.k-content table {
|
|
37
|
+
white-space: pre-wrap;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.k-content .k-text-selected, .k-content::selection {
|
|
41
|
+
color: HighlightText;
|
|
42
|
+
background-color: Highlight;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.k-content .k-text-highlighted {
|
|
46
|
+
background-color: #bbdefb;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.k-content .ProseMirror-selectednode {
|
|
50
|
+
outline: 2px solid #8cf;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ProseMirror-hideselection *::selection { background: transparent; }
|
|
54
|
+
.ProseMirror-hideselection *::-moz-selection { background: transparent; }
|
|
55
|
+
.ProseMirror-hideselection { caret-color: transparent; }
|
|
56
|
+
|
|
57
|
+
.ProseMirror-gapcursor {
|
|
58
|
+
display: none;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
position: absolute;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ProseMirror-gapcursor:after {
|
|
64
|
+
content: "";
|
|
65
|
+
display: block;
|
|
66
|
+
position: absolute;
|
|
67
|
+
top: -2px;
|
|
68
|
+
width: 20px;
|
|
69
|
+
border-top: 1px solid black;
|
|
70
|
+
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@keyframes ProseMirror-cursor-blink {
|
|
74
|
+
to {
|
|
75
|
+
visibility: hidden;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
80
|
+
display: block;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.k-editor-resize-handles-wrapper {
|
|
84
|
+
position: absolute;
|
|
85
|
+
visibility: hidden;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.k-editor-resize-handle {
|
|
89
|
+
position: absolute;
|
|
90
|
+
visibility: visible;
|
|
91
|
+
background-color: #fff;
|
|
92
|
+
border: 1px solid #000;
|
|
93
|
+
z-index: 100;
|
|
94
|
+
width: 5px;
|
|
95
|
+
height: 5px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.k-editor-resize-handle.northwest {
|
|
99
|
+
top: 0;
|
|
100
|
+
left: 0;
|
|
101
|
+
transform: translate(-50%, -50%);
|
|
102
|
+
cursor: nw-resize;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.k-editor-resize-handle.north {
|
|
106
|
+
top: 0;
|
|
107
|
+
left: 50%;
|
|
108
|
+
transform: translate(-50%, -50%);
|
|
109
|
+
cursor: n-resize;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.k-editor-resize-handle.northeast {
|
|
113
|
+
top: 0;
|
|
114
|
+
right: 0;
|
|
115
|
+
transform: translate(50%, -50%);
|
|
116
|
+
cursor: ne-resize;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.k-editor-resize-handle.southwest {
|
|
120
|
+
left: 0;
|
|
121
|
+
bottom: 0;
|
|
122
|
+
transform: translate(-50%, 50%);
|
|
123
|
+
cursor: sw-resize;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.k-editor-resize-handle.south {
|
|
127
|
+
bottom: 0;
|
|
128
|
+
left: 50%;
|
|
129
|
+
transform: translate(-50%, 50%);
|
|
130
|
+
cursor: s-resize;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.k-editor-resize-handle.southeast {
|
|
134
|
+
right: 0;
|
|
135
|
+
bottom: 0;
|
|
136
|
+
transform: translate(50%, 50%);
|
|
137
|
+
cursor: se-resize;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.k-editor-resize-handle.west {
|
|
141
|
+
top: 50%;
|
|
142
|
+
left: 0;
|
|
143
|
+
transform: translate(-50%, -50%);
|
|
144
|
+
cursor: w-resize;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.k-editor-resize-handle.east {
|
|
148
|
+
top: 50%;
|
|
149
|
+
right: 0;
|
|
150
|
+
transform: translate(50%, -50%);
|
|
151
|
+
cursor: e-resize;
|
|
152
|
+
}
|
|
153
|
+
`,r=`
|
|
154
|
+
.ProseMirror .tableWrapper {
|
|
155
|
+
overflow-x: auto;
|
|
156
|
+
margin: 1em 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.ProseMirror table {
|
|
160
|
+
margin: 0;
|
|
161
|
+
border-collapse: collapse;
|
|
162
|
+
table-layout: fixed;
|
|
163
|
+
width: 100%;
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.ProseMirror td, .ProseMirror th {
|
|
168
|
+
min-width: 1em;
|
|
169
|
+
border: 1px solid #ddd;
|
|
170
|
+
padding: 3px 5px;
|
|
171
|
+
vertical-align: top;
|
|
172
|
+
box-sizing: border-box;
|
|
173
|
+
position: relative;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.ProseMirror th {
|
|
177
|
+
font-weight: bold;
|
|
178
|
+
text-align: left;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.ProseMirror .column-resize-handle {
|
|
182
|
+
position: absolute;
|
|
183
|
+
right: -2px; top: 0; bottom: 0;
|
|
184
|
+
width: 4px;
|
|
185
|
+
z-index: 20;
|
|
186
|
+
background-color: #adf;
|
|
187
|
+
pointer-events: none;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.ProseMirror.resize-cursor {
|
|
191
|
+
cursor: ew-resize;
|
|
192
|
+
cursor: col-resize;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* Give selected cells a blue overlay */
|
|
196
|
+
.ProseMirror .selectedCell:after {
|
|
197
|
+
z-index: 2;
|
|
198
|
+
position: absolute;
|
|
199
|
+
content: "";
|
|
200
|
+
left: 0; right: 0; top: 0; bottom: 0;
|
|
201
|
+
background: rgba(200, 200, 255, 0.4);
|
|
202
|
+
pointer-events: none;
|
|
203
|
+
}
|
|
204
|
+
`,o="body { direction: rtl }";exports.defaultStyle=e;exports.rtlStyles=o;exports.tablesStyles=r;
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
const e = `
|
|
9
|
+
html, body {
|
|
10
|
+
margin: 0;
|
|
11
|
+
height: 100%;
|
|
12
|
+
padding: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
html {
|
|
16
|
+
min-height: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
body {
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
position: relative;
|
|
22
|
+
word-wrap: break-word;
|
|
23
|
+
padding: 8px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
body > .k-content {
|
|
27
|
+
outline: 0;
|
|
28
|
+
height: 100%;
|
|
29
|
+
white-space: pre-wrap;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.k-content > p {
|
|
33
|
+
margin: 0 0 1em;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.k-content table {
|
|
37
|
+
white-space: pre-wrap;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.k-content .k-text-selected, .k-content::selection {
|
|
41
|
+
color: HighlightText;
|
|
42
|
+
background-color: Highlight;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.k-content .k-text-highlighted {
|
|
46
|
+
background-color: #bbdefb;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.k-content .ProseMirror-selectednode {
|
|
50
|
+
outline: 2px solid #8cf;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ProseMirror-hideselection *::selection { background: transparent; }
|
|
54
|
+
.ProseMirror-hideselection *::-moz-selection { background: transparent; }
|
|
55
|
+
.ProseMirror-hideselection { caret-color: transparent; }
|
|
56
|
+
|
|
57
|
+
.ProseMirror-gapcursor {
|
|
58
|
+
display: none;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
position: absolute;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ProseMirror-gapcursor:after {
|
|
64
|
+
content: "";
|
|
65
|
+
display: block;
|
|
66
|
+
position: absolute;
|
|
67
|
+
top: -2px;
|
|
68
|
+
width: 20px;
|
|
69
|
+
border-top: 1px solid black;
|
|
70
|
+
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@keyframes ProseMirror-cursor-blink {
|
|
74
|
+
to {
|
|
75
|
+
visibility: hidden;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
80
|
+
display: block;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.k-editor-resize-handles-wrapper {
|
|
84
|
+
position: absolute;
|
|
85
|
+
visibility: hidden;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.k-editor-resize-handle {
|
|
89
|
+
position: absolute;
|
|
90
|
+
visibility: visible;
|
|
91
|
+
background-color: #fff;
|
|
92
|
+
border: 1px solid #000;
|
|
93
|
+
z-index: 100;
|
|
94
|
+
width: 5px;
|
|
95
|
+
height: 5px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.k-editor-resize-handle.northwest {
|
|
99
|
+
top: 0;
|
|
100
|
+
left: 0;
|
|
101
|
+
transform: translate(-50%, -50%);
|
|
102
|
+
cursor: nw-resize;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.k-editor-resize-handle.north {
|
|
106
|
+
top: 0;
|
|
107
|
+
left: 50%;
|
|
108
|
+
transform: translate(-50%, -50%);
|
|
109
|
+
cursor: n-resize;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.k-editor-resize-handle.northeast {
|
|
113
|
+
top: 0;
|
|
114
|
+
right: 0;
|
|
115
|
+
transform: translate(50%, -50%);
|
|
116
|
+
cursor: ne-resize;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.k-editor-resize-handle.southwest {
|
|
120
|
+
left: 0;
|
|
121
|
+
bottom: 0;
|
|
122
|
+
transform: translate(-50%, 50%);
|
|
123
|
+
cursor: sw-resize;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.k-editor-resize-handle.south {
|
|
127
|
+
bottom: 0;
|
|
128
|
+
left: 50%;
|
|
129
|
+
transform: translate(-50%, 50%);
|
|
130
|
+
cursor: s-resize;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.k-editor-resize-handle.southeast {
|
|
134
|
+
right: 0;
|
|
135
|
+
bottom: 0;
|
|
136
|
+
transform: translate(50%, 50%);
|
|
137
|
+
cursor: se-resize;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.k-editor-resize-handle.west {
|
|
141
|
+
top: 50%;
|
|
142
|
+
left: 0;
|
|
143
|
+
transform: translate(-50%, -50%);
|
|
144
|
+
cursor: w-resize;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.k-editor-resize-handle.east {
|
|
148
|
+
top: 50%;
|
|
149
|
+
right: 0;
|
|
150
|
+
transform: translate(50%, -50%);
|
|
151
|
+
cursor: e-resize;
|
|
152
|
+
}
|
|
153
|
+
`, r = `
|
|
154
|
+
.ProseMirror .tableWrapper {
|
|
155
|
+
overflow-x: auto;
|
|
156
|
+
margin: 1em 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.ProseMirror table {
|
|
160
|
+
margin: 0;
|
|
161
|
+
border-collapse: collapse;
|
|
162
|
+
table-layout: fixed;
|
|
163
|
+
width: 100%;
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.ProseMirror td, .ProseMirror th {
|
|
168
|
+
min-width: 1em;
|
|
169
|
+
border: 1px solid #ddd;
|
|
170
|
+
padding: 3px 5px;
|
|
171
|
+
vertical-align: top;
|
|
172
|
+
box-sizing: border-box;
|
|
173
|
+
position: relative;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.ProseMirror th {
|
|
177
|
+
font-weight: bold;
|
|
178
|
+
text-align: left;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.ProseMirror .column-resize-handle {
|
|
182
|
+
position: absolute;
|
|
183
|
+
right: -2px; top: 0; bottom: 0;
|
|
184
|
+
width: 4px;
|
|
185
|
+
z-index: 20;
|
|
186
|
+
background-color: #adf;
|
|
187
|
+
pointer-events: none;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.ProseMirror.resize-cursor {
|
|
191
|
+
cursor: ew-resize;
|
|
192
|
+
cursor: col-resize;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* Give selected cells a blue overlay */
|
|
196
|
+
.ProseMirror .selectedCell:after {
|
|
197
|
+
z-index: 2;
|
|
198
|
+
position: absolute;
|
|
199
|
+
content: "";
|
|
200
|
+
left: 0; right: 0; top: 0; bottom: 0;
|
|
201
|
+
background: rgba(200, 200, 255, 0.4);
|
|
202
|
+
pointer-events: none;
|
|
203
|
+
}
|
|
204
|
+
`, o = "body { direction: rtl }";
|
|
205
|
+
export {
|
|
206
|
+
e as defaultStyle,
|
|
207
|
+
o as rtlStyles,
|
|
208
|
+
r as tablesStyles
|
|
209
|
+
};
|
package/config/schema.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("@progress/kendo-editor-common"),a=e=>({[e]:{default:null,getFromDOM:l=>l.getAttribute(e),setDOMAttr:(l,r)=>{r[e]=l}}}),o=e=>{const l={};return Array.from(e.attributes).forEach(r=>{l[r.nodeName]=r.nodeValue}),l},u={...a("style"),...a("class"),...a("id")},t=s.tableNodes({tableGroup:"block",cellContent:"block+",cellAttributes:u});t.table_row.attrs=t.table_row.attrs||{};t.table_row.attrs.style={default:null};t.table_row.attrs.class={default:null};t.table_row.attrs.id={default:null};t.table_row.toDOM=e=>["tr",e.attrs,0];t.table_row.parseDOM=[{tag:"tr",getAttrs:o}];t.table.attrs=t.table.attrs||{};t.table.attrs.style={default:null};t.table.attrs.class={default:null};t.table.attrs.id={default:null};t.table.toDOM=e=>["table",e.attrs,["tbody",0]];t.table.parseDOM=[{tag:"table",getAttrs:o}];const b={...s.nodes,...t};Object.defineProperty(exports,"marks",{enumerable:!0,get:()=>s.marks});exports.nodes=b;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { tableNodes as o, nodes as b } from "@progress/kendo-editor-common";
|
|
9
|
+
import { marks as i } from "@progress/kendo-editor-common";
|
|
10
|
+
const r = (e) => ({
|
|
11
|
+
[e]: {
|
|
12
|
+
default: null,
|
|
13
|
+
getFromDOM: (l) => l.getAttribute(e),
|
|
14
|
+
setDOMAttr: (l, a) => {
|
|
15
|
+
a[e] = l;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}), s = (e) => {
|
|
19
|
+
const l = {};
|
|
20
|
+
return Array.from(e.attributes).forEach((a) => {
|
|
21
|
+
l[a.nodeName] = a.nodeValue;
|
|
22
|
+
}), l;
|
|
23
|
+
}, u = {
|
|
24
|
+
...r("style"),
|
|
25
|
+
...r("class"),
|
|
26
|
+
...r("id")
|
|
27
|
+
}, t = o({ tableGroup: "block", cellContent: "block+", cellAttributes: u });
|
|
28
|
+
t.table_row.attrs = t.table_row.attrs || {};
|
|
29
|
+
t.table_row.attrs.style = { default: null };
|
|
30
|
+
t.table_row.attrs.class = { default: null };
|
|
31
|
+
t.table_row.attrs.id = { default: null };
|
|
32
|
+
t.table_row.toDOM = (e) => ["tr", e.attrs, 0];
|
|
33
|
+
t.table_row.parseDOM = [{ tag: "tr", getAttrs: s }];
|
|
34
|
+
t.table.attrs = t.table.attrs || {};
|
|
35
|
+
t.table.attrs.style = { default: null };
|
|
36
|
+
t.table.attrs.class = { default: null };
|
|
37
|
+
t.table.attrs.id = { default: null };
|
|
38
|
+
t.table.toDOM = (e) => ["table", e.attrs, ["tbody", 0]];
|
|
39
|
+
t.table.parseDOM = [{ tag: "table", getAttrs: s }];
|
|
40
|
+
const d = { ...b, ...t };
|
|
41
|
+
export {
|
|
42
|
+
i as marks,
|
|
43
|
+
d as nodes
|
|
44
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@progress/kendo-editor-common"),d=require("./toolsSettings.js"),{bold:u,underline:m,italic:S}=d.EditorToolsSettings,i=typeof navigator!="undefined"?/Mac/.test(navigator.platform):!1,g=r=>{const n=t.chainCommands(t.exitCode,(e,o)=>{const c=r&&r.types&&r.types.hardBreak||"hard_break",a=e.schema.nodes[c];return o&&o(e.tr.replaceSelectionWith(a.create()).scrollIntoView()),!0}),s=r&&r.types&&r.types.listItem||"list_item",l=r&&r.toolsSettings||{};return{"Mod-b":(e,o)=>t.toggleInlineFormat(l.bold||u)(e,o),"Mod-i":(e,o)=>t.toggleInlineFormat(l.italic||S)(e,o),"Mod-u":(e,o)=>t.toggleInlineFormat(l.underline||m)(e,o),"Mod-z":t.undo,"Shift-Mod-z":t.redo,...i?{}:{"Mod-y":t.redo},Backspace:t.undoInputRule,"Mod-Enter":n,"Shift-Enter":n,...i?{"Ctrl-Enter":n}:{},Enter:(e,o)=>t.splitListItem(e.schema.nodes[s])(e,o),Tab:t.goToNextCell(1),"Shift-Tab":t.goToNextCell(-1)}};exports.getShortcuts=g;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { chainCommands as u, exitCode as h, toggleInlineFormat as i, undo as p, redo as l, undoInputRule as f, splitListItem as S, goToNextCell as a } from "@progress/kendo-editor-common";
|
|
9
|
+
import { EditorToolsSettings as M } from "./toolsSettings.mjs";
|
|
10
|
+
const {
|
|
11
|
+
bold: b,
|
|
12
|
+
underline: y,
|
|
13
|
+
italic: I
|
|
14
|
+
} = M, c = typeof navigator != "undefined" ? /Mac/.test(navigator.platform) : !1, B = (e) => {
|
|
15
|
+
const r = u(h, (t, o) => {
|
|
16
|
+
const d = e && e.types && e.types.hardBreak || "hard_break", m = t.schema.nodes[d];
|
|
17
|
+
return o && o(t.tr.replaceSelectionWith(m.create()).scrollIntoView()), !0;
|
|
18
|
+
}), s = e && e.types && e.types.listItem || "list_item", n = e && e.toolsSettings || {};
|
|
19
|
+
return {
|
|
20
|
+
"Mod-b": (t, o) => i(n.bold || b)(t, o),
|
|
21
|
+
"Mod-i": (t, o) => i(n.italic || I)(t, o),
|
|
22
|
+
"Mod-u": (t, o) => i(n.underline || y)(t, o),
|
|
23
|
+
"Mod-z": p,
|
|
24
|
+
"Shift-Mod-z": l,
|
|
25
|
+
...c ? {} : {
|
|
26
|
+
"Mod-y": l
|
|
27
|
+
},
|
|
28
|
+
Backspace: f,
|
|
29
|
+
"Mod-Enter": r,
|
|
30
|
+
"Shift-Enter": r,
|
|
31
|
+
...c ? {
|
|
32
|
+
"Ctrl-Enter": r
|
|
33
|
+
} : {},
|
|
34
|
+
Enter: (t, o) => S(t.schema.nodes[s])(t, o),
|
|
35
|
+
Tab: a(1),
|
|
36
|
+
"Shift-Tab": a(-1)
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
B as getShortcuts
|
|
41
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@progress/kendo-vue-buttons");const e=require("../messages/main.js");require("@progress/kendo-vue-pdf");const l=require("@progress/kendo-editor-common"),a=require("@progress/kendo-svg-icons"),t={...l.indentRules.listsTypes};exports.EditorToolsSettings=void 0;(n=>{const s={type:"button"};n.bold={...l.bold,props:{icon:"bold",svgIcon:a.boldIcon,...s},messages:{title:e.keys.bold},commandName:"Bold"},n.italic={...l.italic,props:{icon:"italic",svgIcon:a.italicIcon,...s},messages:{title:e.keys.italic},commandName:"Italic"},n.underline={...l.underline,props:{icon:"underline",svgIcon:a.underlineIcon,...s},messages:{title:e.keys.underline},commandName:"Underline"},n.strikethrough={...l.strikethrough,props:{icon:"strikethrough",svgIcon:a.strikethroughIcon,...s},messages:{title:e.keys.strikethrough},commandName:"Strikethrough"},n.subscript={...l.subscript,props:{icon:"subscript",svgIcon:a.subscriptIcon,...s},messages:{title:e.keys.subscript},commandName:"Subscript"},n.superscript={...l.superscript,props:{icon:"supscript",svgIcon:a.supscriptIcon,...s},messages:{title:e.keys.superscript},commandName:"Superscript"},n.link={...l.link,props:{icon:"link",svgIcon:a.linkIcon,...s},messages:{insertHyperlink:e.keys.insertHyperlink,insertHyperlinkDialogTitle:e.keys.insertHyperlinkDialogTitle,insertHyperlinkAddress:e.keys.insertHyperlinkAddress,insertHyperlinkTitle:e.keys.insertHyperlinkTitle,insertHyperlinkNewWindow:e.keys.insertHyperlinkNewWindow,insertHyperlinkCancel:e.keys.insertHyperlinkCancel,insertHyperlinkInsert:e.keys.insertHyperlinkInsert},commandName:"Link"},n.insertFile={...l.link,props:{icon:"file-add",svgIcon:a.fileAddIcon,...s},messages:{insertHyperlink:e.keys.insertFile,insertHyperlinkDialogTitle:e.keys.insertFileDialogTitle,insertHyperlinkAddress:e.keys.insertFileAddress,insertHyperlinkTitle:e.keys.insertFileTitle,insertHyperlinkNewWindow:"",insertHyperlinkCancel:e.keys.insertFileCancel,insertHyperlinkInsert:e.keys.insertFileInsert},commandName:"InsertFile",linkTarget:!1},n.insertTable={props:{icon:"table-add",svgIcon:a.tableAddIcon,...s},messages:{createTable:e.keys.createTable,createTableHint:e.keys.createTableHint},commandName:"InsertTable"},n.addRowBefore={command:l.addRowBefore,props:{icon:"table-row-insert-above",svgIcon:a.tableRowInsertAboveIcon,...s},messages:{title:e.keys.addRowBefore},commandName:"AddRowBefore"},n.addRowAfter={command:l.addRowAfter,props:{icon:"table-row-insert-below",svgIcon:a.tableRowInsertBelowIcon,...s},messages:{title:e.keys.addRowAfter},commandName:"AddRowAfter"},n.addColumnBefore={command:l.addColumnBefore,props:{icon:"table-column-insert-left",svgIcon:a.tableColumnInsertLeftIcon,...s},messages:{title:e.keys.addColumnBefore},commandName:"AddColumnBefore"},n.addColumnAfter={command:l.addColumnAfter,props:{icon:"table-column-insert-right",svgIcon:a.tableColumnInsertRightIcon,...s},messages:{title:e.keys.addColumnAfter},commandName:"AddColumnAfter"},n.deleteRow={command:l.deleteRow,props:{icon:"table-row-delete",svgIcon:a.tableRowDeleteIcon,...s},messages:{title:e.keys.deleteRow},commandName:"DeleteRow"},n.deleteColumn={command:l.deleteColumn,props:{icon:"table-column-delete",svgIcon:a.tableColumnDeleteIcon,...s},messages:{title:e.keys.deleteColumn},commandName:"DeleteColumn"},n.deleteTable={command:l.deleteTable,props:{icon:"table-delete",svgIcon:a.tableDeleteIcon,...s},messages:{title:e.keys.deleteTable},commandName:"DeleteTable"},n.mergeCells={command:l.mergeCells,props:{icon:"cells-merge",svgIcon:a.cellsMergeIcon,...s},messages:{title:e.keys.mergeCells},commandName:"MergeCells"},n.splitCell={command:l.splitCell,props:{icon:"cell-split-horizontally",svgIcon:a.cellSplitHorizontallyIcon,...s},messages:{title:e.keys.splitCell},commandName:"SplitCell"},n.print={props:{icon:"print",svgIcon:a.printIcon,...s},messages:{title:e.keys.print}},n.selectAll={props:{icon:"select-all",svgIcon:a.selectAllIcon,...s},messages:{title:e.keys.selectAll}},n.pdf={props:{icon:"file-pdf",svgIcon:a.filePdfIcon,...s},messages:{title:e.keys.pdf}},n.savePdfOptions={fileName:"editor.pdf",paperSize:"A4",margin:"1cm"},n.cleanFormatting={props:{icon:"clear-css",svgIcon:a.clearCssIcon,...s},messages:{title:e.keys.cleanFormatting},commandName:"CleanFormatting"},n.image={node:"image",props:{icon:"image",svgIcon:a.imageIcon,...s},messages:{insertImage:e.keys.insertImage,insertImageDialogTitle:e.keys.insertImageDialogTitle,insertImageAddress:e.keys.insertImageAddress,insertImageTitle:e.keys.insertImageTitle,insertImageAltText:e.keys.insertImageAltText,insertImageWidth:e.keys.insertImageWidth,insertImageHeight:e.keys.insertImageHeight,insertImageCancel:e.keys.insertImageCancel,insertImageInsert:e.keys.insertImageInsert},commandName:"InsertImage"},n.viewHtml={props:{icon:"code",svgIcon:a.codeIcon,...s},messages:{viewHtml:e.keys.viewHtml,viewHtmlDialogTitle:e.keys.viewHtmlDialogTitle,viewHtmlCancel:e.keys.viewHtmlCancel,viewHtmlUpdate:e.keys.viewHtmlUpdate},commandName:"SetContent"},n.findAndReplace={props:{icon:"search",svgIcon:a.searchIcon,...s},messages:{findReplaceToolTitle:e.keys.findReplaceToolTitle,findReplaceDialogTitle:e.keys.findReplaceDialogTitle,findReplaceTabFind:e.keys.findReplaceTabFind,findReplaceTabReplace:e.keys.findReplaceTabReplace,findReplaceFindWhat:e.keys.findReplaceFindWhat,findReplaceReplaceWith:e.keys.findReplaceReplaceWith,findReplaceReplace:e.keys.findReplaceReplace,findReplaceReplaceAll:e.keys.findReplaceReplaceAll,findReplaceMatchCase:e.keys.findReplaceMatchCase,findReplaceMatchWord:e.keys.findReplaceMatchWord,findReplaceMatchCyclic:e.keys.findReplaceMatchCyclic,findReplaceUseRegExp:e.keys.findReplaceUseRegExp,findReplacePrevMatch:e.keys.findReplacePrevMatch,findReplaceNextMatch:e.keys.findReplaceNextMatch,findReplaceMatches:e.keys.findReplaceMatches}},n.unlink={...l.link,props:{icon:"unlink",svgIcon:a.unlinkIcon,...s},messages:{title:e.keys.unlink},commandName:"Unlink"},n.undo={command:l.undo,props:{icon:"undo",svgIcon:a.undoIcon,...s},messages:{title:e.keys.undo},commandName:"Undo"},n.redo={command:l.redo,props:{icon:"redo",svgIcon:a.redoIcon,...s},messages:{title:e.keys.redo},commandName:"Redo"},n.fontSize={style:"font-size",defaultItem:{text:e.messages[e.keys.fontSize],value:"",localizationKey:e.keys.fontSize},items:[{text:"1 (8pt)",value:"xx-small"},{text:"2 (10pt)",value:"x-small"},{text:"3 (12pt)",value:"small"},{text:"4 (14pt)",value:"medium"},{text:"5 (18pt)",value:"large"},{text:"6 (24pt)",value:"x-large"},{text:"7 (36pt)",value:"xx-large"}],commandName:"FontSize"},n.fontName={style:"font-family",defaultItem:{text:e.messages[e.keys.fontName],value:"",localizationKey:e.keys.fontName},items:[{text:"Arial",value:"Arial, Helvetica, sans-serif",style:{fontFamily:"Arial, Helvetica, sans-serif"}},{text:"Courier New",value:"'Courier New', Courier, monospace",style:{fontFamily:"'Courier New', Courier, monospace"}},{text:"Georgia",value:"Georgia, serif",style:{fontFamily:"Georgia, serif"}},{text:"Impact",value:"Impact, Charcoal, sans-serif",style:{fontFamily:"Impact, Charcoal, sans-serif"}},{text:"Lucida Console",value:"'Lucida Console', Monaco, monospace",style:{fontFamily:"'Lucida Console', Monaco, monospace"}},{text:"Tahoma",value:"Tahoma, Geneva, sans-serif",style:{fontFamily:"Tahoma, Geneva, sans-serif"}},{text:"Times New Roman",value:"'Times New Roman', Times,serif",style:{fontFamily:"'Times New Roman', Times,serif"}},{text:"Trebuchet MS",value:"'Trebuchet MS', Helvetica, sans-serif",style:{fontFamily:"'Trebuchet MS', Helvetica, sans-serif"}},{text:"Verdana",value:"Verdana, Geneva, sans-serif",style:{fontFamily:"Verdana, Geneva, sans-serif"}}],commandName:"FontName"},n.formatBlock={defaultItem:{text:e.messages[e.keys.format],value:"",localizationKey:e.keys.format},items:[{text:"Paragraph",value:"p",style:{display:"block",marginLeft:0}},{text:"Heading 1",value:"h1",style:{display:"block",fontSize:"2em",marginLeft:0,fontWeight:"bold"}},{text:"Heading 2",value:"h2",style:{display:"block",fontSize:"1.5em",marginLeft:0,fontWeight:"bold"}},{text:"Heading 3",value:"h3",style:{display:"block",fontSize:"1.17em",marginLeft:0,fontWeight:"bold"}},{text:"Heading 4",value:"h4",style:{display:"block",fontSize:"1em",marginLeft:0,fontWeight:"bold"}},{text:"Heading 5",value:"h5",style:{display:"block",fontSize:"0.83em",marginLeft:0,fontWeight:"bold"}},{text:"Heading 6",value:"h6",style:{display:"block",fontSize:"0.67em",marginLeft:0,fontWeight:"bold"}}],commandName:"FormatBlock"},n.foreColor={color:"color",colorPickerProps:{icon:"foreground-color",svgIcon:a.foregroundColorIcon,view:"palette",title:e.keys.foregroundColor},commandName:"ForeColor"},n.backColor={color:"background-color",colorPickerProps:{icon:"droplet",svgIcon:a.dropletIcon,view:"palette",title:e.keys.backgroundColor},commandName:"BackColor"},n.alignLeft={actions:[...l.alignLeftRules],props:{icon:"align-left",svgIcon:a.alignLeftIcon,...s},messages:{title:e.keys.alignLeft},commandName:"AlignLeft"},n.alignRight={actions:[...l.alignRightRules],props:{icon:"align-right",svgIcon:a.alignRightIcon,...s},messages:{title:e.keys.alignRight},commandName:"AlignRight"},n.alignCenter={actions:[...l.alignCenterRules],props:{icon:"align-center",svgIcon:a.alignCenterIcon,...s},messages:{title:e.keys.alignCenter},commandName:"AlignCenter"},n.alignJustify={actions:[...l.alignJustifyRules],props:{icon:"align-justify",svgIcon:a.alignJustifyIcon,...s},messages:{title:e.keys.alignJustify},commandName:"AlignJustify"},n.alignRemove={actions:[...l.alignRemoveRules],props:{icon:"align-remove",svgIcon:a.alignRemoveIcon,...s},messages:{},commandName:"AlignRemove"},n.indent={actions:l.indentRules.nodes,listsTypes:t,props:{icon:"indent",svgIcon:a.indentIcon,...s},messages:{title:e.keys.indent},commandName:"Indent"},n.outdent={actions:l.outdentRules.nodes,listsTypes:t,props:{icon:"outdent",svgIcon:a.outdentIcon,...s},messages:{title:e.keys.outdent},commandName:"Outdent"},n.orderedList={listType:t.orderedList,props:{icon:"list-ordered",svgIcon:a.listOrderedIcon,...s},messages:{title:e.keys.orderedList},commandName:"OrderedList",types:{...t}},n.bulletList={listType:t.bulletList,props:{icon:"list-unordered",svgIcon:a.listUnorderedIcon,...s},messages:{title:e.keys.bulletList},commandName:"UnorderedList",types:{...t}}})(exports.EditorToolsSettings||(exports.EditorToolsSettings={}));
|