reactjs-tiptap-editor-pro 0.2.31 → 0.2.32

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 (333) hide show
  1. package/lib/RichTextEditor-BwbqJLnA.cjs +141 -0
  2. package/lib/RichTextEditor-iGJ6-rbq.js +8833 -0
  3. package/lib/extension-bundle.cjs +33 -0
  4. package/lib/extension-bundle.d.cts +947 -0
  5. package/lib/extension-bundle.d.ts +947 -0
  6. package/lib/extension-bundle.js +5755 -0
  7. package/lib/index-DV-nXpU1.cjs +1 -0
  8. package/lib/index-M6H3FoBi.js +1147 -0
  9. package/lib/index.cjs +1 -0
  10. package/lib/index.d.cts +513 -0
  11. package/lib/index.d.ts +513 -0
  12. package/lib/index.js +16 -0
  13. package/lib/locale-bundle.cjs +1 -0
  14. package/lib/locale-bundle.d.cts +1140 -0
  15. package/lib/locale-bundle.d.ts +1140 -0
  16. package/lib/locale-bundle.js +9 -0
  17. package/lib/style.css +1 -0
  18. package/lib/tiptap-DkWHMWDt.js +6061 -0
  19. package/lib/tiptap-gBG-1T-V.cjs +116 -0
  20. package/lib/vendor-BJ0Yf78E.cjs +8114 -0
  21. package/lib/vendor-Cpa6z-M0.js +67575 -0
  22. package/package.json +58 -5
  23. package/src/components/ActionButton.tsx +0 -103
  24. package/src/components/ActionMenuButton.tsx +0 -76
  25. package/src/components/BubbleMenu.tsx +0 -93
  26. package/src/components/CharactorCount.tsx +0 -50
  27. package/src/components/ColorPicker.tsx +0 -272
  28. package/src/components/RichTextEditor.tsx +0 -212
  29. package/src/components/SizeSetter/SizeSetter.tsx +0 -102
  30. package/src/components/Toolbar.tsx +0 -108
  31. package/src/components/icons/Activity.tsx +0 -19
  32. package/src/components/icons/Animas.tsx +0 -24
  33. package/src/components/icons/AspectRatio.tsx +0 -13
  34. package/src/components/icons/Blockquote.tsx +0 -17
  35. package/src/components/icons/ColumnAddLeft.tsx +0 -7
  36. package/src/components/icons/ColumnAddRight.tsx +0 -7
  37. package/src/components/icons/DeleteColumn.tsx +0 -26
  38. package/src/components/icons/DeleteRow.tsx +0 -26
  39. package/src/components/icons/Direction.tsx +0 -7
  40. package/src/components/icons/Excalidraw.tsx +0 -7
  41. package/src/components/icons/ExportPdf.tsx +0 -8
  42. package/src/components/icons/ExportWord.tsx +0 -24
  43. package/src/components/icons/FileWordOutline.tsx +0 -13
  44. package/src/components/icons/Flag.tsx +0 -19
  45. package/src/components/icons/Food.tsx +0 -20
  46. package/src/components/icons/GIfIcon.tsx +0 -10
  47. package/src/components/icons/Icon.tsx +0 -30
  48. package/src/components/icons/ImportWord.tsx +0 -23
  49. package/src/components/icons/LeftToRight.tsx +0 -7
  50. package/src/components/icons/LineHeight.tsx +0 -13
  51. package/src/components/icons/MenuDown.tsx +0 -24
  52. package/src/components/icons/Mermaid.tsx +0 -13
  53. package/src/components/icons/NoFill.tsx +0 -7
  54. package/src/components/icons/Object.tsx +0 -24
  55. package/src/components/icons/RightToLeft.tsx +0 -7
  56. package/src/components/icons/SizeL.tsx +0 -9
  57. package/src/components/icons/SizeM.tsx +0 -13
  58. package/src/components/icons/SizeS.tsx +0 -13
  59. package/src/components/icons/Symbol.tsx +0 -19
  60. package/src/components/icons/Travel.tsx +0 -24
  61. package/src/components/icons/Twitter.tsx +0 -7
  62. package/src/components/icons/icons.ts +0 -212
  63. package/src/components/icons/index.ts +0 -12
  64. package/src/components/index.ts +0 -9
  65. package/src/components/menus/bubble.ts +0 -395
  66. package/src/components/menus/components/BubbleMenuContent.tsx +0 -15
  67. package/src/components/menus/components/BubbleMenuDrawer.tsx +0 -128
  68. package/src/components/menus/components/BubbleMenuExcalidraw.tsx +0 -91
  69. package/src/components/menus/components/BubbleMenuIframe.tsx +0 -143
  70. package/src/components/menus/components/BubbleMenuKatex.tsx +0 -136
  71. package/src/components/menus/components/BubbleMenuLink.tsx +0 -99
  72. package/src/components/menus/components/BubbleMenuMedia.tsx +0 -235
  73. package/src/components/menus/components/BubbleMenuMermaid.tsx +0 -128
  74. package/src/components/menus/components/BubbleMenuText.tsx +0 -102
  75. package/src/components/menus/components/BubbleMenuTwitter.tsx +0 -91
  76. package/src/components/menus/components/ColumnsBubbleMenu.tsx +0 -59
  77. package/src/components/menus/components/ContentMenu.tsx +0 -396
  78. package/src/components/menus/components/TableBubbleMenu.tsx +0 -362
  79. package/src/components/menus/index.ts +0 -7
  80. package/src/components/ui/button.tsx +0 -56
  81. package/src/components/ui/checkbox.tsx +0 -30
  82. package/src/components/ui/dialog.tsx +0 -128
  83. package/src/components/ui/dropdown-menu.tsx +0 -203
  84. package/src/components/ui/emoji-picker.tsx +0 -166
  85. package/src/components/ui/index.ts +0 -14
  86. package/src/components/ui/input.tsx +0 -25
  87. package/src/components/ui/label.tsx +0 -26
  88. package/src/components/ui/popover.tsx +0 -31
  89. package/src/components/ui/select.tsx +0 -162
  90. package/src/components/ui/separator.tsx +0 -31
  91. package/src/components/ui/switch.tsx +0 -29
  92. package/src/components/ui/tabs.tsx +0 -55
  93. package/src/components/ui/textarea.tsx +0 -24
  94. package/src/components/ui/toast.tsx +0 -129
  95. package/src/components/ui/toaster.tsx +0 -44
  96. package/src/components/ui/toggle.tsx +0 -45
  97. package/src/components/ui/tooltip.tsx +0 -30
  98. package/src/components/ui/use-toast.ts +0 -197
  99. package/src/constants/index.ts +0 -223
  100. package/src/constants/resetCSS.ts +0 -139
  101. package/src/extension-bundle.ts +0 -2
  102. package/src/extensions/Attachment/Attachment.ts +0 -144
  103. package/src/extensions/Attachment/components/NodeViewAttachment/FileIcon.tsx +0 -69
  104. package/src/extensions/Attachment/components/NodeViewAttachment/FileIconString.ts +0 -28
  105. package/src/extensions/Attachment/components/NodeViewAttachment/NodeViewAttachment.tsx +0 -155
  106. package/src/extensions/Attachment/components/NodeViewAttachment/index.module.scss +0 -23
  107. package/src/extensions/Attachment/index.ts +0 -1
  108. package/src/extensions/BaseKit.ts +0 -253
  109. package/src/extensions/Blockquote/Blockquote.ts +0 -31
  110. package/src/extensions/Blockquote/index.ts +0 -1
  111. package/src/extensions/Bold/Bold.ts +0 -26
  112. package/src/extensions/Bold/index.ts +0 -1
  113. package/src/extensions/BulletList/BulletList.ts +0 -28
  114. package/src/extensions/BulletList/index.ts +0 -1
  115. package/src/extensions/Clear/Clear.ts +0 -24
  116. package/src/extensions/Clear/index.ts +0 -1
  117. package/src/extensions/Code/Code.ts +0 -26
  118. package/src/extensions/Code/index.ts +0 -1
  119. package/src/extensions/CodeBlock/CodeBlock.ts +0 -54
  120. package/src/extensions/CodeBlock/components/CodeBlockActiveButton.tsx +0 -66
  121. package/src/extensions/CodeBlock/components/NodeViewCodeBlock/NodeViewCodeBlock.tsx +0 -89
  122. package/src/extensions/CodeBlock/components/NodeViewCodeBlock/index.module.scss +0 -81
  123. package/src/extensions/CodeBlock/highlighter.ts +0 -132
  124. package/src/extensions/CodeBlock/index.ts +0 -1
  125. package/src/extensions/CodeBlock/shiki-plugin.ts +0 -213
  126. package/src/extensions/Color/Color.ts +0 -52
  127. package/src/extensions/Color/components/ColorActionButton.tsx +0 -104
  128. package/src/extensions/Color/index.ts +0 -1
  129. package/src/extensions/Document/Document.ts +0 -8
  130. package/src/extensions/Document/index.ts +0 -1
  131. package/src/extensions/Drawer/Drawer.ts +0 -177
  132. package/src/extensions/Drawer/components/ControlDrawer/ControlDrawer.module.scss +0 -85
  133. package/src/extensions/Drawer/components/ControlDrawer/ControlDrawer.tsx +0 -598
  134. package/src/extensions/Drawer/components/ControlDrawer/icon.tsx +0 -500
  135. package/src/extensions/Drawer/components/DrawerActiveButton.tsx +0 -239
  136. package/src/extensions/Drawer/components/EditDrawerBlock.tsx +0 -238
  137. package/src/extensions/Drawer/components/NodeViewDrawer/NodeViewDrawer.tsx +0 -260
  138. package/src/extensions/Drawer/index.ts +0 -1
  139. package/src/extensions/Emoji/Emoji.ts +0 -146
  140. package/src/extensions/Emoji/components/EmojiList/EmojiList.tsx +0 -103
  141. package/src/extensions/Emoji/components/EmojiList/emojis.ts +0 -1858
  142. package/src/extensions/Emoji/components/EmojiPicker/EmojiPicker.tsx +0 -61
  143. package/src/extensions/Emoji/index.ts +0 -1
  144. package/src/extensions/Excalidraw/Excalidraw.ts +0 -123
  145. package/src/extensions/Excalidraw/components/ExcalidrawActiveButton.tsx +0 -138
  146. package/src/extensions/Excalidraw/components/NodeViewExcalidraw/NodeViewExcalidraw.tsx +0 -178
  147. package/src/extensions/Excalidraw/components/NodeViewExcalidraw/index.module.scss +0 -43
  148. package/src/extensions/Excalidraw/index.ts +0 -1
  149. package/src/extensions/ExportPdf/ExportPdf.ts +0 -25
  150. package/src/extensions/ExportPdf/index.ts +0 -1
  151. package/src/extensions/ExportWord/ExportWord.ts +0 -87
  152. package/src/extensions/ExportWord/index.ts +0 -1
  153. package/src/extensions/FontFamily/FontFamily.ts +0 -64
  154. package/src/extensions/FontFamily/components/FontFamilyButton.tsx +0 -97
  155. package/src/extensions/FontFamily/index.ts +0 -1
  156. package/src/extensions/FontSize/FontSize.ts +0 -119
  157. package/src/extensions/FontSize/components/FontSizeMenuButton.tsx +0 -84
  158. package/src/extensions/FontSize/index.ts +0 -1
  159. package/src/extensions/FormatPainter/FormatPainter.ts +0 -121
  160. package/src/extensions/FormatPainter/index.ts +0 -1
  161. package/src/extensions/Heading/Heading.ts +0 -57
  162. package/src/extensions/Heading/components/HeadingButton.tsx +0 -96
  163. package/src/extensions/Heading/index.ts +0 -1
  164. package/src/extensions/Highlight/Highlight.ts +0 -36
  165. package/src/extensions/Highlight/components/HighlightActionButton.tsx +0 -108
  166. package/src/extensions/Highlight/index.ts +0 -1
  167. package/src/extensions/History/History.ts +0 -39
  168. package/src/extensions/History/components/HistoryActionButton.tsx +0 -74
  169. package/src/extensions/History/index.ts +0 -1
  170. package/src/extensions/HorizontalRule/HorizontalRule.ts +0 -42
  171. package/src/extensions/HorizontalRule/index.ts +0 -1
  172. package/src/extensions/Iframe/Iframe.ts +0 -140
  173. package/src/extensions/Iframe/components/IframeNodeView.tsx +0 -92
  174. package/src/extensions/Iframe/components/index.module.scss +0 -40
  175. package/src/extensions/Iframe/embed.ts +0 -487
  176. package/src/extensions/Iframe/index.ts +0 -1
  177. package/src/extensions/Image/Image.ts +0 -303
  178. package/src/extensions/Image/components/ActionImageButton.tsx +0 -186
  179. package/src/extensions/Image/components/ImageCropper.tsx +0 -198
  180. package/src/extensions/Image/components/ImageView.tsx +0 -271
  181. package/src/extensions/Image/index.ts +0 -1
  182. package/src/extensions/Image/store.ts +0 -15
  183. package/src/extensions/ImageGif/ImageGif.ts +0 -176
  184. package/src/extensions/ImageGif/components/ImageGifActionButton.tsx +0 -138
  185. package/src/extensions/ImageGif/components/ImageGifView.tsx +0 -260
  186. package/src/extensions/ImageGif/index.ts +0 -1
  187. package/src/extensions/ImportWord/ImportWord.ts +0 -52
  188. package/src/extensions/ImportWord/components/ImportWordButton.tsx +0 -151
  189. package/src/extensions/ImportWord/index.ts +0 -1
  190. package/src/extensions/Indent/Indent.ts +0 -110
  191. package/src/extensions/Indent/index.ts +0 -1
  192. package/src/extensions/Italic/Italic.ts +0 -29
  193. package/src/extensions/Italic/index.ts +0 -1
  194. package/src/extensions/Katex/Katex.ts +0 -109
  195. package/src/extensions/Katex/components/KatexActiveButton.tsx +0 -117
  196. package/src/extensions/Katex/components/KatexWrapper.tsx +0 -53
  197. package/src/extensions/Katex/index.ts +0 -1
  198. package/src/extensions/LineHeight/LineHeight.ts +0 -76
  199. package/src/extensions/LineHeight/components/LineHeightDropdown.tsx +0 -93
  200. package/src/extensions/LineHeight/index.ts +0 -1
  201. package/src/extensions/Link/Link.ts +0 -92
  202. package/src/extensions/Link/components/LinkEditBlock.tsx +0 -110
  203. package/src/extensions/Link/components/LinkEditPopover.tsx +0 -46
  204. package/src/extensions/Link/components/LinkViewBlock.tsx +0 -54
  205. package/src/extensions/Link/index.ts +0 -1
  206. package/src/extensions/ListItem/ListItem.ts +0 -1
  207. package/src/extensions/ListItem/index.ts +0 -1
  208. package/src/extensions/Mention/Mention.ts +0 -100
  209. package/src/extensions/Mention/components/NodeViewMentionList/NodeViewMentionList.tsx +0 -94
  210. package/src/extensions/Mention/components/NodeViewMentionList/index.module.scss +0 -38
  211. package/src/extensions/Mention/index.ts +0 -1
  212. package/src/extensions/Mermaid/Mermaid.ts +0 -177
  213. package/src/extensions/Mermaid/components/EditMermaidBlock.tsx +0 -155
  214. package/src/extensions/Mermaid/components/MermaidActiveButton.tsx +0 -151
  215. package/src/extensions/Mermaid/components/NodeViewMermaid/NodeViewMermaid.tsx +0 -260
  216. package/src/extensions/Mermaid/index.ts +0 -1
  217. package/src/extensions/MoreMark/MoreMark.ts +0 -102
  218. package/src/extensions/MoreMark/components/ActionMoreButton.tsx +0 -97
  219. package/src/extensions/MoreMark/index.ts +0 -1
  220. package/src/extensions/MultiColumn/Column.ts +0 -36
  221. package/src/extensions/MultiColumn/MultiColumn.ts +0 -111
  222. package/src/extensions/MultiColumn/components/ColumnActionButton.ts +0 -22
  223. package/src/extensions/MultiColumn/index.ts +0 -3
  224. package/src/extensions/OrderedList/OrderedList.ts +0 -28
  225. package/src/extensions/OrderedList/index.ts +0 -1
  226. package/src/extensions/SearchAndReplace/SearchAndReplace.ts +0 -395
  227. package/src/extensions/SearchAndReplace/components/SearchAndReplaceButton.tsx +0 -190
  228. package/src/extensions/SearchAndReplace/index.ts +0 -1
  229. package/src/extensions/Selection/Selection.ts +0 -32
  230. package/src/extensions/Selection/index.ts +0 -1
  231. package/src/extensions/SlashCommand/SlashCommand.ts +0 -255
  232. package/src/extensions/SlashCommand/components/CommandsList.tsx +0 -180
  233. package/src/extensions/SlashCommand/groups.ts +0 -183
  234. package/src/extensions/SlashCommand/index.ts +0 -1
  235. package/src/extensions/SlashCommand/types.ts +0 -24
  236. package/src/extensions/Strike/Strike.ts +0 -26
  237. package/src/extensions/Strike/index.ts +0 -1
  238. package/src/extensions/Subscript/Subscript.ts +0 -88
  239. package/src/extensions/Subscript/index.ts +0 -1
  240. package/src/extensions/Table/Cell.ts +0 -131
  241. package/src/extensions/Table/Header.ts +0 -93
  242. package/src/extensions/Table/Row.ts +0 -8
  243. package/src/extensions/Table/Table.ts +0 -60
  244. package/src/extensions/Table/cell-background.ts +0 -112
  245. package/src/extensions/Table/components/CreateTablePopover.tsx +0 -132
  246. package/src/extensions/Table/components/TableActionButton.tsx +0 -42
  247. package/src/extensions/Table/index.ts +0 -6
  248. package/src/extensions/Table/utils.ts +0 -352
  249. package/src/extensions/TableOfContent/TableOfContent.ts +0 -124
  250. package/src/extensions/TableOfContent/components/NodeViewTableOfContent.tsx +0 -116
  251. package/src/extensions/TableOfContent/components/TableOfContentActionButton.tsx +0 -27
  252. package/src/extensions/TableOfContent/components/index.module.scss +0 -40
  253. package/src/extensions/TableOfContent/index.ts +0 -1
  254. package/src/extensions/TaskList/TaskList.ts +0 -46
  255. package/src/extensions/TaskList/index.ts +0 -1
  256. package/src/extensions/TextAlign/TextAlign.ts +0 -68
  257. package/src/extensions/TextAlign/components/TextAlignMenuButton.tsx +0 -103
  258. package/src/extensions/TextAlign/index.ts +0 -1
  259. package/src/extensions/TextBubble/TextBubble.ts +0 -22
  260. package/src/extensions/TextBubble/components/TextDropdown.tsx +0 -146
  261. package/src/extensions/TextBubble/index.ts +0 -1
  262. package/src/extensions/TextDirection/TextDirection.ts +0 -97
  263. package/src/extensions/TextDirection/components/TextDirectionButton.tsx +0 -103
  264. package/src/extensions/TextDirection/index.ts +0 -1
  265. package/src/extensions/TrailingNode/TrailingNode.ts +0 -71
  266. package/src/extensions/TrailingNode/index.ts +0 -1
  267. package/src/extensions/Twitter/Twitter.ts +0 -161
  268. package/src/extensions/Twitter/components/FormEditLinkTwitter.tsx +0 -68
  269. package/src/extensions/Twitter/components/NodeViewTweet.tsx +0 -30
  270. package/src/extensions/Twitter/components/TwitterActiveButton.tsx +0 -41
  271. package/src/extensions/Twitter/index.ts +0 -1
  272. package/src/extensions/UnderLine/Underline.ts +0 -30
  273. package/src/extensions/UnderLine/index.ts +0 -1
  274. package/src/extensions/Video/Video.ts +0 -204
  275. package/src/extensions/Video/components/ActiveVideoButton.tsx +0 -191
  276. package/src/extensions/Video/index.ts +0 -1
  277. package/src/extensions/Video/store.ts +0 -15
  278. package/src/extensions/index.ts +0 -122
  279. package/src/hooks/useActive.tsx +0 -24
  280. package/src/hooks/useAttributes.tsx +0 -45
  281. package/src/hooks/useCopy.tsx +0 -20
  282. package/src/hooks/useEditorState.tsx +0 -23
  283. package/src/hooks/useExtension.tsx +0 -29
  284. package/src/index.ts +0 -8
  285. package/src/lib/utils.ts +0 -7
  286. package/src/locale-bundle.ts +0 -3
  287. package/src/locales/en.ts +0 -173
  288. package/src/locales/hu.ts +0 -173
  289. package/src/locales/index.tsx +0 -163
  290. package/src/locales/pt-br.ts +0 -173
  291. package/src/locales/vi.ts +0 -173
  292. package/src/locales/zh-cn.ts +0 -173
  293. package/src/plugins/DragHandle/index.ts +0 -375
  294. package/src/plugins/DragHandle/range.ts +0 -114
  295. package/src/plugins/DragHandle/utils.ts +0 -80
  296. package/src/plugins/image-upload.ts +0 -160
  297. package/src/store/ProviderRichText.tsx +0 -53
  298. package/src/store/editableEditor.ts +0 -15
  299. package/src/store/fast-context.tsx +0 -70
  300. package/src/store/store.ts +0 -35
  301. package/src/styles/ProseMirror.scss +0 -176
  302. package/src/styles/columns.scss +0 -23
  303. package/src/styles/editor.scss +0 -411
  304. package/src/styles/global.scss +0 -87
  305. package/src/styles/index.scss +0 -5
  306. package/src/styles/mention.scss +0 -6
  307. package/src/theme/theme.ts +0 -15
  308. package/src/types.ts +0 -271
  309. package/src/utils/_event.ts +0 -55
  310. package/src/utils/color.ts +0 -67
  311. package/src/utils/columns.ts +0 -142
  312. package/src/utils/customEvents/customEvents.ts +0 -18
  313. package/src/utils/customEvents/events.constant.ts +0 -11
  314. package/src/utils/delete-node.ts +0 -46
  315. package/src/utils/dom-dataset.ts +0 -121
  316. package/src/utils/download.ts +0 -17
  317. package/src/utils/dynamicCSS.ts +0 -192
  318. package/src/utils/editor-container-size.ts +0 -28
  319. package/src/utils/file.ts +0 -112
  320. package/src/utils/getRenderContainer.ts +0 -41
  321. package/src/utils/indent.ts +0 -99
  322. package/src/utils/is-mobile.ts +0 -57
  323. package/src/utils/json.ts +0 -18
  324. package/src/utils/line-height.ts +0 -109
  325. package/src/utils/lru-cache.ts +0 -145
  326. package/src/utils/mitt.ts +0 -114
  327. package/src/utils/node.ts +0 -92
  328. package/src/utils/pdf.ts +0 -72
  329. package/src/utils/plateform.ts +0 -49
  330. package/src/utils/shortId.ts +0 -5
  331. package/src/utils/storage.ts +0 -18
  332. package/src/utils/utils.ts +0 -71
  333. package/src/vite-env.d.ts +0 -3
@@ -0,0 +1,1140 @@
1
+ export declare const en: {
2
+ 'editor.remove': string;
3
+ 'editor.copy': string;
4
+ 'editor.words': string;
5
+ 'editor.characters': string;
6
+ 'editor.default': string;
7
+ 'editor.recent': string;
8
+ 'editor.nofill': string;
9
+ 'editor.format': string;
10
+ 'editor.delete': string;
11
+ 'editor.edit': string;
12
+ 'editor.settings': string;
13
+ 'editor.table_of_content': string;
14
+ 'editor.draghandle.tooltip': string;
15
+ 'editor.copyToClipboard': string;
16
+ 'editor.slash': string;
17
+ 'editor.slash.empty': string;
18
+ 'editor.slash.format': string;
19
+ 'editor.slash.insert': string;
20
+ 'editor.slash.embed': string;
21
+ 'editor.content': string;
22
+ 'editor.fontFamily.tooltip': string;
23
+ 'editor.fontFamily.default.tooltip': string;
24
+ 'editor.moremark': string;
25
+ 'editor.size.small.tooltip': string;
26
+ 'editor.size.medium.tooltip': string;
27
+ 'editor.size.large.tooltip': string;
28
+ 'editor.bold.tooltip': string;
29
+ 'editor.italic.tooltip': string;
30
+ 'editor.underline.tooltip': string;
31
+ 'editor.strike.tooltip': string;
32
+ 'editor.color.tooltip': string;
33
+ 'editor.color.more': string;
34
+ 'editor.highlight.tooltip': string;
35
+ 'editor.lineheight.tooltip': string;
36
+ 'editor.heading.tooltip': string;
37
+ 'editor.heading.h1.tooltip': string;
38
+ 'editor.heading.h2.tooltip': string;
39
+ 'editor.heading.h3.tooltip': string;
40
+ 'editor.heading.h4.tooltip': string;
41
+ 'editor.heading.h5.tooltip': string;
42
+ 'editor.heading.h6.tooltip': string;
43
+ 'editor.paragraph.tooltip': string;
44
+ 'editor.textalign.tooltip': string;
45
+ 'editor.textalign.left.tooltip': string;
46
+ 'editor.textalign.center.tooltip': string;
47
+ 'editor.textalign.right.tooltip': string;
48
+ 'editor.textalign.justify.tooltip': string;
49
+ 'editor.indent': string;
50
+ 'editor.indent.indent': string;
51
+ 'editor.indent.outdent': string;
52
+ 'editor.fontSize.tooltip': string;
53
+ 'editor.fontSize.default.tooltip': string;
54
+ 'editor.superscript.tooltip': string;
55
+ 'editor.subscript.tooltip': string;
56
+ 'editor.bulletlist.tooltip': string;
57
+ 'editor.orderedlist.tooltip': string;
58
+ 'editor.tasklist.tooltip': string;
59
+ 'editor.indent.tooltip': string;
60
+ 'editor.outdent.tooltip': string;
61
+ 'editor.columns.tooltip': string;
62
+ 'editor.link.tooltip': string;
63
+ 'editor.link.unlink.tooltip': string;
64
+ 'editor.link.open.tooltip': string;
65
+ 'editor.link.edit.tooltip': string;
66
+ 'editor.link.dialog.title': string;
67
+ 'editor.link.dialog.link': string;
68
+ 'editor.link.dialog.text': string;
69
+ 'editor.link.dialog.openInNewTab': string;
70
+ 'editor.link.dialog.link.placeholder': string;
71
+ 'editor.link.dialog.text.placeholder': string;
72
+ 'editor.link.dialog.button.apply': string;
73
+ 'editor.image.tooltip': string;
74
+ 'editor.image.dragger.tooltip': string;
75
+ 'editor.image.float.left.tooltip': string;
76
+ 'editor.image.float.none.tooltip': string;
77
+ 'editor.image.float.right.tooltip': string;
78
+ 'editor.image.dialog.title': string;
79
+ 'editor.image.dialog.tab.url': string;
80
+ 'editor.image.dialog.tab.upload': string;
81
+ 'editor.image.dialog.tab.uploadCrop': string;
82
+ 'editor.image.dialog.uploading': string;
83
+ 'editor.link.dialog.inline': string;
84
+ 'editor.image.dialog.form.link': string;
85
+ 'editor.image.dialog.placeholder': string;
86
+ 'editor.image.dialog.form.alt': string;
87
+ 'editor.image.dialog.form.aspectRatio': string;
88
+ 'editor.image.dialog.form.file': string;
89
+ 'editor.image.dialog.button.apply': string;
90
+ 'editor.video.tooltip': string;
91
+ 'editor.video.dialog.tab.upload': string;
92
+ 'editor.video.dialog.uploading': string;
93
+ 'editor.video.dialog.title': string;
94
+ 'editor.video.dialog.link': string;
95
+ 'editor.video.dialog.placeholder': string;
96
+ 'editor.video.dialog.button.apply': string;
97
+ 'editor.table.tooltip': string;
98
+ 'editor.table.menu.insert_table': string;
99
+ 'editor.table.menu.insert_table.with_header_row': string;
100
+ 'editor.table.menu.add_column_before': string;
101
+ 'editor.table.menu.add_column_after': string;
102
+ 'editor.table.menu.delete_column': string;
103
+ 'editor.table.menu.add_row_before': string;
104
+ 'editor.table.menu.add_row_after': string;
105
+ 'editor.table.menu.delete_row': string;
106
+ 'editor.table.menu.merge_or_split_cells': string;
107
+ 'editor.table.menu.delete_table': string;
108
+ 'editor.blockquote.tooltip': string;
109
+ 'editor.horizontalrule.tooltip': string;
110
+ 'editor.code.tooltip': string;
111
+ 'editor.codeblock.tooltip': string;
112
+ 'editor.clear.tooltip': string;
113
+ 'editor.undo.tooltip': string;
114
+ 'editor.redo.tooltip': string;
115
+ 'editor.fullscreen.tooltip.fullscreen': string;
116
+ 'editor.fullscreen.tooltip.exit': string;
117
+ 'editor.imageUpload.cancel': string;
118
+ 'editor.imageUpload.crop': string;
119
+ 'editor.imageUpload.fileTypeNotSupported': string;
120
+ 'editor.imageUpload.fileSizeTooBig': string;
121
+ 'editor.table.menu.insertColumnBefore': string;
122
+ 'editor.table.menu.insertColumnAfter': string;
123
+ 'editor.table.menu.deleteColumn': string;
124
+ 'editor.table.menu.insertRowAbove': string;
125
+ 'editor.table.menu.insertRowBelow': string;
126
+ 'editor.table.menu.deleteRow': string;
127
+ 'editor.table.menu.mergeCells': string;
128
+ 'editor.table.menu.splitCells': string;
129
+ 'editor.table.menu.deleteTable': string;
130
+ 'editor.table.menu.setCellsBgColor': string;
131
+ 'editor.emoji.tooltip': string;
132
+ 'editor.iframe.tooltip': string;
133
+ 'editor.searchAndReplace.tooltip': string;
134
+ 'editor.search.dialog.text': string;
135
+ 'editor.replace.dialog.text': string;
136
+ 'editor.replaceAll.dialog.text': string;
137
+ 'editor.previous.dialog.text': string;
138
+ 'editor.next.dialog.text': string;
139
+ no_result_found: string;
140
+ 'Smileys & People': string;
141
+ 'Animals & Nature': string;
142
+ 'Food & Drink': string;
143
+ Activity: string;
144
+ 'Travel & Places': string;
145
+ Object: string;
146
+ Symbol: string;
147
+ Flags: string;
148
+ 'Frequently used': string;
149
+ 'editor.formula.dialog.text': string;
150
+ 'editor.katex.tooltip': string;
151
+ 'editor.exportPdf.tooltip': string;
152
+ 'editor.exportWord.tooltip': string;
153
+ 'editor.importWord.tooltip': string;
154
+ 'editor.importWord.limitSize': string;
155
+ 'editor.importWord.converting': string;
156
+ 'editor.importWord.convertError': string;
157
+ 'editor.importWord.importError': string;
158
+ 'editor.textDirection.tooltip': string;
159
+ 'editor.textDirection.auto.tooltip': string;
160
+ 'editor.textDirection.ltr.tooltip': string;
161
+ 'editor.textDirection.rtl.tooltip': string;
162
+ 'editor.attachment.tooltip': string;
163
+ 'editor.attachment.uploading': string;
164
+ 'editor.attachment.please_upload': string;
165
+ 'editor.imageGif.tooltip': string;
166
+ 'editor.replace.caseSensitive': string;
167
+ 'editor.mermaid.tooltip': string;
168
+ 'editor.twitter.tooltip': string;
169
+ 'editor.tooltip.flipX': string;
170
+ 'editor.tooltip.flipY': string;
171
+ };
172
+
173
+ export declare const hu_HU: {
174
+ 'editor.remove': string;
175
+ 'editor.copy': string;
176
+ 'editor.words': string;
177
+ 'editor.characters': string;
178
+ 'editor.default': string;
179
+ 'editor.recent': string;
180
+ 'editor.nofill': string;
181
+ 'editor.format': string;
182
+ 'editor.delete': string;
183
+ 'editor.edit': string;
184
+ 'editor.settings': string;
185
+ 'editor.table_of_content': string;
186
+ 'editor.draghandle.tooltip': string;
187
+ 'editor.copyToClipboard': string;
188
+ 'editor.slash': string;
189
+ 'editor.slash.empty': string;
190
+ 'editor.slash.format': string;
191
+ 'editor.slash.insert': string;
192
+ 'editor.slash.embed': string;
193
+ 'editor.content': string;
194
+ 'editor.fontFamily.tooltip': string;
195
+ 'editor.fontFamily.default.tooltip': string;
196
+ 'editor.moremark': string;
197
+ 'editor.size.small.tooltip': string;
198
+ 'editor.size.medium.tooltip': string;
199
+ 'editor.size.large.tooltip': string;
200
+ 'editor.bold.tooltip': string;
201
+ 'editor.italic.tooltip': string;
202
+ 'editor.underline.tooltip': string;
203
+ 'editor.strike.tooltip': string;
204
+ 'editor.color.tooltip': string;
205
+ 'editor.color.more': string;
206
+ 'editor.highlight.tooltip': string;
207
+ 'editor.lineheight.tooltip': string;
208
+ 'editor.heading.tooltip': string;
209
+ 'editor.heading.h1.tooltip': string;
210
+ 'editor.heading.h2.tooltip': string;
211
+ 'editor.heading.h3.tooltip': string;
212
+ 'editor.heading.h4.tooltip': string;
213
+ 'editor.heading.h5.tooltip': string;
214
+ 'editor.heading.h6.tooltip': string;
215
+ 'editor.paragraph.tooltip': string;
216
+ 'editor.textalign.tooltip': string;
217
+ 'editor.textalign.left.tooltip': string;
218
+ 'editor.textalign.center.tooltip': string;
219
+ 'editor.textalign.right.tooltip': string;
220
+ 'editor.textalign.justify.tooltip': string;
221
+ 'editor.indent': string;
222
+ 'editor.indent.indent': string;
223
+ 'editor.indent.outdent': string;
224
+ 'editor.fontSize.tooltip': string;
225
+ 'editor.fontSize.default.tooltip': string;
226
+ 'editor.superscript.tooltip': string;
227
+ 'editor.subscript.tooltip': string;
228
+ 'editor.bulletlist.tooltip': string;
229
+ 'editor.orderedlist.tooltip': string;
230
+ 'editor.tasklist.tooltip': string;
231
+ 'editor.indent.tooltip': string;
232
+ 'editor.outdent.tooltip': string;
233
+ 'editor.columns.tooltip': string;
234
+ 'editor.link.tooltip': string;
235
+ 'editor.link.unlink.tooltip': string;
236
+ 'editor.link.open.tooltip': string;
237
+ 'editor.link.edit.tooltip': string;
238
+ 'editor.link.dialog.title': string;
239
+ 'editor.link.dialog.link': string;
240
+ 'editor.link.dialog.text': string;
241
+ 'editor.link.dialog.openInNewTab': string;
242
+ 'editor.link.dialog.link.placeholder': string;
243
+ 'editor.link.dialog.text.placeholder': string;
244
+ 'editor.link.dialog.button.apply': string;
245
+ 'editor.image.tooltip': string;
246
+ 'editor.image.dragger.tooltip': string;
247
+ 'editor.image.float.left.tooltip': string;
248
+ 'editor.image.float.none.tooltip': string;
249
+ 'editor.image.float.right.tooltip': string;
250
+ 'editor.image.dialog.title': string;
251
+ 'editor.image.dialog.tab.url': string;
252
+ 'editor.image.dialog.tab.upload': string;
253
+ 'editor.image.dialog.tab.uploadCrop': string;
254
+ 'editor.image.dialog.uploading': string;
255
+ 'editor.link.dialog.inline': string;
256
+ 'editor.image.dialog.form.link': string;
257
+ 'editor.image.dialog.placeholder': string;
258
+ 'editor.image.dialog.form.alt': string;
259
+ 'editor.image.dialog.form.aspectRatio': string;
260
+ 'editor.image.dialog.form.file': string;
261
+ 'editor.image.dialog.button.apply': string;
262
+ 'editor.video.tooltip': string;
263
+ 'editor.video.dialog.tab.upload': string;
264
+ 'editor.video.dialog.uploading': string;
265
+ 'editor.video.dialog.title': string;
266
+ 'editor.video.dialog.link': string;
267
+ 'editor.video.dialog.placeholder': string;
268
+ 'editor.video.dialog.button.apply': string;
269
+ 'editor.table.tooltip': string;
270
+ 'editor.table.menu.insert_table': string;
271
+ 'editor.table.menu.insert_table.with_header_row': string;
272
+ 'editor.table.menu.add_column_before': string;
273
+ 'editor.table.menu.add_column_after': string;
274
+ 'editor.table.menu.delete_column': string;
275
+ 'editor.table.menu.add_row_before': string;
276
+ 'editor.table.menu.add_row_after': string;
277
+ 'editor.table.menu.delete_row': string;
278
+ 'editor.table.menu.merge_or_split_cells': string;
279
+ 'editor.table.menu.delete_table': string;
280
+ 'editor.blockquote.tooltip': string;
281
+ 'editor.horizontalrule.tooltip': string;
282
+ 'editor.code.tooltip': string;
283
+ 'editor.codeblock.tooltip': string;
284
+ 'editor.clear.tooltip': string;
285
+ 'editor.undo.tooltip': string;
286
+ 'editor.redo.tooltip': string;
287
+ 'editor.fullscreen.tooltip.fullscreen': string;
288
+ 'editor.fullscreen.tooltip.exit': string;
289
+ 'editor.imageUpload.cancel': string;
290
+ 'editor.imageUpload.crop': string;
291
+ 'editor.imageUpload.fileTypeNotSupported': string;
292
+ 'editor.imageUpload.fileSizeTooBig': string;
293
+ 'editor.table.menu.insertColumnBefore': string;
294
+ 'editor.table.menu.insertColumnAfter': string;
295
+ 'editor.table.menu.deleteColumn': string;
296
+ 'editor.table.menu.insertRowAbove': string;
297
+ 'editor.table.menu.insertRowBelow': string;
298
+ 'editor.table.menu.deleteRow': string;
299
+ 'editor.table.menu.mergeCells': string;
300
+ 'editor.table.menu.splitCells': string;
301
+ 'editor.table.menu.deleteTable': string;
302
+ 'editor.table.menu.setCellsBgColor': string;
303
+ 'editor.emoji.tooltip': string;
304
+ 'editor.iframe.tooltip': string;
305
+ 'editor.searchAndReplace.tooltip': string;
306
+ 'editor.search.dialog.text': string;
307
+ 'editor.replace.dialog.text': string;
308
+ 'editor.replaceAll.dialog.text': string;
309
+ 'editor.previous.dialog.text': string;
310
+ 'editor.next.dialog.text': string;
311
+ no_result_found: string;
312
+ 'Smileys & People': string;
313
+ 'Animals & Nature': string;
314
+ 'Food & Drink': string;
315
+ Activity: string;
316
+ 'Travel & Places': string;
317
+ Object: string;
318
+ Symbol: string;
319
+ Flags: string;
320
+ 'Frequently used': string;
321
+ 'editor.formula.dialog.text': string;
322
+ 'editor.katex.tooltip': string;
323
+ 'editor.exportPdf.tooltip': string;
324
+ 'editor.exportWord.tooltip': string;
325
+ 'editor.importWord.tooltip': string;
326
+ 'editor.importWord.limitSize': string;
327
+ 'editor.importWord.converting': string;
328
+ 'editor.importWord.convertError': string;
329
+ 'editor.importWord.importError': string;
330
+ 'editor.textDirection.tooltip': string;
331
+ 'editor.textDirection.auto.tooltip': string;
332
+ 'editor.textDirection.ltr.tooltip': string;
333
+ 'editor.textDirection.rtl.tooltip': string;
334
+ 'editor.attachment.tooltip': string;
335
+ 'editor.attachment.uploading': string;
336
+ 'editor.attachment.please_upload': string;
337
+ 'editor.imageGif.tooltip': string;
338
+ 'editor.replace.caseSensitive': string;
339
+ 'editor.mermaid.tooltip': string;
340
+ 'editor.twitter.tooltip': string;
341
+ 'editor.tooltip.flipX': string;
342
+ 'editor.tooltip.flipY': string;
343
+ };
344
+
345
+ declare type LanguageType = 'en' | 'hu_HU' | 'vi' | 'zh_CN' | 'pt_BR' | (string & {});
346
+
347
+ declare class Locale {
348
+ private emitter;
349
+ constructor();
350
+ get lang(): LanguageType;
351
+ set lang(lang: LanguageType);
352
+ get message(): Record<LanguageType, Record<MessageKeysType, string>>;
353
+ set message(message: Record<LanguageType, Record<MessageKeysType, string>>);
354
+ loadLangMessage(lang: LanguageType): Record<MessageKeysType, string>;
355
+ private isLangSupported;
356
+ setLang(lang: LanguageType): void;
357
+ registerWatchLang(hook: (lang: LanguageType) => void): {
358
+ unsubscribe: () => void;
359
+ };
360
+ setMessage(lang: string, message: Record<MessageKeysType, string>): void;
361
+ buildLocalesHandler(lang?: LanguageType): (path: MessageKeysType) => string;
362
+ }
363
+
364
+ export declare const locale: Locale;
365
+
366
+ declare type MessageKeysType = keyof typeof en;
367
+
368
+ export declare const pt_BR: {
369
+ 'editor.remove': string;
370
+ 'editor.copy': string;
371
+ 'editor.words': string;
372
+ 'editor.characters': string;
373
+ 'editor.default': string;
374
+ 'editor.recent': string;
375
+ 'editor.nofill': string;
376
+ 'editor.format': string;
377
+ 'editor.delete': string;
378
+ 'editor.edit': string;
379
+ 'editor.settings': string;
380
+ 'editor.table_of_content': string;
381
+ 'editor.draghandle.tooltip': string;
382
+ 'editor.copyToClipboard': string;
383
+ 'editor.slash': string;
384
+ 'editor.slash.empty': string;
385
+ 'editor.slash.format': string;
386
+ 'editor.slash.insert': string;
387
+ 'editor.slash.embed': string;
388
+ 'editor.content': string;
389
+ 'editor.fontFamily.tooltip': string;
390
+ 'editor.fontFamily.default.tooltip': string;
391
+ 'editor.moremark': string;
392
+ 'editor.size.small.tooltip': string;
393
+ 'editor.size.medium.tooltip': string;
394
+ 'editor.size.large.tooltip': string;
395
+ 'editor.bold.tooltip': string;
396
+ 'editor.italic.tooltip': string;
397
+ 'editor.underline.tooltip': string;
398
+ 'editor.strike.tooltip': string;
399
+ 'editor.color.tooltip': string;
400
+ 'editor.color.more': string;
401
+ 'editor.highlight.tooltip': string;
402
+ 'editor.lineheight.tooltip': string;
403
+ 'editor.heading.tooltip': string;
404
+ 'editor.heading.h1.tooltip': string;
405
+ 'editor.heading.h2.tooltip': string;
406
+ 'editor.heading.h3.tooltip': string;
407
+ 'editor.heading.h4.tooltip': string;
408
+ 'editor.heading.h5.tooltip': string;
409
+ 'editor.heading.h6.tooltip': string;
410
+ 'editor.paragraph.tooltip': string;
411
+ 'editor.textalign.tooltip': string;
412
+ 'editor.textalign.left.tooltip': string;
413
+ 'editor.textalign.center.tooltip': string;
414
+ 'editor.textalign.right.tooltip': string;
415
+ 'editor.textalign.justify.tooltip': string;
416
+ 'editor.indent': string;
417
+ 'editor.indent.indent': string;
418
+ 'editor.indent.outdent': string;
419
+ 'editor.fontSize.tooltip': string;
420
+ 'editor.fontSize.default.tooltip': string;
421
+ 'editor.superscript.tooltip': string;
422
+ 'editor.subscript.tooltip': string;
423
+ 'editor.bulletlist.tooltip': string;
424
+ 'editor.orderedlist.tooltip': string;
425
+ 'editor.tasklist.tooltip': string;
426
+ 'editor.indent.tooltip': string;
427
+ 'editor.outdent.tooltip': string;
428
+ 'editor.columns.tooltip': string;
429
+ 'editor.link.tooltip': string;
430
+ 'editor.link.unlink.tooltip': string;
431
+ 'editor.link.open.tooltip': string;
432
+ 'editor.link.edit.tooltip': string;
433
+ 'editor.link.dialog.title': string;
434
+ 'editor.link.dialog.link': string;
435
+ 'editor.link.dialog.text': string;
436
+ 'editor.link.dialog.openInNewTab': string;
437
+ 'editor.link.dialog.link.placeholder': string;
438
+ 'editor.link.dialog.text.placeholder': string;
439
+ 'editor.link.dialog.button.apply': string;
440
+ 'editor.image.tooltip': string;
441
+ 'editor.image.dragger.tooltip': string;
442
+ 'editor.image.float.left.tooltip': string;
443
+ 'editor.image.float.none.tooltip': string;
444
+ 'editor.image.float.right.tooltip': string;
445
+ 'editor.image.dialog.title': string;
446
+ 'editor.image.dialog.tab.url': string;
447
+ 'editor.image.dialog.tab.upload': string;
448
+ 'editor.link.dialog.inline': string;
449
+ 'editor.image.dialog.tab.uploadCrop': string;
450
+ 'editor.image.dialog.uploading': string;
451
+ 'editor.image.dialog.form.link': string;
452
+ 'editor.image.dialog.placeholder': string;
453
+ 'editor.image.dialog.form.alt': string;
454
+ 'editor.image.dialog.form.aspectRatio': string;
455
+ 'editor.image.dialog.form.file': string;
456
+ 'editor.image.dialog.button.apply': string;
457
+ 'editor.video.tooltip': string;
458
+ 'editor.video.dialog.tab.upload': string;
459
+ 'editor.video.dialog.uploading': string;
460
+ 'editor.video.dialog.title': string;
461
+ 'editor.video.dialog.link': string;
462
+ 'editor.video.dialog.placeholder': string;
463
+ 'editor.video.dialog.button.apply': string;
464
+ 'editor.table.tooltip': string;
465
+ 'editor.table.menu.insert_table': string;
466
+ 'editor.table.menu.insert_table.with_header_row': string;
467
+ 'editor.table.menu.add_column_before': string;
468
+ 'editor.table.menu.add_column_after': string;
469
+ 'editor.table.menu.delete_column': string;
470
+ 'editor.table.menu.add_row_before': string;
471
+ 'editor.table.menu.add_row_after': string;
472
+ 'editor.table.menu.delete_row': string;
473
+ 'editor.table.menu.merge_or_split_cells': string;
474
+ 'editor.table.menu.delete_table': string;
475
+ 'editor.blockquote.tooltip': string;
476
+ 'editor.horizontalrule.tooltip': string;
477
+ 'editor.code.tooltip': string;
478
+ 'editor.codeblock.tooltip': string;
479
+ 'editor.clear.tooltip': string;
480
+ 'editor.undo.tooltip': string;
481
+ 'editor.redo.tooltip': string;
482
+ 'editor.fullscreen.tooltip.fullscreen': string;
483
+ 'editor.fullscreen.tooltip.exit': string;
484
+ 'editor.imageUpload.cancel': string;
485
+ 'editor.imageUpload.crop': string;
486
+ 'editor.imageUpload.fileTypeNotSupported': string;
487
+ 'editor.imageUpload.fileSizeTooBig': string;
488
+ 'editor.table.menu.insertColumnBefore': string;
489
+ 'editor.table.menu.insertColumnAfter': string;
490
+ 'editor.table.menu.deleteColumn': string;
491
+ 'editor.table.menu.insertRowAbove': string;
492
+ 'editor.table.menu.insertRowBelow': string;
493
+ 'editor.table.menu.deleteRow': string;
494
+ 'editor.table.menu.mergeCells': string;
495
+ 'editor.table.menu.splitCells': string;
496
+ 'editor.table.menu.deleteTable': string;
497
+ 'editor.table.menu.setCellsBgColor': string;
498
+ 'editor.emoji.tooltip': string;
499
+ 'editor.iframe.tooltip': string;
500
+ 'editor.searchAndReplace.tooltip': string;
501
+ 'editor.search.dialog.text': string;
502
+ 'editor.replace.dialog.text': string;
503
+ 'editor.replaceAll.dialog.text': string;
504
+ 'editor.previous.dialog.text': string;
505
+ 'editor.next.dialog.text': string;
506
+ no_result_found: string;
507
+ 'Smileys & People': string;
508
+ 'Animals & Nature': string;
509
+ 'Food & Drink': string;
510
+ Activity: string;
511
+ 'Travel & Places': string;
512
+ Object: string;
513
+ Symbol: string;
514
+ Flags: string;
515
+ 'Frequently used': string;
516
+ 'editor.formula.dialog.text': string;
517
+ 'editor.katex.tooltip': string;
518
+ 'editor.exportPdf.tooltip': string;
519
+ 'editor.exportWord.tooltip': string;
520
+ 'editor.importWord.tooltip': string;
521
+ 'editor.importWord.limitSize': string;
522
+ 'editor.importWord.converting': string;
523
+ 'editor.importWord.convertError': string;
524
+ 'editor.importWord.importError': string;
525
+ 'editor.textDirection.tooltip': string;
526
+ 'editor.textDirection.auto.tooltip': string;
527
+ 'editor.textDirection.ltr.tooltip': string;
528
+ 'editor.textDirection.rtl.tooltip': string;
529
+ 'editor.attachment.tooltip': string;
530
+ 'editor.attachment.uploading': string;
531
+ 'editor.attachment.please_upload': string;
532
+ 'editor.imageGif.tooltip': string;
533
+ 'editor.replace.caseSensitive': string;
534
+ 'editor.mermaid.tooltip': string;
535
+ 'editor.twitter.tooltip': string;
536
+ 'editor.tooltip.flipX': string;
537
+ 'editor.tooltip.flipY': string;
538
+ };
539
+
540
+ export declare const vi: {
541
+ 'editor.remove': string;
542
+ 'editor.copy': string;
543
+ 'editor.words': string;
544
+ 'editor.characters': string;
545
+ 'editor.default': string;
546
+ 'editor.recent': string;
547
+ 'editor.nofill': string;
548
+ 'editor.format': string;
549
+ 'editor.delete': string;
550
+ 'editor.edit': string;
551
+ 'editor.settings': string;
552
+ 'editor.table_of_content': string;
553
+ 'editor.draghandle.tooltip': string;
554
+ 'editor.copyToClipboard': string;
555
+ 'editor.slash': string;
556
+ 'editor.slash.empty': string;
557
+ 'editor.slash.format': string;
558
+ 'editor.slash.insert': string;
559
+ 'editor.slash.embed': string;
560
+ 'editor.content': string;
561
+ 'editor.moremark': string;
562
+ 'editor.size.small.tooltip': string;
563
+ 'editor.fontFamily.tooltip': string;
564
+ 'editor.fontFamily.default.tooltip': string;
565
+ 'editor.size.medium.tooltip': string;
566
+ 'editor.size.large.tooltip': string;
567
+ 'editor.bold.tooltip': string;
568
+ 'editor.italic.tooltip': string;
569
+ 'editor.underline.tooltip': string;
570
+ 'editor.strike.tooltip': string;
571
+ 'editor.color.tooltip': string;
572
+ 'editor.color.more': string;
573
+ 'editor.highlight.tooltip': string;
574
+ 'editor.lineheight.tooltip': string;
575
+ 'editor.heading.tooltip': string;
576
+ 'editor.heading.h1.tooltip': string;
577
+ 'editor.heading.h2.tooltip': string;
578
+ 'editor.heading.h3.tooltip': string;
579
+ 'editor.heading.h4.tooltip': string;
580
+ 'editor.heading.h5.tooltip': string;
581
+ 'editor.heading.h6.tooltip': string;
582
+ 'editor.paragraph.tooltip': string;
583
+ 'editor.textalign.tooltip': string;
584
+ 'editor.textalign.left.tooltip': string;
585
+ 'editor.textalign.center.tooltip': string;
586
+ 'editor.textalign.right.tooltip': string;
587
+ 'editor.textalign.justify.tooltip': string;
588
+ 'editor.indent': string;
589
+ 'editor.indent.indent': string;
590
+ 'editor.indent.outdent': string;
591
+ 'editor.fontSize.tooltip': string;
592
+ 'editor.fontSize.default.tooltip': string;
593
+ 'editor.superscript.tooltip': string;
594
+ 'editor.subscript.tooltip': string;
595
+ 'editor.bulletlist.tooltip': string;
596
+ 'editor.orderedlist.tooltip': string;
597
+ 'editor.tasklist.tooltip': string;
598
+ 'editor.indent.tooltip': string;
599
+ 'editor.outdent.tooltip': string;
600
+ 'editor.columns.tooltip': string;
601
+ 'editor.link.tooltip': string;
602
+ 'editor.link.unlink.tooltip': string;
603
+ 'editor.link.open.tooltip': string;
604
+ 'editor.link.edit.tooltip': string;
605
+ 'editor.link.dialog.title': string;
606
+ 'editor.link.dialog.link': string;
607
+ 'editor.link.dialog.text': string;
608
+ 'editor.link.dialog.openInNewTab': string;
609
+ 'editor.link.dialog.link.placeholder': string;
610
+ 'editor.link.dialog.text.placeholder': string;
611
+ 'editor.link.dialog.button.apply': string;
612
+ 'editor.image.tooltip': string;
613
+ 'editor.image.dragger.tooltip': string;
614
+ 'editor.image.float.left.tooltip': string;
615
+ 'editor.image.float.none.tooltip': string;
616
+ 'editor.image.float.right.tooltip': string;
617
+ 'editor.image.dialog.title': string;
618
+ 'editor.image.dialog.tab.url': string;
619
+ 'editor.image.dialog.tab.upload': string;
620
+ 'editor.link.dialog.inline': string;
621
+ 'editor.image.dialog.tab.uploadCrop': string;
622
+ 'editor.image.dialog.uploading': string;
623
+ 'editor.image.dialog.form.link': string;
624
+ 'editor.image.dialog.placeholder': string;
625
+ 'editor.image.dialog.form.alt': string;
626
+ 'editor.image.dialog.form.aspectRatio': string;
627
+ 'editor.image.dialog.form.file': string;
628
+ 'editor.image.dialog.button.apply': string;
629
+ 'editor.video.tooltip': string;
630
+ 'editor.video.dialog.tab.upload': string;
631
+ 'editor.video.dialog.uploading': string;
632
+ 'editor.video.dialog.title': string;
633
+ 'editor.video.dialog.link': string;
634
+ 'editor.video.dialog.placeholder': string;
635
+ 'editor.video.dialog.button.apply': string;
636
+ 'editor.table.tooltip': string;
637
+ 'editor.table.menu.insert_table': string;
638
+ 'editor.table.menu.insert_table.with_header_row': string;
639
+ 'editor.table.menu.add_column_before': string;
640
+ 'editor.table.menu.add_column_after': string;
641
+ 'editor.table.menu.delete_column': string;
642
+ 'editor.table.menu.add_row_before': string;
643
+ 'editor.table.menu.add_row_after': string;
644
+ 'editor.table.menu.delete_row': string;
645
+ 'editor.table.menu.merge_or_split_cells': string;
646
+ 'editor.table.menu.delete_table': string;
647
+ 'editor.blockquote.tooltip': string;
648
+ 'editor.horizontalrule.tooltip': string;
649
+ 'editor.code.tooltip': string;
650
+ 'editor.codeblock.tooltip': string;
651
+ 'editor.clear.tooltip': string;
652
+ 'editor.undo.tooltip': string;
653
+ 'editor.redo.tooltip': string;
654
+ 'editor.fullscreen.tooltip.fullscreen': string;
655
+ 'editor.fullscreen.tooltip.exit': string;
656
+ 'editor.imageUpload.cancel': string;
657
+ 'editor.imageUpload.crop': string;
658
+ 'editor.imageUpload.fileTypeNotSupported': string;
659
+ 'editor.imageUpload.fileSizeTooBig': string;
660
+ 'editor.table.menu.insertColumnBefore': string;
661
+ 'editor.table.menu.insertColumnAfter': string;
662
+ 'editor.table.menu.deleteColumn': string;
663
+ 'editor.table.menu.insertRowAbove': string;
664
+ 'editor.table.menu.insertRowBelow': string;
665
+ 'editor.table.menu.deleteRow': string;
666
+ 'editor.table.menu.mergeCells': string;
667
+ 'editor.table.menu.splitCells': string;
668
+ 'editor.table.menu.deleteTable': string;
669
+ 'editor.table.menu.setCellsBgColor': string;
670
+ 'editor.emoji.tooltip': string;
671
+ 'editor.iframe.tooltip': string;
672
+ 'editor.searchAndReplace.tooltip': string;
673
+ 'editor.search.dialog.text': string;
674
+ 'editor.replace.dialog.text': string;
675
+ 'editor.replaceAll.dialog.text': string;
676
+ 'editor.previous.dialog.text': string;
677
+ 'editor.next.dialog.text': string;
678
+ no_result_found: string;
679
+ 'Smileys & People': string;
680
+ 'Animals & Nature': string;
681
+ 'Food & Drink': string;
682
+ Activity: string;
683
+ 'Travel & Places': string;
684
+ Object: string;
685
+ Symbol: string;
686
+ Flags: string;
687
+ 'Frequently used': string;
688
+ 'editor.formula.dialog.text': string;
689
+ 'editor.katex.tooltip': string;
690
+ 'editor.exportPdf.tooltip': string;
691
+ 'editor.exportWord.tooltip': string;
692
+ 'editor.importWord.tooltip': string;
693
+ 'editor.importWord.limitSize': string;
694
+ 'editor.importWord.converting': string;
695
+ 'editor.importWord.convertError': string;
696
+ 'editor.importWord.importError': string;
697
+ 'editor.textDirection.tooltip': string;
698
+ 'editor.textDirection.auto.tooltip': string;
699
+ 'editor.textDirection.ltr.tooltip': string;
700
+ 'editor.textDirection.rtl.tooltip': string;
701
+ 'editor.attachment.tooltip': string;
702
+ 'editor.attachment.uploading': string;
703
+ 'editor.attachment.please_upload': string;
704
+ 'editor.imageGif.tooltip': string;
705
+ 'editor.replace.caseSensitive': string;
706
+ 'editor.mermaid.tooltip': string;
707
+ 'editor.twitter.tooltip': string;
708
+ 'editor.tooltip.flipX': string;
709
+ 'editor.tooltip.flipY': string;
710
+ };
711
+
712
+ export declare const zh_CN: {
713
+ 'editor.remove': string;
714
+ 'editor.copy': string;
715
+ 'editor.words': string;
716
+ 'editor.characters': string;
717
+ 'editor.default': string;
718
+ 'editor.recent': string;
719
+ 'editor.nofill': string;
720
+ 'editor.format': string;
721
+ 'editor.delete': string;
722
+ 'editor.edit': string;
723
+ 'editor.settings': string;
724
+ 'editor.table_of_content': string;
725
+ 'editor.draghandle.tooltip': string;
726
+ 'editor.copyToClipboard': string;
727
+ 'editor.slash': string;
728
+ 'editor.slash.empty': string;
729
+ 'editor.slash.format': string;
730
+ 'editor.slash.insert': string;
731
+ 'editor.slash.embed': string;
732
+ 'editor.content': string;
733
+ 'editor.fontFamily.tooltip': string;
734
+ 'editor.fontFamily.default.tooltip': string;
735
+ 'editor.moremark': string;
736
+ 'editor.size.small.tooltip': string;
737
+ 'editor.size.medium.tooltip': string;
738
+ 'editor.size.large.tooltip': string;
739
+ 'editor.bold.tooltip': string;
740
+ 'editor.italic.tooltip': string;
741
+ 'editor.underline.tooltip': string;
742
+ 'editor.strike.tooltip': string;
743
+ 'editor.color.tooltip': string;
744
+ 'editor.color.more': string;
745
+ 'editor.highlight.tooltip': string;
746
+ 'editor.lineheight.tooltip': string;
747
+ 'editor.heading.tooltip': string;
748
+ 'editor.heading.h1.tooltip': string;
749
+ 'editor.heading.h2.tooltip': string;
750
+ 'editor.heading.h3.tooltip': string;
751
+ 'editor.heading.h4.tooltip': string;
752
+ 'editor.heading.h5.tooltip': string;
753
+ 'editor.heading.h6.tooltip': string;
754
+ 'editor.paragraph.tooltip': string;
755
+ 'editor.textalign.tooltip': string;
756
+ 'editor.textalign.left.tooltip': string;
757
+ 'editor.textalign.center.tooltip': string;
758
+ 'editor.textalign.right.tooltip': string;
759
+ 'editor.textalign.justify.tooltip': string;
760
+ 'editor.indent': string;
761
+ 'editor.indent.indent': string;
762
+ 'editor.indent.outdent': string;
763
+ 'editor.fontSize.tooltip': string;
764
+ 'editor.fontSize.default.tooltip': string;
765
+ 'editor.superscript.tooltip': string;
766
+ 'editor.subscript.tooltip': string;
767
+ 'editor.bulletlist.tooltip': string;
768
+ 'editor.orderedlist.tooltip': string;
769
+ 'editor.tasklist.tooltip': string;
770
+ 'editor.indent.tooltip': string;
771
+ 'editor.outdent.tooltip': string;
772
+ 'editor.columns.tooltip': string;
773
+ 'editor.link.tooltip': string;
774
+ 'editor.link.unlink.tooltip': string;
775
+ 'editor.link.open.tooltip': string;
776
+ 'editor.link.edit.tooltip': string;
777
+ 'editor.link.dialog.title': string;
778
+ 'editor.link.dialog.link': string;
779
+ 'editor.link.dialog.text': string;
780
+ 'editor.link.dialog.openInNewTab': string;
781
+ 'editor.link.dialog.link.placeholder': string;
782
+ 'editor.link.dialog.text.placeholder': string;
783
+ 'editor.link.dialog.button.apply': string;
784
+ 'editor.image.tooltip': string;
785
+ 'editor.image.dragger.tooltip': string;
786
+ 'editor.image.float.left.tooltip': string;
787
+ 'editor.image.float.none.tooltip': string;
788
+ 'editor.image.float.right.tooltip': string;
789
+ 'editor.image.dialog.title': string;
790
+ 'editor.image.dialog.tab.url': string;
791
+ 'editor.image.dialog.tab.upload': string;
792
+ 'editor.link.dialog.inline': string;
793
+ 'editor.image.dialog.uploading': string;
794
+ 'editor.image.dialog.form.link': string;
795
+ 'editor.image.dialog.placeholder': string;
796
+ 'editor.image.dialog.form.alt': string;
797
+ 'editor.image.dialog.form.aspectRatio': string;
798
+ 'editor.image.dialog.form.file': string;
799
+ 'editor.image.dialog.button.apply': string;
800
+ 'editor.video.tooltip': string;
801
+ 'editor.video.dialog.tab.upload': string;
802
+ 'editor.image.dialog.tab.uploadCrop': string;
803
+ 'editor.video.dialog.uploading': string;
804
+ 'editor.video.dialog.title': string;
805
+ 'editor.video.dialog.link': string;
806
+ 'editor.video.dialog.placeholder': string;
807
+ 'editor.video.dialog.button.apply': string;
808
+ 'editor.table.tooltip': string;
809
+ 'editor.table.menu.insert_table': string;
810
+ 'editor.table.menu.insert_table.with_header_row': string;
811
+ 'editor.table.menu.add_column_before': string;
812
+ 'editor.table.menu.add_column_after': string;
813
+ 'editor.table.menu.delete_column': string;
814
+ 'editor.table.menu.add_row_before': string;
815
+ 'editor.table.menu.add_row_after': string;
816
+ 'editor.table.menu.delete_row': string;
817
+ 'editor.table.menu.merge_or_split_cells': string;
818
+ 'editor.table.menu.delete_table': string;
819
+ 'editor.blockquote.tooltip': string;
820
+ 'editor.horizontalrule.tooltip': string;
821
+ 'editor.code.tooltip': string;
822
+ 'editor.codeblock.tooltip': string;
823
+ 'editor.clear.tooltip': string;
824
+ 'editor.undo.tooltip': string;
825
+ 'editor.redo.tooltip': string;
826
+ 'editor.fullscreen.tooltip.fullscreen': string;
827
+ 'editor.fullscreen.tooltip.exit': string;
828
+ 'editor.imageUpload.cancel': string;
829
+ 'editor.imageUpload.crop': string;
830
+ 'editor.imageUpload.fileTypeNotSupported': string;
831
+ 'editor.imageUpload.fileSizeTooBig': string;
832
+ 'editor.table.menu.insertColumnBefore': string;
833
+ 'editor.table.menu.insertColumnAfter': string;
834
+ 'editor.table.menu.deleteColumn': string;
835
+ 'editor.table.menu.insertRowAbove': string;
836
+ 'editor.table.menu.insertRowBelow': string;
837
+ 'editor.table.menu.deleteRow': string;
838
+ 'editor.table.menu.mergeCells': string;
839
+ 'editor.table.menu.splitCells': string;
840
+ 'editor.table.menu.deleteTable': string;
841
+ 'editor.table.menu.setCellsBgColor': string;
842
+ 'editor.emoji.tooltip': string;
843
+ 'editor.iframe.tooltip': string;
844
+ 'editor.searchAndReplace.tooltip': string;
845
+ 'editor.search.dialog.text': string;
846
+ 'editor.replace.dialog.text': string;
847
+ 'editor.replaceAll.dialog.text': string;
848
+ 'editor.previous.dialog.text': string;
849
+ 'editor.next.dialog.text': string;
850
+ no_result_found: string;
851
+ 'Smileys & People': string;
852
+ 'Animals & Nature': string;
853
+ 'Food & Drink': string;
854
+ Activity: string;
855
+ 'Travel & Places': string;
856
+ Object: string;
857
+ Symbol: string;
858
+ Flags: string;
859
+ 'Frequently used': string;
860
+ 'editor.formula.dialog.text': string;
861
+ 'editor.katex.tooltip': string;
862
+ 'editor.exportPdf.tooltip': string;
863
+ 'editor.exportWord.tooltip': string;
864
+ 'editor.importWord.tooltip': string;
865
+ 'editor.importWord.limitSize': string;
866
+ 'editor.importWord.converting': string;
867
+ 'editor.importWord.convertError': string;
868
+ 'editor.importWord.importError': string;
869
+ 'editor.textDirection.tooltip': string;
870
+ 'editor.textDirection.auto.tooltip': string;
871
+ 'editor.textDirection.ltr.tooltip': string;
872
+ 'editor.textDirection.rtl.tooltip': string;
873
+ 'editor.attachment.tooltip': string;
874
+ 'editor.attachment.uploading': string;
875
+ 'editor.attachment.please_upload': string;
876
+ 'editor.imageGif.tooltip': string;
877
+ 'editor.replace.caseSensitive': string;
878
+ 'editor.mermaid.tooltip': string;
879
+ 'editor.twitter.tooltip': string;
880
+ 'editor.tooltip.flipX': string;
881
+ 'editor.tooltip.flipY': string;
882
+ };
883
+
884
+ export { }
885
+
886
+
887
+ declare module '@tiptap/core' {
888
+ interface Commands<ReturnType> {
889
+ video: {
890
+ /**
891
+ * Add an video
892
+ */
893
+ setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
894
+ /**
895
+ * Update an video
896
+ */
897
+ updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
898
+ };
899
+ }
900
+ }
901
+
902
+
903
+ declare module '@tiptap/core' {
904
+ interface Commands<ReturnType> {
905
+ fontSize: {
906
+ /**
907
+ * Set the text font size. ex: "12px", "2em", or "small". Must be a valid
908
+ * CSS font-size
909
+ * (https://developer.mozilla.org/en-US/docs/Web/CSS/font-size).
910
+ */
911
+ setFontSize: (fontSize: string) => ReturnType;
912
+ /**
913
+ * Unset the font size
914
+ */
915
+ unsetFontSize: () => ReturnType;
916
+ };
917
+ }
918
+ }
919
+
920
+
921
+ declare module '@tiptap/core' {
922
+ interface Commands<ReturnType> {
923
+ indent: {
924
+ /**
925
+ * Set the indent attribute
926
+ */
927
+ indent: () => ReturnType;
928
+ /**
929
+ * Set the outdent attribute
930
+ */
931
+ outdent: () => ReturnType;
932
+ };
933
+ }
934
+ }
935
+
936
+
937
+ declare module '@tiptap/core' {
938
+ interface Commands<ReturnType> {
939
+ tableCellBackground: {
940
+ setTableCellBackground: (color: string) => ReturnType;
941
+ unsetTableCellBackground: () => ReturnType;
942
+ };
943
+ }
944
+ }
945
+
946
+
947
+ declare module '@tiptap/core' {
948
+ interface Commands<ReturnType> {
949
+ emoji: {
950
+ setEmoji: (emoji: {
951
+ name: string;
952
+ emoji: string;
953
+ }) => ReturnType;
954
+ };
955
+ }
956
+ }
957
+
958
+
959
+ declare module '@tiptap/core' {
960
+ interface Commands<ReturnType> {
961
+ painter: {
962
+ setPainter: (marks: Mark[]) => ReturnType;
963
+ };
964
+ }
965
+ }
966
+
967
+
968
+ declare module '@tiptap/core' {
969
+ interface Commands<ReturnType> {
970
+ imageUpload: {
971
+ /**
972
+ * Add an image
973
+ */
974
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
975
+ /**
976
+ * Update an image
977
+ */
978
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
979
+ /**
980
+ * Set image alignment
981
+ */
982
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
983
+ };
984
+ }
985
+ }
986
+
987
+
988
+ declare module '@tiptap/core' {
989
+ interface Commands<ReturnType> {
990
+ katex: {
991
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
992
+ };
993
+ }
994
+ }
995
+
996
+
997
+ declare module '@tiptap/core' {
998
+ interface Commands<ReturnType> {
999
+ search: {
1000
+ setSearchTerm: (searchTerm: string) => ReturnType;
1001
+ setReplaceTerm: (replaceTerm: string) => ReturnType;
1002
+ replace: () => ReturnType;
1003
+ replaceAll: () => ReturnType;
1004
+ goToPrevSearchResult: () => void;
1005
+ goToNextSearchResult: () => void;
1006
+ setCaseSensitive: (caseSensitive: boolean) => ReturnType;
1007
+ };
1008
+ }
1009
+ }
1010
+
1011
+
1012
+ declare module '@tiptap/core' {
1013
+ interface Commands<ReturnType> {
1014
+ iframe: {
1015
+ /**
1016
+ * Add an iframe
1017
+ */
1018
+ setIframe: (options: {
1019
+ src: string;
1020
+ service: string;
1021
+ }) => ReturnType;
1022
+ };
1023
+ }
1024
+ }
1025
+
1026
+
1027
+ declare module '@tiptap/core' {
1028
+ interface Commands<ReturnType> {
1029
+ columns: {
1030
+ insertColumns: (attrs?: {
1031
+ cols: number;
1032
+ }) => ReturnType;
1033
+ addColBefore: () => ReturnType;
1034
+ addColAfter: () => ReturnType;
1035
+ deleteCol: () => ReturnType;
1036
+ };
1037
+ }
1038
+ }
1039
+
1040
+
1041
+ declare module '@tiptap/core' {
1042
+ interface Commands<ReturnType> {
1043
+ lineHeight: {
1044
+ setLineHeight: (lineHeight: string) => ReturnType;
1045
+ unsetLineHeight: () => ReturnType;
1046
+ };
1047
+ }
1048
+ }
1049
+
1050
+
1051
+ declare module '@tiptap/core' {
1052
+ interface Commands<ReturnType> {
1053
+ exportWord: {
1054
+ exportToWord: () => ReturnType;
1055
+ };
1056
+ }
1057
+ }
1058
+
1059
+
1060
+ declare module '@tiptap/core' {
1061
+ interface Commands<ReturnType> {
1062
+ excalidraw: {
1063
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1064
+ };
1065
+ }
1066
+ }
1067
+
1068
+
1069
+ declare module '@tiptap/core' {
1070
+ interface Commands<ReturnType> {
1071
+ tableOfContents: {
1072
+ setTableOfContents: () => ReturnType;
1073
+ removeTableOfContents: () => ReturnType;
1074
+ };
1075
+ }
1076
+ }
1077
+
1078
+
1079
+ declare module '@tiptap/core' {
1080
+ interface Commands<ReturnType> {
1081
+ imageGifUpload: {
1082
+ /**
1083
+ * Add an image gif
1084
+ */
1085
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1086
+ /**
1087
+ * Update an image gif
1088
+ */
1089
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1090
+ /**
1091
+ * Set image alignment
1092
+ */
1093
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
1094
+ };
1095
+ }
1096
+ }
1097
+
1098
+
1099
+ declare module '@tiptap/core' {
1100
+ interface Commands<ReturnType> {
1101
+ attachment: {
1102
+ setAttachment: (attrs?: unknown) => ReturnType;
1103
+ };
1104
+ }
1105
+ }
1106
+
1107
+
1108
+ declare module '@tiptap/core' {
1109
+ interface Commands<ReturnType> {
1110
+ mermaid: {
1111
+ setMermaid: (options: any, replace?: any) => ReturnType;
1112
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
1113
+ };
1114
+ }
1115
+ }
1116
+
1117
+
1118
+ declare module '@tiptap/core' {
1119
+ interface Commands<ReturnType> {
1120
+ drawer: {
1121
+ setDrawer: (options: any, replace?: any) => ReturnType;
1122
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
1123
+ };
1124
+ }
1125
+ }
1126
+
1127
+
1128
+ declare module '@tiptap/core' {
1129
+ interface Commands<ReturnType> {
1130
+ twitter: {
1131
+ /**
1132
+ * Insert a tweet
1133
+ * @param options The tweet attributes
1134
+ * @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
1135
+ */
1136
+ setTweet: (options: SetTweetOptions) => ReturnType;
1137
+ updateTweet: (options: SetTweetOptions) => ReturnType;
1138
+ };
1139
+ }
1140
+ }