@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.
Files changed (361) hide show
  1. package/Editor.js +8 -0
  2. package/Editor.mjs +584 -0
  3. package/README.md +25 -31
  4. package/config/defaultStyles.js +204 -0
  5. package/config/defaultStyles.mjs +209 -0
  6. package/config/schema.js +8 -0
  7. package/config/schema.mjs +44 -0
  8. package/config/shortcuts.js +8 -0
  9. package/config/shortcuts.mjs +41 -0
  10. package/config/toolsSettings.js +8 -0
  11. package/config/toolsSettings.mjs +558 -0
  12. package/dialogs/FindReplace.js +8 -0
  13. package/dialogs/FindReplace.mjs +366 -0
  14. package/dialogs/insertImage.js +8 -0
  15. package/dialogs/insertImage.mjs +211 -0
  16. package/dialogs/insertLink.js +8 -0
  17. package/dialogs/insertLink.mjs +164 -0
  18. package/dialogs/viewHtml.js +8 -0
  19. package/dialogs/viewHtml.mjs +128 -0
  20. package/dist/cdn/js/kendo-vue-editor.js +8 -1
  21. package/index.d.mts +2936 -0
  22. package/index.d.ts +2936 -0
  23. package/index.js +8 -0
  24. package/index.mjs +207 -0
  25. package/messages/main.js +8 -0
  26. package/messages/main.mjs +182 -0
  27. package/package-metadata.js +8 -0
  28. package/package-metadata.mjs +18 -0
  29. package/package.json +23 -62
  30. package/tools/align.js +8 -0
  31. package/tools/align.mjs +69 -0
  32. package/tools/applyColor.js +8 -0
  33. package/tools/applyColor.mjs +71 -0
  34. package/tools/cleanFormatting.js +8 -0
  35. package/tools/cleanFormatting.mjs +65 -0
  36. package/tools/findReplace.js +8 -0
  37. package/tools/findReplace.mjs +67 -0
  38. package/tools/fontStyle.js +8 -0
  39. package/tools/fontStyle.mjs +104 -0
  40. package/tools/formatBlock.js +8 -0
  41. package/tools/formatBlock.mjs +96 -0
  42. package/tools/indent.js +8 -0
  43. package/tools/indent.mjs +63 -0
  44. package/tools/inlineFormat.js +8 -0
  45. package/tools/inlineFormat.mjs +80 -0
  46. package/tools/insertImage.js +8 -0
  47. package/tools/insertImage.mjs +77 -0
  48. package/tools/insertLink.js +8 -0
  49. package/tools/insertLink.mjs +76 -0
  50. package/tools/insertTable/popup.js +8 -0
  51. package/tools/insertTable/popup.mjs +105 -0
  52. package/tools/insertTable/popupGrid.js +8 -0
  53. package/tools/insertTable/popupGrid.mjs +83 -0
  54. package/tools/insertTable/tool.js +8 -0
  55. package/tools/insertTable/tool.mjs +98 -0
  56. package/tools/lists.js +8 -0
  57. package/tools/lists.mjs +77 -0
  58. package/tools/outdent.js +8 -0
  59. package/tools/outdent.mjs +75 -0
  60. package/tools/pdf.js +8 -0
  61. package/tools/pdf.mjs +63 -0
  62. package/tools/print.js +8 -0
  63. package/tools/print.mjs +58 -0
  64. package/tools/proseMirrorTool.js +8 -0
  65. package/tools/proseMirrorTool.mjs +61 -0
  66. package/tools/selectAll.js +8 -0
  67. package/tools/selectAll.mjs +56 -0
  68. package/tools/unlink.js +8 -0
  69. package/tools/unlink.mjs +64 -0
  70. package/tools/utils.js +8 -0
  71. package/tools/utils.mjs +18 -0
  72. package/tools/viewHtml.js +8 -0
  73. package/tools/viewHtml.mjs +72 -0
  74. package/utils/browser-detection.js +8 -0
  75. package/utils/browser-detection.mjs +11 -0
  76. package/utils/controlled-value.js +8 -0
  77. package/utils/controlled-value.mjs +18 -0
  78. package/utils/main.js +8 -0
  79. package/utils/main.mjs +162 -0
  80. package/utils/props-key.js +8 -0
  81. package/utils/props-key.mjs +12 -0
  82. package/dist/es/Editor.d.ts +0 -283
  83. package/dist/es/Editor.js +0 -812
  84. package/dist/es/EditorProps.d.ts +0 -194
  85. package/dist/es/EditorProps.js +0 -1
  86. package/dist/es/additionalTypes.ts +0 -21
  87. package/dist/es/config/defaultStyles.d.ts +0 -12
  88. package/dist/es/config/defaultStyles.js +0 -12
  89. package/dist/es/config/pasteSettings.d.ts +0 -6
  90. package/dist/es/config/pasteSettings.js +0 -1
  91. package/dist/es/config/schema.d.ts +0 -8
  92. package/dist/es/config/schema.js +0 -51
  93. package/dist/es/config/shortcuts.d.ts +0 -24
  94. package/dist/es/config/shortcuts.js +0 -61
  95. package/dist/es/config/toolsSettings.d.ts +0 -489
  96. package/dist/es/config/toolsSettings.js +0 -528
  97. package/dist/es/dialogs/EditorDialogProps.d.ts +0 -23
  98. package/dist/es/dialogs/EditorDialogProps.js +0 -1
  99. package/dist/es/dialogs/FindReplace.d.ts +0 -70
  100. package/dist/es/dialogs/FindReplace.js +0 -909
  101. package/dist/es/dialogs/insertImage.d.ts +0 -54
  102. package/dist/es/dialogs/insertImage.js +0 -1164
  103. package/dist/es/dialogs/insertLink.d.ts +0 -52
  104. package/dist/es/dialogs/insertLink.js +0 -826
  105. package/dist/es/dialogs/main.d.ts +0 -1
  106. package/dist/es/dialogs/main.js +0 -42
  107. package/dist/es/dialogs/viewHtml.d.ts +0 -51
  108. package/dist/es/dialogs/viewHtml.js +0 -201
  109. package/dist/es/main.d.ts +0 -192
  110. package/dist/es/main.js +0 -217
  111. package/dist/es/messages/main.d.ts +0 -172
  112. package/dist/es/messages/main.js +0 -503
  113. package/dist/es/package-metadata.d.ts +0 -5
  114. package/dist/es/package-metadata.js +0 -11
  115. package/dist/es/tools/ToolProps.d.ts +0 -35
  116. package/dist/es/tools/ToolProps.js +0 -1
  117. package/dist/es/tools/align.d.ts +0 -42
  118. package/dist/es/tools/align.js +0 -111
  119. package/dist/es/tools/applyColor.d.ts +0 -45
  120. package/dist/es/tools/applyColor.js +0 -100
  121. package/dist/es/tools/cleanFormatting.d.ts +0 -49
  122. package/dist/es/tools/cleanFormatting.js +0 -107
  123. package/dist/es/tools/findReplace.d.ts +0 -43
  124. package/dist/es/tools/findReplace.js +0 -115
  125. package/dist/es/tools/fontStyle.d.ts +0 -55
  126. package/dist/es/tools/fontStyle.js +0 -150
  127. package/dist/es/tools/formatBlock.d.ts +0 -45
  128. package/dist/es/tools/formatBlock.js +0 -145
  129. package/dist/es/tools/history.d.ts +0 -18
  130. package/dist/es/tools/history.js +0 -3
  131. package/dist/es/tools/indent.d.ts +0 -44
  132. package/dist/es/tools/indent.js +0 -121
  133. package/dist/es/tools/inlineFormat.d.ts +0 -74
  134. package/dist/es/tools/inlineFormat.js +0 -120
  135. package/dist/es/tools/insertImage.d.ts +0 -46
  136. package/dist/es/tools/insertImage.js +0 -126
  137. package/dist/es/tools/insertLink.d.ts +0 -46
  138. package/dist/es/tools/insertLink.js +0 -126
  139. package/dist/es/tools/insertTable/popup.d.ts +0 -80
  140. package/dist/es/tools/insertTable/popup.js +0 -177
  141. package/dist/es/tools/insertTable/popupGrid.d.ts +0 -51
  142. package/dist/es/tools/insertTable/popupGrid.js +0 -131
  143. package/dist/es/tools/insertTable/tool.d.ts +0 -53
  144. package/dist/es/tools/insertTable/tool.js +0 -157
  145. package/dist/es/tools/lists.d.ts +0 -48
  146. package/dist/es/tools/lists.js +0 -124
  147. package/dist/es/tools/main.d.ts +0 -95
  148. package/dist/es/tools/main.js +0 -1
  149. package/dist/es/tools/outdent.d.ts +0 -44
  150. package/dist/es/tools/outdent.js +0 -123
  151. package/dist/es/tools/pdf.d.ts +0 -58
  152. package/dist/es/tools/pdf.js +0 -100
  153. package/dist/es/tools/print.d.ts +0 -49
  154. package/dist/es/tools/print.js +0 -103
  155. package/dist/es/tools/proseMirrorTool.d.ts +0 -48
  156. package/dist/es/tools/proseMirrorTool.js +0 -104
  157. package/dist/es/tools/selectAll.d.ts +0 -49
  158. package/dist/es/tools/selectAll.js +0 -97
  159. package/dist/es/tools/tableEdit.d.ts +0 -51
  160. package/dist/es/tools/tableEdit.js +0 -34
  161. package/dist/es/tools/unlink.d.ts +0 -47
  162. package/dist/es/tools/unlink.js +0 -104
  163. package/dist/es/tools/utils.d.ts +0 -18
  164. package/dist/es/tools/utils.js +0 -31
  165. package/dist/es/tools/viewHtml.d.ts +0 -54
  166. package/dist/es/tools/viewHtml.js +0 -121
  167. package/dist/es/utils/browser-detection.d.ts +0 -4
  168. package/dist/es/utils/browser-detection.js +0 -5
  169. package/dist/es/utils/controlled-value.d.ts +0 -5
  170. package/dist/es/utils/controlled-value.js +0 -31
  171. package/dist/es/utils/main.d.ts +0 -357
  172. package/dist/es/utils/main.js +0 -422
  173. package/dist/es/utils/props-key.d.ts +0 -5
  174. package/dist/es/utils/props-key.js +0 -5
  175. package/dist/esm/Editor.d.ts +0 -283
  176. package/dist/esm/Editor.js +0 -812
  177. package/dist/esm/EditorProps.d.ts +0 -194
  178. package/dist/esm/EditorProps.js +0 -1
  179. package/dist/esm/additionalTypes.ts +0 -21
  180. package/dist/esm/config/defaultStyles.d.ts +0 -12
  181. package/dist/esm/config/defaultStyles.js +0 -12
  182. package/dist/esm/config/pasteSettings.d.ts +0 -6
  183. package/dist/esm/config/pasteSettings.js +0 -1
  184. package/dist/esm/config/schema.d.ts +0 -8
  185. package/dist/esm/config/schema.js +0 -51
  186. package/dist/esm/config/shortcuts.d.ts +0 -24
  187. package/dist/esm/config/shortcuts.js +0 -61
  188. package/dist/esm/config/toolsSettings.d.ts +0 -489
  189. package/dist/esm/config/toolsSettings.js +0 -528
  190. package/dist/esm/dialogs/EditorDialogProps.d.ts +0 -23
  191. package/dist/esm/dialogs/EditorDialogProps.js +0 -1
  192. package/dist/esm/dialogs/FindReplace.d.ts +0 -70
  193. package/dist/esm/dialogs/FindReplace.js +0 -909
  194. package/dist/esm/dialogs/insertImage.d.ts +0 -54
  195. package/dist/esm/dialogs/insertImage.js +0 -1164
  196. package/dist/esm/dialogs/insertLink.d.ts +0 -52
  197. package/dist/esm/dialogs/insertLink.js +0 -826
  198. package/dist/esm/dialogs/main.d.ts +0 -1
  199. package/dist/esm/dialogs/main.js +0 -42
  200. package/dist/esm/dialogs/viewHtml.d.ts +0 -51
  201. package/dist/esm/dialogs/viewHtml.js +0 -201
  202. package/dist/esm/main.d.ts +0 -192
  203. package/dist/esm/main.js +0 -217
  204. package/dist/esm/messages/main.d.ts +0 -172
  205. package/dist/esm/messages/main.js +0 -503
  206. package/dist/esm/package-metadata.d.ts +0 -5
  207. package/dist/esm/package-metadata.js +0 -11
  208. package/dist/esm/package.json +0 -3
  209. package/dist/esm/tools/ToolProps.d.ts +0 -35
  210. package/dist/esm/tools/ToolProps.js +0 -1
  211. package/dist/esm/tools/align.d.ts +0 -42
  212. package/dist/esm/tools/align.js +0 -111
  213. package/dist/esm/tools/applyColor.d.ts +0 -45
  214. package/dist/esm/tools/applyColor.js +0 -100
  215. package/dist/esm/tools/cleanFormatting.d.ts +0 -49
  216. package/dist/esm/tools/cleanFormatting.js +0 -107
  217. package/dist/esm/tools/findReplace.d.ts +0 -43
  218. package/dist/esm/tools/findReplace.js +0 -115
  219. package/dist/esm/tools/fontStyle.d.ts +0 -55
  220. package/dist/esm/tools/fontStyle.js +0 -150
  221. package/dist/esm/tools/formatBlock.d.ts +0 -45
  222. package/dist/esm/tools/formatBlock.js +0 -145
  223. package/dist/esm/tools/history.d.ts +0 -18
  224. package/dist/esm/tools/history.js +0 -3
  225. package/dist/esm/tools/indent.d.ts +0 -44
  226. package/dist/esm/tools/indent.js +0 -121
  227. package/dist/esm/tools/inlineFormat.d.ts +0 -74
  228. package/dist/esm/tools/inlineFormat.js +0 -120
  229. package/dist/esm/tools/insertImage.d.ts +0 -46
  230. package/dist/esm/tools/insertImage.js +0 -126
  231. package/dist/esm/tools/insertLink.d.ts +0 -46
  232. package/dist/esm/tools/insertLink.js +0 -126
  233. package/dist/esm/tools/insertTable/popup.d.ts +0 -80
  234. package/dist/esm/tools/insertTable/popup.js +0 -177
  235. package/dist/esm/tools/insertTable/popupGrid.d.ts +0 -51
  236. package/dist/esm/tools/insertTable/popupGrid.js +0 -131
  237. package/dist/esm/tools/insertTable/tool.d.ts +0 -53
  238. package/dist/esm/tools/insertTable/tool.js +0 -157
  239. package/dist/esm/tools/lists.d.ts +0 -48
  240. package/dist/esm/tools/lists.js +0 -124
  241. package/dist/esm/tools/main.d.ts +0 -95
  242. package/dist/esm/tools/main.js +0 -1
  243. package/dist/esm/tools/outdent.d.ts +0 -44
  244. package/dist/esm/tools/outdent.js +0 -123
  245. package/dist/esm/tools/pdf.d.ts +0 -58
  246. package/dist/esm/tools/pdf.js +0 -100
  247. package/dist/esm/tools/print.d.ts +0 -49
  248. package/dist/esm/tools/print.js +0 -103
  249. package/dist/esm/tools/proseMirrorTool.d.ts +0 -48
  250. package/dist/esm/tools/proseMirrorTool.js +0 -104
  251. package/dist/esm/tools/selectAll.d.ts +0 -49
  252. package/dist/esm/tools/selectAll.js +0 -97
  253. package/dist/esm/tools/tableEdit.d.ts +0 -51
  254. package/dist/esm/tools/tableEdit.js +0 -34
  255. package/dist/esm/tools/unlink.d.ts +0 -47
  256. package/dist/esm/tools/unlink.js +0 -104
  257. package/dist/esm/tools/utils.d.ts +0 -18
  258. package/dist/esm/tools/utils.js +0 -31
  259. package/dist/esm/tools/viewHtml.d.ts +0 -54
  260. package/dist/esm/tools/viewHtml.js +0 -121
  261. package/dist/esm/utils/browser-detection.d.ts +0 -4
  262. package/dist/esm/utils/browser-detection.js +0 -5
  263. package/dist/esm/utils/controlled-value.d.ts +0 -5
  264. package/dist/esm/utils/controlled-value.js +0 -31
  265. package/dist/esm/utils/main.d.ts +0 -357
  266. package/dist/esm/utils/main.js +0 -422
  267. package/dist/esm/utils/props-key.d.ts +0 -5
  268. package/dist/esm/utils/props-key.js +0 -5
  269. package/dist/npm/Editor.d.ts +0 -283
  270. package/dist/npm/Editor.js +0 -819
  271. package/dist/npm/EditorProps.d.ts +0 -194
  272. package/dist/npm/EditorProps.js +0 -2
  273. package/dist/npm/additionalTypes.ts +0 -21
  274. package/dist/npm/config/defaultStyles.d.ts +0 -12
  275. package/dist/npm/config/defaultStyles.js +0 -15
  276. package/dist/npm/config/pasteSettings.d.ts +0 -6
  277. package/dist/npm/config/pasteSettings.js +0 -2
  278. package/dist/npm/config/schema.d.ts +0 -8
  279. package/dist/npm/config/schema.js +0 -55
  280. package/dist/npm/config/shortcuts.d.ts +0 -24
  281. package/dist/npm/config/shortcuts.js +0 -68
  282. package/dist/npm/config/toolsSettings.d.ts +0 -489
  283. package/dist/npm/config/toolsSettings.js +0 -531
  284. package/dist/npm/dialogs/EditorDialogProps.d.ts +0 -23
  285. package/dist/npm/dialogs/EditorDialogProps.js +0 -2
  286. package/dist/npm/dialogs/FindReplace.d.ts +0 -70
  287. package/dist/npm/dialogs/FindReplace.js +0 -916
  288. package/dist/npm/dialogs/insertImage.d.ts +0 -54
  289. package/dist/npm/dialogs/insertImage.js +0 -1171
  290. package/dist/npm/dialogs/insertLink.d.ts +0 -52
  291. package/dist/npm/dialogs/insertLink.js +0 -833
  292. package/dist/npm/dialogs/main.d.ts +0 -1
  293. package/dist/npm/dialogs/main.js +0 -42
  294. package/dist/npm/dialogs/viewHtml.d.ts +0 -51
  295. package/dist/npm/dialogs/viewHtml.js +0 -208
  296. package/dist/npm/main.d.ts +0 -192
  297. package/dist/npm/main.js +0 -217
  298. package/dist/npm/messages/main.d.ts +0 -172
  299. package/dist/npm/messages/main.js +0 -506
  300. package/dist/npm/package-metadata.d.ts +0 -5
  301. package/dist/npm/package-metadata.js +0 -14
  302. package/dist/npm/tools/ToolProps.d.ts +0 -35
  303. package/dist/npm/tools/ToolProps.js +0 -2
  304. package/dist/npm/tools/align.d.ts +0 -42
  305. package/dist/npm/tools/align.js +0 -118
  306. package/dist/npm/tools/applyColor.d.ts +0 -45
  307. package/dist/npm/tools/applyColor.js +0 -107
  308. package/dist/npm/tools/cleanFormatting.d.ts +0 -49
  309. package/dist/npm/tools/cleanFormatting.js +0 -114
  310. package/dist/npm/tools/findReplace.d.ts +0 -43
  311. package/dist/npm/tools/findReplace.js +0 -122
  312. package/dist/npm/tools/fontStyle.d.ts +0 -55
  313. package/dist/npm/tools/fontStyle.js +0 -157
  314. package/dist/npm/tools/formatBlock.d.ts +0 -45
  315. package/dist/npm/tools/formatBlock.js +0 -152
  316. package/dist/npm/tools/history.d.ts +0 -18
  317. package/dist/npm/tools/history.js +0 -8
  318. package/dist/npm/tools/indent.d.ts +0 -44
  319. package/dist/npm/tools/indent.js +0 -128
  320. package/dist/npm/tools/inlineFormat.d.ts +0 -74
  321. package/dist/npm/tools/inlineFormat.js +0 -127
  322. package/dist/npm/tools/insertImage.d.ts +0 -46
  323. package/dist/npm/tools/insertImage.js +0 -133
  324. package/dist/npm/tools/insertLink.d.ts +0 -46
  325. package/dist/npm/tools/insertLink.js +0 -133
  326. package/dist/npm/tools/insertTable/popup.d.ts +0 -80
  327. package/dist/npm/tools/insertTable/popup.js +0 -184
  328. package/dist/npm/tools/insertTable/popupGrid.d.ts +0 -51
  329. package/dist/npm/tools/insertTable/popupGrid.js +0 -138
  330. package/dist/npm/tools/insertTable/tool.d.ts +0 -53
  331. package/dist/npm/tools/insertTable/tool.js +0 -164
  332. package/dist/npm/tools/lists.d.ts +0 -48
  333. package/dist/npm/tools/lists.js +0 -131
  334. package/dist/npm/tools/main.d.ts +0 -95
  335. package/dist/npm/tools/main.js +0 -5
  336. package/dist/npm/tools/outdent.d.ts +0 -44
  337. package/dist/npm/tools/outdent.js +0 -130
  338. package/dist/npm/tools/pdf.d.ts +0 -58
  339. package/dist/npm/tools/pdf.js +0 -107
  340. package/dist/npm/tools/print.d.ts +0 -49
  341. package/dist/npm/tools/print.js +0 -110
  342. package/dist/npm/tools/proseMirrorTool.d.ts +0 -48
  343. package/dist/npm/tools/proseMirrorTool.js +0 -111
  344. package/dist/npm/tools/selectAll.d.ts +0 -49
  345. package/dist/npm/tools/selectAll.js +0 -104
  346. package/dist/npm/tools/tableEdit.d.ts +0 -51
  347. package/dist/npm/tools/tableEdit.js +0 -39
  348. package/dist/npm/tools/unlink.d.ts +0 -47
  349. package/dist/npm/tools/unlink.js +0 -111
  350. package/dist/npm/tools/utils.d.ts +0 -18
  351. package/dist/npm/tools/utils.js +0 -39
  352. package/dist/npm/tools/viewHtml.d.ts +0 -54
  353. package/dist/npm/tools/viewHtml.js +0 -128
  354. package/dist/npm/utils/browser-detection.d.ts +0 -4
  355. package/dist/npm/utils/browser-detection.js +0 -8
  356. package/dist/npm/utils/controlled-value.d.ts +0 -5
  357. package/dist/npm/utils/controlled-value.js +0 -35
  358. package/dist/npm/utils/main.d.ts +0 -357
  359. package/dist/npm/utils/main.js +0 -425
  360. package/dist/npm/utils/props-key.d.ts +0 -5
  361. 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-editor&utm_content=banner" target="_blank">
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
- # Kendo UI for Vue WYSIWYG Editor Component for Vue
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)&mdash;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
- > [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-npm-editor) and speed up your development process!
14
-
15
- [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-npm-editor) enables users to create rich textual content through a What-You-See-Is-What-You-Get (WYSIWYG) interface and delivers a set of tools for creating, editing, and formatting of text, paragraphs, lists, and other HTML elements.
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)&mdash;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 HTML Editor
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 component delivers are:
20
+ Among the many features which the Kendo UI for Vue Editor deliver are:
22
21
 
23
- * [Ready-to-use, customizable toolset](https://www.telerik.com/kendo-vue-ui/components/editor/tools/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)&mdash;The Editor provides a rich set of built-in, user-interface tools. It also enables you to customize each one of them and/or add custom ones.
24
- * [Custom rendering](https://www.telerik.com/kendo-vue-ui/components/editor/custom-rendering/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)&mdash;The Editor provides options for customizing the way it renders its elements—for example, HTML wrapper element, tools, and dialogs.
25
- * [Get and/or set HTML content](https://www.telerik.com/kendo-vue-ui/components/editor/content/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)&mdash;You can programmatically get the HTML content of the Editor and/or set an updated version back.
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)&mdash;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)&mdash;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)&mdash;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)&mdash;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)&mdash;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
- * Industry-leading technical support&mdash;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-npm-editor).
37
- * Product forums&mdash;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-npm-editor) are part of the free support you can get from the community and from the Kendo UI for Vue team.
38
- * Feedback portal&mdash;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-npm-editor) is where you can request and vote for new features to be added.
30
+ - Industry-leading technical support&mdash;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&mdash;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&mdash;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
- * [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-npm-editor)
43
- * [Get 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-npm-editor)
44
- * [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-npm-editor)
45
- * [Kendo UI for Vue Roadmap](https://www.telerik.com/support/whats-new/kendo-vue-ui/roadmap/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)
46
- * [Blogs](https://www.telerik.com/blogs/tag/kendo?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)
47
- * [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-npm-editor)
48
- * [Kendo UI for Vue pricing and licensing](https://www.telerik.com/kendo-ui/pricing/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-editor)
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
- *Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
44
+ _Copyright © 2024 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved._
51
45
 
52
- *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.*
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
+ };
@@ -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={}));