@licium/editor 3.2.3

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 (265) hide show
  1. package/README.md +176 -0
  2. package/dist/esm/i18n/__test__/integration/ui/layout.spec.d.ts +1 -0
  3. package/dist/esm/i18n/__test__/integration/ui/toolbar.spec.d.ts +1 -0
  4. package/dist/esm/i18n/__test__/integration/vdom/render.spec.d.ts +1 -0
  5. package/dist/esm/i18n/__test__/integration/widget/widgetNode.spec.d.ts +1 -0
  6. package/dist/esm/i18n/__test__/unit/convertor.spec.d.ts +1 -0
  7. package/dist/esm/i18n/__test__/unit/dom.spec.d.ts +1 -0
  8. package/dist/esm/i18n/__test__/unit/editor.spec.d.ts +1 -0
  9. package/dist/esm/i18n/__test__/unit/eventEmitter.spec.d.ts +1 -0
  10. package/dist/esm/i18n/__test__/unit/helper/common.spec.d.ts +1 -0
  11. package/dist/esm/i18n/__test__/unit/helper/image.spec.d.ts +1 -0
  12. package/dist/esm/i18n/__test__/unit/linkXss.spec.d.ts +1 -0
  13. package/dist/esm/i18n/__test__/unit/markdown/keymap.spec.d.ts +1 -0
  14. package/dist/esm/i18n/__test__/unit/markdown/mdCommand.spec.d.ts +1 -0
  15. package/dist/esm/i18n/__test__/unit/markdown/mdEditor.spec.d.ts +1 -0
  16. package/dist/esm/i18n/__test__/unit/markdown/mdPreview.spec.d.ts +1 -0
  17. package/dist/esm/i18n/__test__/unit/markdown/smartTask.spec.d.ts +1 -0
  18. package/dist/esm/i18n/__test__/unit/markdown/syntaxHighlight.spec.d.ts +1 -0
  19. package/dist/esm/i18n/__test__/unit/markdown/util.d.ts +7 -0
  20. package/dist/esm/i18n/__test__/unit/repro_3296.spec.d.ts +1 -0
  21. package/dist/esm/i18n/__test__/unit/sanitizer.spec.d.ts +1 -0
  22. package/dist/esm/i18n/__test__/unit/utils/escape.spec.d.ts +1 -0
  23. package/dist/esm/i18n/__test__/unit/utils/pollution.spec.d.ts +1 -0
  24. package/dist/esm/i18n/__test__/unit/vdom/template.spec.d.ts +1 -0
  25. package/dist/esm/i18n/__test__/unit/viewer.spec.d.ts +1 -0
  26. package/dist/esm/i18n/__test__/unit/wysiwyg/customBlock.spec.d.ts +1 -0
  27. package/dist/esm/i18n/__test__/unit/wysiwyg/helper/pasteMsoList.spec.d.ts +1 -0
  28. package/dist/esm/i18n/__test__/unit/wysiwyg/imageInsertion.spec.d.ts +1 -0
  29. package/dist/esm/i18n/__test__/unit/wysiwyg/keymap.spec.d.ts +1 -0
  30. package/dist/esm/i18n/__test__/unit/wysiwyg/wwCommand.spec.d.ts +1 -0
  31. package/dist/esm/i18n/__test__/unit/wysiwyg/wwEditor.spec.d.ts +1 -0
  32. package/dist/esm/i18n/__test__/unit/wysiwyg/wwTableCommand.spec.d.ts +1 -0
  33. package/dist/esm/i18n/__test__/unit/wysiwyg/wwToDOMAdaptor.spec.d.ts +1 -0
  34. package/dist/esm/i18n/__test__/unit/xssSanitizer.spec.d.ts +1 -0
  35. package/dist/esm/i18n/ar.d.ts +1 -0
  36. package/dist/esm/i18n/ar.js +63 -0
  37. package/dist/esm/i18n/base.d.ts +60 -0
  38. package/dist/esm/i18n/commands/commandManager.d.ts +16 -0
  39. package/dist/esm/i18n/commands/defaultCommands.d.ts +2 -0
  40. package/dist/esm/i18n/commands/wwCommands.d.ts +2 -0
  41. package/dist/esm/i18n/convertors/convertor.d.ts +19 -0
  42. package/dist/esm/i18n/convertors/toMarkdown/toMdConvertorState.d.ts +30 -0
  43. package/dist/esm/i18n/convertors/toMarkdown/toMdConvertors.d.ts +7 -0
  44. package/dist/esm/i18n/convertors/toMarkdown/toMdNodeTypeWriters.d.ts +8 -0
  45. package/dist/esm/i18n/convertors/toWysiwyg/htmlToWwConvertors.d.ts +7 -0
  46. package/dist/esm/i18n/convertors/toWysiwyg/toWwConvertorState.d.ts +23 -0
  47. package/dist/esm/i18n/convertors/toWysiwyg/toWwConvertors.d.ts +4 -0
  48. package/dist/esm/i18n/cs-cz.d.ts +1 -0
  49. package/dist/esm/i18n/cs-cz.js +63 -0
  50. package/dist/esm/i18n/de-de.d.ts +1 -0
  51. package/dist/esm/i18n/de-de.js +63 -0
  52. package/dist/esm/i18n/editor.d.ts +36 -0
  53. package/dist/esm/i18n/editorCore.d.ts +330 -0
  54. package/dist/esm/i18n/en-us.d.ts +1 -0
  55. package/dist/esm/i18n/en-us.js +63 -0
  56. package/dist/esm/i18n/es-es.d.ts +1 -0
  57. package/dist/esm/i18n/es-es.js +63 -0
  58. package/dist/esm/i18n/esm/index.d.ts +5 -0
  59. package/dist/esm/i18n/esm/indexViewer.d.ts +2 -0
  60. package/dist/esm/i18n/event/eventEmitter.d.ts +73 -0
  61. package/dist/esm/i18n/fi-fi.d.ts +1 -0
  62. package/dist/esm/i18n/fi-fi.js +63 -0
  63. package/dist/esm/i18n/fr-fr.d.ts +1 -0
  64. package/dist/esm/i18n/fr-fr.js +63 -0
  65. package/dist/esm/i18n/gl-es.d.ts +5 -0
  66. package/dist/esm/i18n/gl-es.js +63 -0
  67. package/dist/esm/i18n/helper/image.d.ts +4 -0
  68. package/dist/esm/i18n/helper/manipulation.d.ts +16 -0
  69. package/dist/esm/i18n/helper/plugin.d.ts +3 -0
  70. package/dist/esm/i18n/hr-hr.d.ts +1 -0
  71. package/dist/esm/i18n/hr-hr.js +63 -0
  72. package/dist/esm/i18n/i18n.d.ts +20 -0
  73. package/dist/esm/i18n/i18n.js +217 -0
  74. package/dist/esm/i18n/index.d.ts +10 -0
  75. package/dist/esm/i18n/indexEditorOnlyStyle.d.ts +3 -0
  76. package/dist/esm/i18n/indexViewer.d.ts +3 -0
  77. package/dist/esm/i18n/it-it.d.ts +1 -0
  78. package/dist/esm/i18n/it-it.js +63 -0
  79. package/dist/esm/i18n/ja-jp.d.ts +1 -0
  80. package/dist/esm/i18n/ja-jp.js +63 -0
  81. package/dist/esm/i18n/ko-kr.d.ts +1 -0
  82. package/dist/esm/i18n/ko-kr.js +63 -0
  83. package/dist/esm/i18n/markdown/helper/list.d.ts +55 -0
  84. package/dist/esm/i18n/markdown/helper/mdCommand.d.ts +5 -0
  85. package/dist/esm/i18n/markdown/helper/pos.d.ts +22 -0
  86. package/dist/esm/i18n/markdown/helper/query.d.ts +3 -0
  87. package/dist/esm/i18n/markdown/htmlRenderConvertors.d.ts +5 -0
  88. package/dist/esm/i18n/markdown/marks/blockQuote.d.ts +19 -0
  89. package/dist/esm/i18n/markdown/marks/code.d.ts +25 -0
  90. package/dist/esm/i18n/markdown/marks/codeBlock.d.ts +18 -0
  91. package/dist/esm/i18n/markdown/marks/customBlock.d.ts +10 -0
  92. package/dist/esm/i18n/markdown/marks/emph.d.ts +17 -0
  93. package/dist/esm/i18n/markdown/marks/heading.d.ts +23 -0
  94. package/dist/esm/i18n/markdown/marks/html.d.ts +8 -0
  95. package/dist/esm/i18n/markdown/marks/link.d.ts +29 -0
  96. package/dist/esm/i18n/markdown/marks/listItem.d.ts +42 -0
  97. package/dist/esm/i18n/markdown/marks/simpleMark.d.ts +32 -0
  98. package/dist/esm/i18n/markdown/marks/strike.d.ts +14 -0
  99. package/dist/esm/i18n/markdown/marks/strong.d.ts +18 -0
  100. package/dist/esm/i18n/markdown/marks/table.d.ts +27 -0
  101. package/dist/esm/i18n/markdown/marks/thematicBreak.d.ts +17 -0
  102. package/dist/esm/i18n/markdown/mdEditor.d.ts +48 -0
  103. package/dist/esm/i18n/markdown/mdPreview.d.ts +50 -0
  104. package/dist/esm/i18n/markdown/nodes/doc.d.ts +7 -0
  105. package/dist/esm/i18n/markdown/nodes/paragraph.d.ts +46 -0
  106. package/dist/esm/i18n/markdown/nodes/text.d.ts +7 -0
  107. package/dist/esm/i18n/markdown/plugins/helper/markInfo.d.ts +19 -0
  108. package/dist/esm/i18n/markdown/plugins/previewHighlight.d.ts +3 -0
  109. package/dist/esm/i18n/markdown/plugins/smartTask.d.ts +3 -0
  110. package/dist/esm/i18n/markdown/plugins/syntaxHighlight.d.ts +3 -0
  111. package/dist/esm/i18n/markdown/scroll/animation.d.ts +2 -0
  112. package/dist/esm/i18n/markdown/scroll/dom.d.ts +16 -0
  113. package/dist/esm/i18n/markdown/scroll/offset.d.ts +9 -0
  114. package/dist/esm/i18n/markdown/scroll/scrollSync.d.ts +30 -0
  115. package/dist/esm/i18n/nb-no.d.ts +1 -0
  116. package/dist/esm/i18n/nb-no.js +63 -0
  117. package/dist/esm/i18n/nl-nl.d.ts +1 -0
  118. package/dist/esm/i18n/nl-nl.js +63 -0
  119. package/dist/esm/i18n/pl-pl.d.ts +1 -0
  120. package/dist/esm/i18n/pl-pl.js +63 -0
  121. package/dist/esm/i18n/plugins/dropImage.d.ts +3 -0
  122. package/dist/esm/i18n/plugins/placeholder.d.ts +7 -0
  123. package/dist/esm/i18n/plugins/popupWidget.d.ts +3 -0
  124. package/dist/esm/i18n/pt-br.d.ts +1 -0
  125. package/dist/esm/i18n/pt-br.js +63 -0
  126. package/dist/esm/i18n/queries/queryManager.d.ts +2 -0
  127. package/dist/esm/i18n/ru-ru.d.ts +1 -0
  128. package/dist/esm/i18n/ru-ru.js +64 -0
  129. package/dist/esm/i18n/sanitizer/htmlSanitizer.d.ts +3 -0
  130. package/dist/esm/i18n/spec/mark.d.ts +12 -0
  131. package/dist/esm/i18n/spec/node.d.ts +12 -0
  132. package/dist/esm/i18n/spec/specManager.d.ts +16 -0
  133. package/dist/esm/i18n/sv-se.d.ts +1 -0
  134. package/dist/esm/i18n/sv-se.js +63 -0
  135. package/dist/esm/i18n/tr-tr.d.ts +1 -0
  136. package/dist/esm/i18n/tr-tr.js +63 -0
  137. package/dist/esm/i18n/ui/components/contextMenu.d.ts +21 -0
  138. package/dist/esm/i18n/ui/components/layout.d.ts +36 -0
  139. package/dist/esm/i18n/ui/components/popup.d.ts +21 -0
  140. package/dist/esm/i18n/ui/components/switch.d.ts +17 -0
  141. package/dist/esm/i18n/ui/components/tabs.d.ts +12 -0
  142. package/dist/esm/i18n/ui/components/toolbar/customPopupBody.d.ts +16 -0
  143. package/dist/esm/i18n/ui/components/toolbar/headingPopupBody.d.ts +12 -0
  144. package/dist/esm/i18n/ui/components/toolbar/imagePopupBody.d.ts +30 -0
  145. package/dist/esm/i18n/ui/components/toolbar/linkPopupBody.d.ts +18 -0
  146. package/dist/esm/i18n/ui/components/toolbar/tablePopupBody.d.ts +29 -0
  147. package/dist/esm/i18n/ui/components/toolbar/toolbar.d.ts +45 -0
  148. package/dist/esm/i18n/ui/components/toolbar/toolbarGroup.d.ts +21 -0
  149. package/dist/esm/i18n/ui/toolbarItemFactory.d.ts +13 -0
  150. package/dist/esm/i18n/ui/vdom/commit.d.ts +2 -0
  151. package/dist/esm/i18n/ui/vdom/component.d.ts +10 -0
  152. package/dist/esm/i18n/ui/vdom/dom.d.ts +6 -0
  153. package/dist/esm/i18n/ui/vdom/render.d.ts +4 -0
  154. package/dist/esm/i18n/ui/vdom/renderer.d.ts +4 -0
  155. package/dist/esm/i18n/ui/vdom/template.d.ts +3 -0
  156. package/dist/esm/i18n/ui/vdom/vnode.d.ts +30 -0
  157. package/dist/esm/i18n/uk-ua.d.ts +1 -0
  158. package/dist/esm/i18n/uk-ua.js +63 -0
  159. package/dist/esm/i18n/utils/common.d.ts +19 -0
  160. package/dist/esm/i18n/utils/constants.d.ts +8 -0
  161. package/dist/esm/i18n/utils/dom.d.ts +25 -0
  162. package/dist/esm/i18n/utils/map.d.ts +19 -0
  163. package/dist/esm/i18n/utils/markdown.d.ts +23 -0
  164. package/dist/esm/i18n/viewer.d.ts +77 -0
  165. package/dist/esm/i18n/widget/rules.d.ts +28 -0
  166. package/dist/esm/i18n/widget/widgetNode.d.ts +28 -0
  167. package/dist/esm/i18n/wysiwyg/adaptor/mdLikeNode.d.ts +5 -0
  168. package/dist/esm/i18n/wysiwyg/adaptor/wwToDOMAdaptor.d.ts +13 -0
  169. package/dist/esm/i18n/wysiwyg/clipboard/paste.d.ts +6 -0
  170. package/dist/esm/i18n/wysiwyg/clipboard/pasteMsoList.d.ts +2 -0
  171. package/dist/esm/i18n/wysiwyg/clipboard/pasteTextParser.d.ts +2 -0
  172. package/dist/esm/i18n/wysiwyg/clipboard/pasteToTable.d.ts +3 -0
  173. package/dist/esm/i18n/wysiwyg/command/list.d.ts +7 -0
  174. package/dist/esm/i18n/wysiwyg/command/table.d.ts +16 -0
  175. package/dist/esm/i18n/wysiwyg/helper/node.d.ts +37 -0
  176. package/dist/esm/i18n/wysiwyg/helper/table.d.ts +25 -0
  177. package/dist/esm/i18n/wysiwyg/helper/tableOffsetMap.d.ts +88 -0
  178. package/dist/esm/i18n/wysiwyg/markdownInputRules.d.ts +3 -0
  179. package/dist/esm/i18n/wysiwyg/marks/code.d.ts +31 -0
  180. package/dist/esm/i18n/wysiwyg/marks/emph.d.ts +34 -0
  181. package/dist/esm/i18n/wysiwyg/marks/link.d.ts +59 -0
  182. package/dist/esm/i18n/wysiwyg/marks/strike.d.ts +31 -0
  183. package/dist/esm/i18n/wysiwyg/marks/strong.d.ts +34 -0
  184. package/dist/esm/i18n/wysiwyg/nodes/blockQuote.d.ts +33 -0
  185. package/dist/esm/i18n/wysiwyg/nodes/bulletList.d.ts +43 -0
  186. package/dist/esm/i18n/wysiwyg/nodes/codeBlock.d.ts +45 -0
  187. package/dist/esm/i18n/wysiwyg/nodes/customBlock.d.ts +26 -0
  188. package/dist/esm/i18n/wysiwyg/nodes/doc.d.ts +7 -0
  189. package/dist/esm/i18n/wysiwyg/nodes/frontMatter.d.ts +21 -0
  190. package/dist/esm/i18n/wysiwyg/nodes/hardBreak.d.ts +14 -0
  191. package/dist/esm/i18n/wysiwyg/nodes/heading.d.ts +38 -0
  192. package/dist/esm/i18n/wysiwyg/nodes/html.d.ts +11 -0
  193. package/dist/esm/i18n/wysiwyg/nodes/htmlComment.d.ts +21 -0
  194. package/dist/esm/i18n/wysiwyg/nodes/image.d.ts +45 -0
  195. package/dist/esm/i18n/wysiwyg/nodes/listItem.d.ts +36 -0
  196. package/dist/esm/i18n/wysiwyg/nodes/orderedList.d.ts +39 -0
  197. package/dist/esm/i18n/wysiwyg/nodes/paragraph.d.ts +21 -0
  198. package/dist/esm/i18n/wysiwyg/nodes/table.d.ts +80 -0
  199. package/dist/esm/i18n/wysiwyg/nodes/tableBody.d.ts +26 -0
  200. package/dist/esm/i18n/wysiwyg/nodes/tableBodyCell.d.ts +36 -0
  201. package/dist/esm/i18n/wysiwyg/nodes/tableHead.d.ts +26 -0
  202. package/dist/esm/i18n/wysiwyg/nodes/tableHeadCell.d.ts +39 -0
  203. package/dist/esm/i18n/wysiwyg/nodes/tableRow.d.ts +26 -0
  204. package/dist/esm/i18n/wysiwyg/nodes/text.d.ts +14 -0
  205. package/dist/esm/i18n/wysiwyg/nodes/thematicBreak.d.ts +33 -0
  206. package/dist/esm/i18n/wysiwyg/nodeview/codeBlockView.d.ts +29 -0
  207. package/dist/esm/i18n/wysiwyg/nodeview/customBlockView.d.ts +29 -0
  208. package/dist/esm/i18n/wysiwyg/nodeview/imageView.d.ts +20 -0
  209. package/dist/esm/i18n/wysiwyg/plugins/selection/cellSelection.d.ts +14 -0
  210. package/dist/esm/i18n/wysiwyg/plugins/selection/tableSelection.d.ts +2 -0
  211. package/dist/esm/i18n/wysiwyg/plugins/selection/tableSelectionView.d.ts +19 -0
  212. package/dist/esm/i18n/wysiwyg/plugins/tableContextMenu.d.ts +3 -0
  213. package/dist/esm/i18n/wysiwyg/plugins/task.d.ts +2 -0
  214. package/dist/esm/i18n/wysiwyg/plugins/toolbarState.d.ts +3 -0
  215. package/dist/esm/i18n/wysiwyg/specCreator.d.ts +3 -0
  216. package/dist/esm/i18n/wysiwyg/wwEditor.d.ts +57 -0
  217. package/dist/esm/i18n/zh-cn.d.ts +1 -0
  218. package/dist/esm/i18n/zh-cn.js +63 -0
  219. package/dist/esm/i18n/zh-tw.d.ts +1 -0
  220. package/dist/esm/i18n/zh-tw.js +63 -0
  221. package/dist/esm/index.js +25133 -0
  222. package/dist/esm/indexViewer.js +12757 -0
  223. package/dist/i18n/ar.js +162 -0
  224. package/dist/i18n/cs-cz.js +162 -0
  225. package/dist/i18n/de-de.js +162 -0
  226. package/dist/i18n/es-es.js +162 -0
  227. package/dist/i18n/fi-fi.js +162 -0
  228. package/dist/i18n/fr-fr.js +162 -0
  229. package/dist/i18n/gl-es.js +162 -0
  230. package/dist/i18n/hr-hr.js +162 -0
  231. package/dist/i18n/it-it.js +162 -0
  232. package/dist/i18n/ja-jp.js +162 -0
  233. package/dist/i18n/ko-kr.js +162 -0
  234. package/dist/i18n/nb-no.js +162 -0
  235. package/dist/i18n/nl-nl.js +162 -0
  236. package/dist/i18n/pl-pl.js +162 -0
  237. package/dist/i18n/pt-br.js +162 -0
  238. package/dist/i18n/ru-ru.js +163 -0
  239. package/dist/i18n/sv-se.js +162 -0
  240. package/dist/i18n/tr-tr.js +162 -0
  241. package/dist/i18n/uk-ua.js +162 -0
  242. package/dist/i18n/zh-cn.js +162 -0
  243. package/dist/i18n/zh-tw.js +162 -0
  244. package/dist/theme/toastui-editor-dark.css +474 -0
  245. package/dist/toastui-editor-only.css +1068 -0
  246. package/dist/toastui-editor-viewer.css +492 -0
  247. package/dist/toastui-editor-viewer.js +14079 -0
  248. package/dist/toastui-editor.css +1606 -0
  249. package/dist/toastui-editor.js +26464 -0
  250. package/package.json +95 -0
  251. package/types/convertor.d.ts +143 -0
  252. package/types/editor.d.ts +383 -0
  253. package/types/event.d.ts +56 -0
  254. package/types/index.d.ts +70 -0
  255. package/types/map.d.ts +8 -0
  256. package/types/markdown.d.ts +60 -0
  257. package/types/plugin.d.ts +59 -0
  258. package/types/prosemirror-commands.d.ts +15 -0
  259. package/types/prosemirror-model.d.ts +15 -0
  260. package/types/prosemirror-transform.d.ts +35 -0
  261. package/types/spec.d.ts +42 -0
  262. package/types/toastmark.d.ts +357 -0
  263. package/types/toastui-editor-viewer.d.ts +39 -0
  264. package/types/ui.d.ts +165 -0
  265. package/types/wysiwyg.d.ts +36 -0
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @licium/editor : i18n
3
+ * @version 3.2.3 | Fri Jan 02 2026
4
+ * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@licium/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for Finnish
12
+ * @author Tomi Mynttinen <pikseli@iki.fi>
13
+ */
14
+ Editor.setLanguage(['fi', 'fi-FI'], {
15
+ Markdown: 'Markdown',
16
+ WYSIWYG: 'WYSIWYG',
17
+ Write: 'Kirjoita',
18
+ Preview: 'Esikatselu',
19
+ Headings: 'Otsikot',
20
+ Paragraph: 'Kappale',
21
+ Bold: 'Lihavointi',
22
+ Italic: 'Kursivointi',
23
+ Strike: 'Yliviivaus',
24
+ Code: 'Koodi',
25
+ Line: 'Vaakaviiva',
26
+ Blockquote: 'Lainaus',
27
+ 'Unordered list': 'Luettelo',
28
+ 'Ordered list': 'Numeroitu luettelo',
29
+ Task: 'Tehtävä',
30
+ Indent: 'Suurenna sisennystä',
31
+ Outdent: 'Pienennä sisennystä',
32
+ 'Insert link': 'Lisää linkki',
33
+ 'Insert CodeBlock': 'Lisää koodia',
34
+ 'Insert table': 'Lisää taulukko',
35
+ 'Insert image': 'Lisää kuva',
36
+ Heading: 'Otsikko',
37
+ 'Image URL': 'Kuvan URL',
38
+ 'Select image file': 'Valitse kuvatiedosto',
39
+ 'Choose a file': 'Valitse tiedosto',
40
+ 'No file': 'Ei tiedosto',
41
+ Description: 'Kuvaus',
42
+ OK: 'OK',
43
+ More: 'Lisää',
44
+ Cancel: 'Peruuta',
45
+ File: 'Tiedosto',
46
+ URL: 'URL',
47
+ 'Link text': 'Linkkiteksti',
48
+ 'Add row to up': 'Lisää rivi ylöspäin',
49
+ 'Add row to down': 'Lisää rivi alaspäin',
50
+ 'Add column to left': 'Lisää sarake vasemmalla',
51
+ 'Add column to right': 'Lisää sarake oikealle',
52
+ 'Remove row': 'Poista rivi',
53
+ 'Remove column': 'Poista sarake',
54
+ 'Align column to left': 'Tasaus vasemmalle',
55
+ 'Align column to center': 'Keskitä',
56
+ 'Align column to right': 'Tasaus oikealle',
57
+ 'Remove table': 'Poista taulukko',
58
+ 'Would you like to paste as table?': 'Haluatko liittää taulukkomuodossa?',
59
+ 'Text color': 'Tekstin väri',
60
+ 'Auto scroll enabled': 'Automaattinen skrollaus käytössä',
61
+ 'Auto scroll disabled': 'Automaattinen skrollaus pois käytöstä',
62
+ 'Choose language': 'Valitse kieli',
63
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @licium/editor : i18n
3
+ * @version 3.2.3 | Fri Jan 02 2026
4
+ * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@licium/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for French
12
+ * @author Stanislas Michalak <stanislas.michalak@gmail.com>
13
+ */
14
+ Editor.setLanguage(['fr', 'fr-FR'], {
15
+ Markdown: 'Markdown',
16
+ WYSIWYG: 'WYSIWYG',
17
+ Write: 'Écrire',
18
+ Preview: 'Aperçu',
19
+ Headings: 'En-têtes',
20
+ Paragraph: 'Paragraphe',
21
+ Bold: 'Gras',
22
+ Italic: 'Italique',
23
+ Strike: 'Barré',
24
+ Code: 'Code en ligne',
25
+ Line: 'Ligne',
26
+ Blockquote: 'Citation',
27
+ 'Unordered list': 'Liste non-ordonnée',
28
+ 'Ordered list': 'Liste ordonnée',
29
+ Task: 'Tâche',
30
+ Indent: 'Retrait',
31
+ Outdent: 'Sortir',
32
+ 'Insert link': 'Insérer un lien',
33
+ 'Insert CodeBlock': 'Insérer un bloc de code',
34
+ 'Insert table': 'Insérer un tableau',
35
+ 'Insert image': 'Insérer une image',
36
+ Heading: 'En-tête',
37
+ 'Image URL': "URL de l'image",
38
+ 'Select image file': 'Sélectionnez un fichier image',
39
+ 'Choose a file': 'Choisissez un fichier',
40
+ 'No file': 'Pas de fichier',
41
+ Description: 'Description',
42
+ OK: 'OK',
43
+ More: 'de plus',
44
+ Cancel: 'Annuler',
45
+ File: 'Fichier',
46
+ URL: 'URL',
47
+ 'Link text': 'Texte du lien',
48
+ 'Add row to up': 'Ajouter une ligne vers le haut',
49
+ 'Add row to down': 'Ajouter une ligne vers le bas',
50
+ 'Add column to left': 'Ajouter une colonne à gauche',
51
+ 'Add column to right': 'Ajouter une colonne à droite',
52
+ 'Remove row': 'Supprimer une ligne',
53
+ 'Remove column': 'Supprimer une colonne',
54
+ 'Align column to left': 'Aligner à gauche',
55
+ 'Align column to center': 'Aligner au centre',
56
+ 'Align column to right': 'Aligner à droite',
57
+ 'Remove table': 'Supprimer le tableau',
58
+ 'Would you like to paste as table?': 'Voulez-vous coller ce contenu en tant que tableau ?',
59
+ 'Text color': 'Couleur du texte',
60
+ 'Auto scroll enabled': 'Défilement automatique activé',
61
+ 'Auto scroll disabled': 'Défilement automatique désactivé',
62
+ 'Choose language': 'Choix de la langue',
63
+ });
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @fileoverview I18N for Spanish
3
+ * @author Aida Vidal <avidal@emapic.es>
4
+ */
5
+ export {};
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @licium/editor : i18n
3
+ * @version 3.2.3 | Fri Jan 02 2026
4
+ * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@licium/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for Spanish
12
+ * @author Aida Vidal <avidal@emapic.es>
13
+ */
14
+ Editor.setLanguage(['gl', 'gl-ES'], {
15
+ Markdown: 'Markdown',
16
+ WYSIWYG: 'WYSIWYG',
17
+ Write: 'Escribir',
18
+ Preview: 'Vista previa',
19
+ Headings: 'Encabezados',
20
+ Paragraph: 'Parágrafo',
21
+ Bold: 'Negriña',
22
+ Italic: 'Cursiva',
23
+ Strike: 'Riscado',
24
+ Code: 'Código',
25
+ Line: 'Liña',
26
+ Blockquote: 'Cita',
27
+ 'Unordered list': 'Lista desordenada',
28
+ 'Ordered list': 'Lista ordenada',
29
+ Task: 'Tarefa',
30
+ Indent: 'Sangría',
31
+ Outdent: 'Anular sangría',
32
+ 'Insert link': 'Inserir enlace',
33
+ 'Insert CodeBlock': 'Inserir bloque de código',
34
+ 'Insert table': 'Inserir táboa',
35
+ 'Insert image': 'Inserir imaxe',
36
+ Heading: 'Encabezado',
37
+ 'Image URL': 'URL da imaxe',
38
+ 'Select image file': 'Seleccionar arquivo da imaxe',
39
+ 'Choose a file': 'Escoge un archivo',
40
+ 'No file': 'Ningún archivo',
41
+ Description: 'Descrición',
42
+ OK: 'Aceptar',
43
+ More: 'Máis',
44
+ Cancel: 'Cancelar',
45
+ File: 'Arquivo',
46
+ URL: 'URL',
47
+ 'Link text': 'Texto do enlace',
48
+ 'Add row to up': 'Engade fila para arriba',
49
+ 'Add row to down': 'Engade fila para abaixo',
50
+ 'Add column to left': 'Engade columna á esquerda',
51
+ 'Add column to right': 'Engade columna á dereita',
52
+ 'Remove row': 'Eliminar fila',
53
+ 'Remove column': 'Eliminar columna',
54
+ 'Align column to left': 'Aliñar á esquerda',
55
+ 'Align column to center': 'Centrar',
56
+ 'Align column to right': 'Aliñar á dereita',
57
+ 'Remove table': 'Eliminar táboa',
58
+ 'Would you like to paste as table?': 'Desexa pegar como táboa?',
59
+ 'Text color': 'Cor do texto',
60
+ 'Auto scroll enabled': 'Desprazamento automático habilitado',
61
+ 'Auto scroll disabled': 'Desprazamento automático deshabilitado',
62
+ 'Choose language': 'Elixir idioma',
63
+ });
@@ -0,0 +1,4 @@
1
+ import { Emitter } from '@t/event';
2
+ export declare function addDefaultImageBlobHook(eventEmitter: Emitter): void;
3
+ export declare function emitImageBlobHook(eventEmitter: Emitter, blob: File, type: string): void;
4
+ export declare function pasteImageOnly(items: DataTransferItemList): any;
@@ -0,0 +1,16 @@
1
+ import { TextSelection, Transaction, EditorState } from 'prosemirror-state';
2
+ import { ProsemirrorNode, Schema, Mark, ResolvedPos } from 'prosemirror-model';
3
+ interface ReplacePayload {
4
+ state: EditorState;
5
+ from: number;
6
+ startIndex: number;
7
+ endIndex: number;
8
+ createText: (textContent: string) => string;
9
+ }
10
+ export declare function createParagraph(schema: Schema, content?: string | ProsemirrorNode[]): import("prosemirror-model").Node;
11
+ export declare function createTextNode(schema: Schema, text: string, marks?: Mark[]): import("prosemirror-model").Node;
12
+ export declare function createTextSelection(tr: Transaction, from: number, to?: number): TextSelection;
13
+ export declare function addParagraph(tr: Transaction, { pos }: ResolvedPos, schema: Schema): Transaction;
14
+ export declare function replaceTextNode({ state, from, startIndex, endIndex, createText }: ReplacePayload): Transaction;
15
+ export declare function splitAndExtendBlock(tr: Transaction, pos: number, text: string, node: ProsemirrorNode): void;
16
+ export {};
@@ -0,0 +1,3 @@
1
+ import { EditorPluginsInfo } from '@t/editor';
2
+ import { PluginInfoResult } from '@t/plugin';
3
+ export declare function getPluginInfo(pluginsInfo: EditorPluginsInfo): PluginInfoResult;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @licium/editor : i18n
3
+ * @version 3.2.3 | Fri Jan 02 2026
4
+ * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@licium/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for Croatian
12
+ * @author Hrvoje A. <hrvoj3e@gmail.com>
13
+ */
14
+ Editor.setLanguage(['hr', 'hr-HR'], {
15
+ Markdown: 'Markdown',
16
+ WYSIWYG: 'WYSIWYG',
17
+ Write: 'Piši',
18
+ Preview: 'Pregled',
19
+ Headings: 'Naslovi',
20
+ Paragraph: 'Paragraf',
21
+ Bold: 'podebljano',
22
+ Italic: 'kurziv',
23
+ Strike: 'prcrtano',
24
+ Code: 'Uklopljeni kôd',
25
+ Line: 'Linija',
26
+ Blockquote: 'Blok citat',
27
+ 'Unordered list': 'Neporedana lista',
28
+ 'Ordered list': 'Poredana lista',
29
+ Task: 'Task',
30
+ Indent: 'Povećaj uvlaku',
31
+ Outdent: 'Smanji uvlaku',
32
+ 'Insert link': 'Umetni link',
33
+ 'Insert CodeBlock': 'Umetni blok kôda',
34
+ 'Insert table': 'Umetni tablicu',
35
+ 'Insert image': 'Umetni sliku',
36
+ Heading: 'Naslov',
37
+ 'Image URL': 'URL slike',
38
+ 'Select image file': 'Odaberi slikovnu datoteku',
39
+ 'Choose a file': 'Odaberite datoteka',
40
+ 'No file': 'Nema datoteka',
41
+ Description: 'Opis',
42
+ OK: 'OK',
43
+ More: 'Više',
44
+ Cancel: 'Odustani',
45
+ File: 'Datoteka',
46
+ URL: 'URL',
47
+ 'Link text': 'Tekst linka',
48
+ 'Add row to up': 'Dodaj redak prema gore',
49
+ 'Add row to down': 'Dodaj redak prema dolje',
50
+ 'Add column to left': 'Dodaj stupac s lijeve strane',
51
+ 'Add column to right': 'Dodajte stupac s desne strane',
52
+ 'Remove row': 'Ukloni redak',
53
+ 'Remove column': 'Remove stupac',
54
+ 'Align column to left': 'Poravnaj lijevo',
55
+ 'Align column to center': 'Poravnaj centrirano',
56
+ 'Align column to right': 'Poravnaj desno',
57
+ 'Remove table': 'Ukloni tablicu',
58
+ 'Would you like to paste as table?': 'Zalite li zalijepiti kao tablicu?',
59
+ 'Text color': 'Boja teksta',
60
+ 'Auto scroll enabled': 'Omogući auto klizanje',
61
+ 'Auto scroll disabled': 'Onemogući auto klizanje',
62
+ 'Choose language': 'Odabir jezika',
63
+ });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Class I18n
3
+ * @ignore
4
+ */
5
+ declare class I18n {
6
+ private code;
7
+ private langs;
8
+ constructor();
9
+ setCode(code?: string): void;
10
+ /**
11
+ * Set language set
12
+ * @param {string|string[]} codes locale code
13
+ * @param {object} data language set
14
+ */
15
+ setLanguage(codes: string | string[], data: Record<string, string>): void;
16
+ get(key: string, code?: string): string;
17
+ }
18
+ export { I18n };
19
+ declare const _default: I18n;
20
+ export default _default;
@@ -0,0 +1,217 @@
1
+ /**
2
+ * @licium/editor : i18n
3
+ * @version 3.2.3 | Fri Jan 02 2026
4
+ * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ /**
9
+ * @fileoverview Extend the target object from other objects.
10
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
11
+ */
12
+
13
+ /**
14
+ * @module object
15
+ */
16
+
17
+ /**
18
+ * Extend the target object from other objects.
19
+ * @param {object} target - Object that will be extended
20
+ * @param {...object} objects - Objects as sources
21
+ * @returns {object} Extended object
22
+ * @memberof module:object
23
+ */
24
+ function extend(target, objects) { // eslint-disable-line no-unused-vars
25
+ var hasOwnProp = Object.prototype.hasOwnProperty;
26
+ var source, prop, i, len;
27
+
28
+ for (i = 1, len = arguments.length; i < len; i += 1) {
29
+ source = arguments[i];
30
+ for (prop in source) {
31
+ if (hasOwnProp.call(source, prop)) {
32
+ target[prop] = source[prop];
33
+ }
34
+ }
35
+ }
36
+
37
+ return target;
38
+ }
39
+
40
+ var extend_1 = extend;
41
+
42
+ /**
43
+ * @fileoverview Check whether the given variable is an instance of Array or not.
44
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
45
+ */
46
+
47
+ /**
48
+ * Check whether the given variable is an instance of Array or not.
49
+ * If the given variable is an instance of Array, return true.
50
+ * @param {*} obj - Target for checking
51
+ * @returns {boolean} Is array instance?
52
+ * @memberof module:type
53
+ */
54
+ function isArray$1(obj) {
55
+ return obj instanceof Array;
56
+ }
57
+
58
+ var isArray_1 = isArray$1;
59
+
60
+ /* eslint-disable complexity */
61
+
62
+ var isArray = isArray_1;
63
+
64
+ /**
65
+ * @module array
66
+ */
67
+
68
+ /**
69
+ * Returns the first index at which a given element can be found in the array
70
+ * from start index(default 0), or -1 if it is not present.
71
+ * It compares searchElement to elements of the Array using strict equality
72
+ * (the same method used by the ===, or triple-equals, operator).
73
+ * @param {*} searchElement Element to locate in the array
74
+ * @param {Array} array Array that will be traversed.
75
+ * @param {number} startIndex Start index in array for searching (default 0)
76
+ * @returns {number} the First index at which a given element, or -1 if it is not present
77
+ * @memberof module:array
78
+ * @example
79
+ * // ES6
80
+ * import inArray from 'tui-code-snippet/array/inArray';
81
+ *
82
+ * // CommonJS
83
+ * const inArray = require('tui-code-snippet/array/inArray');
84
+ *
85
+ * const arr = ['one', 'two', 'three', 'four'];
86
+ * const idx1 = inArray('one', arr, 3); // -1
87
+ * const idx2 = inArray('one', arr); // 0
88
+ */
89
+ function inArray(searchElement, array, startIndex) {
90
+ var i;
91
+ var length;
92
+ startIndex = startIndex || 0;
93
+
94
+ if (!isArray(array)) {
95
+ return -1;
96
+ }
97
+
98
+ if (Array.prototype.indexOf) {
99
+ return Array.prototype.indexOf.call(array, searchElement, startIndex);
100
+ }
101
+
102
+ length = array.length;
103
+ for (i = startIndex; startIndex >= 0 && i < length; i += 1) {
104
+ if (array[i] === searchElement) {
105
+ return i;
106
+ }
107
+ }
108
+
109
+ return -1;
110
+ }
111
+
112
+ var inArray_1 = inArray;
113
+
114
+ /**
115
+ * @class
116
+ * @ignore
117
+ * @classdesc ES6 Map
118
+ */
119
+ class Map {
120
+ constructor() {
121
+ this.keys = [];
122
+ this.values = [];
123
+ }
124
+ getKeyIndex(key) {
125
+ return inArray_1(key, this.keys);
126
+ }
127
+ get(key) {
128
+ return this.values[this.getKeyIndex(key)];
129
+ }
130
+ set(key, value) {
131
+ const keyIndex = this.getKeyIndex(key);
132
+ if (keyIndex > -1) {
133
+ this.values[keyIndex] = value;
134
+ }
135
+ else {
136
+ this.keys.push(key);
137
+ this.values.push(value);
138
+ }
139
+ return this;
140
+ }
141
+ has(key) {
142
+ return this.getKeyIndex(key) > -1;
143
+ }
144
+ delete(key) {
145
+ const keyIndex = this.getKeyIndex(key);
146
+ if (keyIndex > -1) {
147
+ this.keys.splice(keyIndex, 1);
148
+ this.values.splice(keyIndex, 1);
149
+ return true;
150
+ }
151
+ return false;
152
+ }
153
+ forEach(callback, thisArg = this) {
154
+ this.values.forEach((value, index) => {
155
+ if (value && this.keys[index]) {
156
+ callback.call(thisArg, value, this.keys[index], this);
157
+ }
158
+ });
159
+ }
160
+ clear() {
161
+ this.keys = [];
162
+ this.values = [];
163
+ }
164
+ }
165
+
166
+ /**
167
+ * @fileoverview Implements i18n
168
+ * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
169
+ */
170
+ const DEFAULT_CODE = 'en-US';
171
+ /**
172
+ * Class I18n
173
+ * @ignore
174
+ */
175
+ class I18n {
176
+ constructor() {
177
+ this.code = DEFAULT_CODE;
178
+ this.langs = new Map();
179
+ }
180
+ setCode(code) {
181
+ this.code = code || DEFAULT_CODE;
182
+ }
183
+ /**
184
+ * Set language set
185
+ * @param {string|string[]} codes locale code
186
+ * @param {object} data language set
187
+ */
188
+ setLanguage(codes, data) {
189
+ codes = [].concat(codes);
190
+ codes.forEach((code) => {
191
+ if (!this.langs.has(code)) {
192
+ this.langs.set(code, data);
193
+ }
194
+ else {
195
+ const langData = this.langs.get(code);
196
+ this.langs.set(code, extend_1(langData, data));
197
+ }
198
+ });
199
+ }
200
+ get(key, code) {
201
+ if (!code) {
202
+ code = this.code;
203
+ }
204
+ let langSet = this.langs.get(code);
205
+ if (!langSet) {
206
+ langSet = this.langs.get(DEFAULT_CODE);
207
+ }
208
+ const text = langSet[key];
209
+ if (!text) {
210
+ throw new Error(`There is no text key "${key}" in ${code}`);
211
+ }
212
+ return text;
213
+ }
214
+ }
215
+ var i18n = new I18n();
216
+
217
+ export { I18n, i18n as default };
@@ -0,0 +1,10 @@
1
+ import EditorCore from './editorCore';
2
+ import Editor from './editor';
3
+ import 'prosemirror-view/style/prosemirror.css';
4
+ import '@/css/editor.css';
5
+ import '@/css/contents.css';
6
+ import '@/css/preview-highlighting.css';
7
+ import '@/css/md-syntax-highlighting.css';
8
+ import './i18n/en-us';
9
+ export default Editor;
10
+ export { Editor, EditorCore };
@@ -0,0 +1,3 @@
1
+ import '@/css/editor.css';
2
+ import '@/css/preview-highlighting.css';
3
+ import '@/css/md-syntax-highlighting.css';
@@ -0,0 +1,3 @@
1
+ import Viewer from './viewer';
2
+ import '@/css/contents.css';
3
+ export default Viewer;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @licium/editor : i18n
3
+ * @version 3.2.3 | Fri Jan 02 2026
4
+ * @author NHN Cloud FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@licium/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for Italian
12
+ * @author Massimo Redaelli <massimo@typish.io>
13
+ */
14
+ Editor.setLanguage(['it', 'it-IT'], {
15
+ Markdown: 'Markdown',
16
+ WYSIWYG: 'WYSIWYG',
17
+ Write: 'Scrivere',
18
+ Preview: 'Anteprima',
19
+ Headings: 'Intestazioni',
20
+ Paragraph: 'Paragrafo',
21
+ Bold: 'Grassetto',
22
+ Italic: 'Corsivo',
23
+ Strike: 'Barrato',
24
+ Code: 'Codice',
25
+ Line: 'Linea',
26
+ Blockquote: 'Blocco citazione',
27
+ 'Unordered list': 'Lista puntata',
28
+ 'Ordered list': 'Lista numerata',
29
+ Task: 'Attività',
30
+ Indent: 'Aggiungi indentazione',
31
+ Outdent: 'Rimuovi indentazione',
32
+ 'Insert link': 'Inserisci link',
33
+ 'Insert CodeBlock': 'Inserisci blocco di codice',
34
+ 'Insert table': 'Inserisci tabella',
35
+ 'Insert image': 'Inserisci immagine',
36
+ Heading: 'Intestazione',
37
+ 'Image URL': 'URL immagine',
38
+ 'Select image file': 'Seleziona file immagine',
39
+ 'Choose a file': 'Scegli un file',
40
+ 'No file': 'Nessun file',
41
+ Description: 'Descrizione',
42
+ OK: 'OK',
43
+ More: 'Più',
44
+ Cancel: 'Cancella',
45
+ File: 'File',
46
+ URL: 'URL',
47
+ 'Link text': 'Testo del collegamento',
48
+ 'Add row to up': 'Aggiungi riga in alto',
49
+ 'Add row to down': 'Aggiungi riga in basso',
50
+ 'Add column to left': 'Aggiungi colonna a sinistra',
51
+ 'Add column to right': 'Aggiungi colonna a destra',
52
+ 'Remove row': 'Rimuovi riga',
53
+ 'Remove column': 'Rimuovi colonna',
54
+ 'Align column to left': 'Allinea a sinistra',
55
+ 'Align column to center': 'Allinea al centro',
56
+ 'Align column to right': 'Allinea a destra',
57
+ 'Remove table': 'Rimuovi tabella',
58
+ 'Would you like to paste as table?': 'Desideri incollare sotto forma di tabella?',
59
+ 'Text color': 'Colore del testo',
60
+ 'Auto scroll enabled': 'Scrolling automatico abilitato',
61
+ 'Auto scroll disabled': 'Scrolling automatico disabilitato',
62
+ 'Choose language': 'Scegli la lingua',
63
+ });
@@ -0,0 +1 @@
1
+ export {};