vdc-editor 0.0.1

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 (286) hide show
  1. package/README.md +177 -0
  2. package/lib/index.d.ts +3 -0
  3. package/lib/src/components/ActionButton.vue.d.ts +90 -0
  4. package/lib/src/components/ActionDropdownButton.vue.d.ts +67 -0
  5. package/lib/src/components/ActionDropdownButtonSplit.vue.d.ts +71 -0
  6. package/lib/src/components/ActionMenuButton.vue.d.ts +62 -0
  7. package/lib/src/components/ColorPicker.vue.d.ts +51 -0
  8. package/lib/src/components/CoreEditor.vue.d.ts +162 -0
  9. package/lib/src/components/SelectContextMenu.vue.d.ts +28 -0
  10. package/lib/src/components/SuperTextView.vue.d.ts +2 -0
  11. package/lib/src/components/Toolbar.vue.d.ts +31 -0
  12. package/lib/src/components/icons/Icon.vue.d.ts +20 -0
  13. package/lib/src/components/icons/icons.d.ts +106 -0
  14. package/lib/src/components/icons/index.d.ts +4 -0
  15. package/lib/src/components/icons/setupIcon.d.ts +1 -0
  16. package/lib/src/components/menus/BasicBubble.d.ts +59 -0
  17. package/lib/src/components/menus/ColumnsBubbleMenu.vue.d.ts +31 -0
  18. package/lib/src/components/menus/LinkBubbleMenu.vue.d.ts +31 -0
  19. package/lib/src/components/menus/TableBubbleMenu.vue.d.ts +24 -0
  20. package/lib/src/components/ui/accordion/index.d.ts +4 -0
  21. package/lib/src/components/ui/alert/index.d.ts +9 -0
  22. package/lib/src/components/ui/badge/Badge.vue.d.ts +29 -0
  23. package/lib/src/components/ui/badge/index.d.ts +7 -0
  24. package/lib/src/components/ui/button/Button.vue.d.ts +43 -0
  25. package/lib/src/components/ui/button/index.d.ts +8 -0
  26. package/lib/src/components/ui/checkbox/Checkbox.vue.d.ts +31 -0
  27. package/lib/src/components/ui/checkbox/index.d.ts +1 -0
  28. package/lib/src/components/ui/context-menu/ContextMenu.vue.d.ts +26 -0
  29. package/lib/src/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +33 -0
  30. package/lib/src/components/ui/context-menu/ContextMenuContent.vue.d.ts +39 -0
  31. package/lib/src/components/ui/context-menu/ContextMenuGroup.vue.d.ts +22 -0
  32. package/lib/src/components/ui/context-menu/ContextMenuItem.vue.d.ts +33 -0
  33. package/lib/src/components/ui/context-menu/ContextMenuLabel.vue.d.ts +29 -0
  34. package/lib/src/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +26 -0
  35. package/lib/src/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +31 -0
  36. package/lib/src/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +18 -0
  37. package/lib/src/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +26 -0
  38. package/lib/src/components/ui/context-menu/ContextMenuSub.vue.d.ts +26 -0
  39. package/lib/src/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +43 -0
  40. package/lib/src/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +29 -0
  41. package/lib/src/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +22 -0
  42. package/lib/src/components/ui/context-menu/index.d.ts +14 -0
  43. package/lib/src/components/ui/dialog/Dialog.vue.d.ts +26 -0
  44. package/lib/src/components/ui/dialog/DialogClose.vue.d.ts +22 -0
  45. package/lib/src/components/ui/dialog/DialogContent.vue.d.ts +41 -0
  46. package/lib/src/components/ui/dialog/DialogDescription.vue.d.ts +27 -0
  47. package/lib/src/components/ui/dialog/DialogFooter.vue.d.ts +26 -0
  48. package/lib/src/components/ui/dialog/DialogHeader.vue.d.ts +26 -0
  49. package/lib/src/components/ui/dialog/DialogScrollContent.vue.d.ts +41 -0
  50. package/lib/src/components/ui/dialog/DialogTitle.vue.d.ts +27 -0
  51. package/lib/src/components/ui/dialog/DialogTrigger.vue.d.ts +22 -0
  52. package/lib/src/components/ui/dialog/index.d.ts +9 -0
  53. package/lib/src/components/ui/drawer/index.d.ts +8 -0
  54. package/lib/src/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +26 -0
  55. package/lib/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +33 -0
  56. package/lib/src/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +53 -0
  57. package/lib/src/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +22 -0
  58. package/lib/src/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +29 -0
  59. package/lib/src/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +29 -0
  60. package/lib/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +26 -0
  61. package/lib/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +31 -0
  62. package/lib/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +18 -0
  63. package/lib/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +26 -0
  64. package/lib/src/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +26 -0
  65. package/lib/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +43 -0
  66. package/lib/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +27 -0
  67. package/lib/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +22 -0
  68. package/lib/src/components/ui/dropdown-menu/index.d.ts +15 -0
  69. package/lib/src/components/ui/input/Input.vue.d.ts +25 -0
  70. package/lib/src/components/ui/input/index.d.ts +1 -0
  71. package/lib/src/components/ui/label/Label.vue.d.ts +27 -0
  72. package/lib/src/components/ui/label/index.d.ts +1 -0
  73. package/lib/src/components/ui/menubar/index.d.ts +15 -0
  74. package/lib/src/components/ui/popover/Popover.vue.d.ts +26 -0
  75. package/lib/src/components/ui/popover/PopoverContent.vue.d.ts +58 -0
  76. package/lib/src/components/ui/popover/PopoverTrigger.vue.d.ts +22 -0
  77. package/lib/src/components/ui/popover/index.d.ts +4 -0
  78. package/lib/src/components/ui/resizable/ResizableHandle.vue.d.ts +24 -0
  79. package/lib/src/components/ui/resizable/ResizablePanelGroup.vue.d.ts +31 -0
  80. package/lib/src/components/ui/resizable/index.d.ts +3 -0
  81. package/lib/src/components/ui/scroll-area/ScrollArea.vue.d.ts +27 -0
  82. package/lib/src/components/ui/scroll-area/ScrollBar.vue.d.ts +32 -0
  83. package/lib/src/components/ui/scroll-area/index.d.ts +2 -0
  84. package/lib/src/components/ui/select/Select.vue.d.ts +28 -0
  85. package/lib/src/components/ui/select/SelectContent.vue.d.ts +49 -0
  86. package/lib/src/components/ui/select/SelectGroup.vue.d.ts +27 -0
  87. package/lib/src/components/ui/select/SelectItem.vue.d.ts +27 -0
  88. package/lib/src/components/ui/select/SelectItemText.vue.d.ts +22 -0
  89. package/lib/src/components/ui/select/SelectLabel.vue.d.ts +27 -0
  90. package/lib/src/components/ui/select/SelectScrollDownButton.vue.d.ts +27 -0
  91. package/lib/src/components/ui/select/SelectScrollUpButton.vue.d.ts +27 -0
  92. package/lib/src/components/ui/select/SelectSeparator.vue.d.ts +18 -0
  93. package/lib/src/components/ui/select/SelectTrigger.vue.d.ts +27 -0
  94. package/lib/src/components/ui/select/SelectValue.vue.d.ts +22 -0
  95. package/lib/src/components/ui/select/index.d.ts +11 -0
  96. package/lib/src/components/ui/separator/Separator.vue.d.ts +18 -0
  97. package/lib/src/components/ui/separator/index.d.ts +1 -0
  98. package/lib/src/components/ui/sheet/index.d.ts +14 -0
  99. package/lib/src/components/ui/slider/index.d.ts +1 -0
  100. package/lib/src/components/ui/switch/index.d.ts +1 -0
  101. package/lib/src/components/ui/tabs/Tabs.vue.d.ts +26 -0
  102. package/lib/src/components/ui/tabs/TabsContent.vue.d.ts +27 -0
  103. package/lib/src/components/ui/tabs/TabsList.vue.d.ts +27 -0
  104. package/lib/src/components/ui/tabs/TabsTrigger.vue.d.ts +27 -0
  105. package/lib/src/components/ui/tabs/index.d.ts +4 -0
  106. package/lib/src/components/ui/textarea/Textarea.vue.d.ts +25 -0
  107. package/lib/src/components/ui/textarea/index.d.ts +1 -0
  108. package/lib/src/components/ui/toast/index.d.ts +22 -0
  109. package/lib/src/components/ui/toast/use-toast.d.ts +349 -0
  110. package/lib/src/components/ui/toggle/Toggle.vue.d.ts +56 -0
  111. package/lib/src/components/ui/toggle/index.d.ts +8 -0
  112. package/lib/src/components/ui/toggle-group/index.d.ts +2 -0
  113. package/lib/src/components/ui/tooltip/Tooltip.vue.d.ts +26 -0
  114. package/lib/src/components/ui/tooltip/TooltipContent.vue.d.ts +47 -0
  115. package/lib/src/components/ui/tooltip/TooltipProvider.vue.d.ts +22 -0
  116. package/lib/src/components/ui/tooltip/TooltipTrigger.vue.d.ts +22 -0
  117. package/lib/src/components/ui/tooltip/index.d.ts +4 -0
  118. package/lib/src/constants/index.d.ts +55 -0
  119. package/lib/src/extensions/Ai/AI.d.ts +16 -0
  120. package/lib/src/extensions/Ai/components/AIButton.vue.d.ts +74 -0
  121. package/lib/src/extensions/Ai/index.d.ts +1 -0
  122. package/lib/src/extensions/AttributesSetup/AttributesSetup.d.ts +3 -0
  123. package/lib/src/extensions/AttributesSetup/index.d.ts +1 -0
  124. package/lib/src/extensions/BaseKit.d.ts +118 -0
  125. package/lib/src/extensions/Blockquote/Blockquote.d.ts +6 -0
  126. package/lib/src/extensions/Blockquote/index.d.ts +1 -0
  127. package/lib/src/extensions/Bold/Bold.d.ts +6 -0
  128. package/lib/src/extensions/Bold/index.d.ts +1 -0
  129. package/lib/src/extensions/BulletList/BulletList.d.ts +6 -0
  130. package/lib/src/extensions/BulletList/components/BulletListMenuButton.vue.d.ts +35 -0
  131. package/lib/src/extensions/BulletList/index.d.ts +1 -0
  132. package/lib/src/extensions/Clear/Clear.d.ts +6 -0
  133. package/lib/src/extensions/Clear/index.d.ts +1 -0
  134. package/lib/src/extensions/Code/Code.d.ts +6 -0
  135. package/lib/src/extensions/Code/index.d.ts +1 -0
  136. package/lib/src/extensions/CodeBlock/CodeBlock.d.ts +6 -0
  137. package/lib/src/extensions/CodeBlock/components/CodeBlockView.vue.d.ts +68 -0
  138. package/lib/src/extensions/CodeBlock/index.d.ts +1 -0
  139. package/lib/src/extensions/Color/Color.d.ts +6 -0
  140. package/lib/src/extensions/Color/components/ColorActionButton.vue.d.ts +48 -0
  141. package/lib/src/extensions/Color/index.d.ts +1 -0
  142. package/lib/src/extensions/Document/Document.d.ts +2 -0
  143. package/lib/src/extensions/Document/index.d.ts +1 -0
  144. package/lib/src/extensions/FindAndReplace/FindAndReplace.d.ts +58 -0
  145. package/lib/src/extensions/FindAndReplace/index.d.ts +1 -0
  146. package/lib/src/extensions/FontFamily/FontFamily.d.ts +25 -0
  147. package/lib/src/extensions/FontFamily/components/FontFamilyMenuButton.vue.d.ts +65 -0
  148. package/lib/src/extensions/FontFamily/index.d.ts +1 -0
  149. package/lib/src/extensions/FontSize/FontSize.d.ts +32 -0
  150. package/lib/src/extensions/FontSize/components/FontSizeMenuButton.vue.d.ts +64 -0
  151. package/lib/src/extensions/FontSize/index.d.ts +1 -0
  152. package/lib/src/extensions/FormatPainter/FormatPainter.d.ts +24 -0
  153. package/lib/src/extensions/FormatPainter/index.d.ts +1 -0
  154. package/lib/src/extensions/Fullscreen/Fullscreen.d.ts +6 -0
  155. package/lib/src/extensions/Fullscreen/index.d.ts +1 -0
  156. package/lib/src/extensions/Heading/Heading.d.ts +6 -0
  157. package/lib/src/extensions/Heading/components/HeadingButton.vue.d.ts +65 -0
  158. package/lib/src/extensions/Heading/index.d.ts +1 -0
  159. package/lib/src/extensions/Highlight/Highlight.d.ts +6 -0
  160. package/lib/src/extensions/Highlight/components/HighlightActionButton.vue.d.ts +49 -0
  161. package/lib/src/extensions/Highlight/index.d.ts +1 -0
  162. package/lib/src/extensions/History/History.d.ts +6 -0
  163. package/lib/src/extensions/History/index.d.ts +1 -0
  164. package/lib/src/extensions/HorizontalRule/HorizontalRule.d.ts +6 -0
  165. package/lib/src/extensions/HorizontalRule/index.d.ts +1 -0
  166. package/lib/src/extensions/IDAttr/IDPlugin.d.ts +4 -0
  167. package/lib/src/extensions/IDAttr/index.d.ts +1 -0
  168. package/lib/src/extensions/Iframe/Iframe.d.ts +24 -0
  169. package/lib/src/extensions/Iframe/embed.d.ts +113 -0
  170. package/lib/src/extensions/Iframe/index.d.ts +1 -0
  171. package/lib/src/extensions/Image/Image.d.ts +29 -0
  172. package/lib/src/extensions/Image/components/ImageView.vue.d.ts +68 -0
  173. package/lib/src/extensions/Image/index.d.ts +1 -0
  174. package/lib/src/extensions/ImageUpload/ImageUpload.d.ts +16 -0
  175. package/lib/src/extensions/ImageUpload/components/ImageUploader.vue.d.ts +68 -0
  176. package/lib/src/extensions/ImageUpload/index.d.ts +1 -0
  177. package/lib/src/extensions/ImportWord/ImportWord.d.ts +28 -0
  178. package/lib/src/extensions/ImportWord/index.d.ts +1 -0
  179. package/lib/src/extensions/ImportWord/utils.d.ts +2 -0
  180. package/lib/src/extensions/Indent/Indent.d.ts +23 -0
  181. package/lib/src/extensions/Indent/index.d.ts +1 -0
  182. package/lib/src/extensions/Italic/Italic.d.ts +6 -0
  183. package/lib/src/extensions/Italic/index.d.ts +1 -0
  184. package/lib/src/extensions/LineHeight/LineHeight.d.ts +17 -0
  185. package/lib/src/extensions/LineHeight/components/LineHeightDropdown.vue.d.ts +48 -0
  186. package/lib/src/extensions/LineHeight/index.d.ts +1 -0
  187. package/lib/src/extensions/Link/Link.d.ts +6 -0
  188. package/lib/src/extensions/Link/components/LinkEditBlock.vue.d.ts +30 -0
  189. package/lib/src/extensions/Link/components/LinkEditPopover.vue.d.ts +56 -0
  190. package/lib/src/extensions/Link/components/LinkViewBlock.vue.d.ts +37 -0
  191. package/lib/src/extensions/Link/index.d.ts +1 -0
  192. package/lib/src/extensions/ListItem/ListItem.d.ts +3 -0
  193. package/lib/src/extensions/ListItem/index.d.ts +1 -0
  194. package/lib/src/extensions/MoreMark/MoreMark.d.ts +20 -0
  195. package/lib/src/extensions/MoreMark/components/ActionMoreButton.vue.d.ts +65 -0
  196. package/lib/src/extensions/MoreMark/index.d.ts +1 -0
  197. package/lib/src/extensions/MultiColumn/Column.d.ts +4 -0
  198. package/lib/src/extensions/MultiColumn/Columns.d.ts +22 -0
  199. package/lib/src/extensions/MultiColumn/index.d.ts +2 -0
  200. package/lib/src/extensions/OrderedList/OrderedList.d.ts +6 -0
  201. package/lib/src/extensions/OrderedList/components/OrderedListMenuButton.vue.d.ts +44 -0
  202. package/lib/src/extensions/OrderedList/index.d.ts +1 -0
  203. package/lib/src/extensions/Page/computed.d.ts +122 -0
  204. package/lib/src/extensions/Page/core.d.ts +79 -0
  205. package/lib/src/extensions/Page/index.d.ts +23 -0
  206. package/lib/src/extensions/Page/node-view.vue.d.ts +68 -0
  207. package/lib/src/extensions/Page/page-plugin.d.ts +7 -0
  208. package/lib/src/extensions/Page/split-block.d.ts +3 -0
  209. package/lib/src/extensions/Page/split-list-item.d.ts +7 -0
  210. package/lib/src/extensions/Page/types.d.ts +40 -0
  211. package/lib/src/extensions/Page/utils.d.ts +48 -0
  212. package/lib/src/extensions/Preview/Preview.d.ts +13 -0
  213. package/lib/src/extensions/Preview/index.d.ts +1 -0
  214. package/lib/src/extensions/Printer/Printer.d.ts +6 -0
  215. package/lib/src/extensions/Printer/index.d.ts +1 -0
  216. package/lib/src/extensions/Selection/Selection.d.ts +4 -0
  217. package/lib/src/extensions/Selection/index.d.ts +1 -0
  218. package/lib/src/extensions/SlashCommand/CommandsList.vue.d.ts +35 -0
  219. package/lib/src/extensions/SlashCommand/SlashCommand.d.ts +4 -0
  220. package/lib/src/extensions/SlashCommand/groups.d.ts +4 -0
  221. package/lib/src/extensions/SlashCommand/index.d.ts +1 -0
  222. package/lib/src/extensions/SlashCommand/types.d.ts +26 -0
  223. package/lib/src/extensions/SpellChecker/hunspell-proofreader.d.ts +16 -0
  224. package/lib/src/extensions/SpellChecker/i-proofreader-interface.d.ts +10 -0
  225. package/lib/src/extensions/SpellChecker/index.d.ts +6 -0
  226. package/lib/src/extensions/SpellChecker/sapling-proofreader.d.ts +13 -0
  227. package/lib/src/extensions/SpellChecker/spellchecker-extension.d.ts +27 -0
  228. package/lib/src/extensions/SpellChecker/spellchecker.d.ts +44 -0
  229. package/lib/src/extensions/Strike/Strike.d.ts +6 -0
  230. package/lib/src/extensions/Strike/index.d.ts +1 -0
  231. package/lib/src/extensions/Subscript/Subscript.d.ts +23 -0
  232. package/lib/src/extensions/Subscript/index.d.ts +1 -0
  233. package/lib/src/extensions/SuperText/SuperText.d.ts +11 -0
  234. package/lib/src/extensions/SuperText/components/SuperText.vue.d.ts +68 -0
  235. package/lib/src/extensions/SuperText/index.d.ts +1 -0
  236. package/lib/src/extensions/Table/cell-background.d.ts +19 -0
  237. package/lib/src/extensions/Table/components/CreateTablePopover.vue.d.ts +32 -0
  238. package/lib/src/extensions/Table/components/TableActionButton.vue.d.ts +53 -0
  239. package/lib/src/extensions/Table/index.d.ts +7 -0
  240. package/lib/src/extensions/Table/table.d.ts +24 -0
  241. package/lib/src/extensions/TaskList/TaskList.d.ts +12 -0
  242. package/lib/src/extensions/TaskList/index.d.ts +1 -0
  243. package/lib/src/extensions/TextAlign/TextAlign.d.ts +18 -0
  244. package/lib/src/extensions/TextAlign/components/TextAlignMenuButton.vue.d.ts +65 -0
  245. package/lib/src/extensions/TextAlign/index.d.ts +1 -0
  246. package/lib/src/extensions/TextBubble/TextBubble.d.ts +7 -0
  247. package/lib/src/extensions/TextBubble/components/TextDropdown.vue.d.ts +49 -0
  248. package/lib/src/extensions/TextBubble/index.d.ts +1 -0
  249. package/lib/src/extensions/TrailingNode/TrailingNode.d.ts +12 -0
  250. package/lib/src/extensions/TrailingNode/index.d.ts +1 -0
  251. package/lib/src/extensions/UnderLine/Underline.d.ts +6 -0
  252. package/lib/src/extensions/UnderLine/index.d.ts +1 -0
  253. package/lib/src/extensions/Video/Video.d.ts +55 -0
  254. package/lib/src/extensions/Video/index.d.ts +1 -0
  255. package/lib/src/extensions/VideoUpload/VideoUpload.d.ts +14 -0
  256. package/lib/src/extensions/VideoUpload/components/VideoUploader.vue.d.ts +68 -0
  257. package/lib/src/extensions/VideoUpload/index.d.ts +1 -0
  258. package/lib/src/extensions/index.d.ts +74 -0
  259. package/lib/src/hooks/index.d.ts +6 -0
  260. package/lib/src/hooks/useCheckSpellStore.d.ts +9 -0
  261. package/lib/src/hooks/useConfigTiptap.d.ts +8 -0
  262. package/lib/src/hooks/useContext.d.ts +21 -0
  263. package/lib/src/hooks/useHotkeys.d.ts +4 -0
  264. package/lib/src/hooks/useNodePosition.d.ts +7 -0
  265. package/lib/src/hooks/useStore.d.ts +160 -0
  266. package/lib/src/hooks/useSuperTextStore.d.ts +20 -0
  267. package/lib/src/i18n.d.ts +337 -0
  268. package/lib/src/index.d.ts +12 -0
  269. package/lib/src/plugins/image-upload.d.ts +12 -0
  270. package/lib/src/type.d.ts +145 -0
  271. package/lib/src/utils/content.d.ts +4 -0
  272. package/lib/src/utils/getRenderContainer.d.ts +4 -0
  273. package/lib/src/utils/indent.d.ts +15 -0
  274. package/lib/src/utils/is-mobile.d.ts +19 -0
  275. package/lib/src/utils/line-height.d.ts +7 -0
  276. package/lib/src/utils/loadFonts.d.ts +1 -0
  277. package/lib/src/utils/mitt.d.ts +24 -0
  278. package/lib/src/utils/node-names.d.ts +31 -0
  279. package/lib/src/utils/plateform.d.ts +11 -0
  280. package/lib/src/utils/utils.d.ts +18 -0
  281. package/lib/src/utils.d.ts +3 -0
  282. package/lib/style.css +1 -0
  283. package/lib/vdc-editor.mjs +61980 -0
  284. package/lib/vdc-editor.umd.js +197 -0
  285. package/lib/vite.config.d.ts +2 -0
  286. package/package.json +174 -0
@@ -0,0 +1,74 @@
1
+ import { ButtonViewReturnComponentProps } from '../../../type';
2
+ import { TooltipContentProps } from 'radix-vue';
3
+ import { icons } from '../../../components/icons';
4
+ import { Editor } from '@tiptap/vue-3';
5
+
6
+ interface Props {
7
+ editor: Editor;
8
+ icon?: keyof typeof icons;
9
+ title?: string;
10
+ tooltip?: string;
11
+ disabled?: boolean;
12
+ shortcutKeys?: string[];
13
+ customClass?: string;
14
+ loading?: boolean;
15
+ tooltipOptions?: TooltipContentProps;
16
+ color?: string;
17
+ action?: ButtonViewReturnComponentProps['action'];
18
+ isActive?: ButtonViewReturnComponentProps['isActive'];
19
+ }
20
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
21
+ icon: undefined;
22
+ title: undefined;
23
+ tooltip: undefined;
24
+ disabled: boolean;
25
+ customClass: string;
26
+ color: undefined;
27
+ loading: boolean;
28
+ shortcutKeys: undefined;
29
+ tooltipOptions: undefined;
30
+ action: undefined;
31
+ isActive: undefined;
32
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
33
+ icon: undefined;
34
+ title: undefined;
35
+ tooltip: undefined;
36
+ disabled: boolean;
37
+ customClass: string;
38
+ color: undefined;
39
+ loading: boolean;
40
+ shortcutKeys: undefined;
41
+ tooltipOptions: undefined;
42
+ action: undefined;
43
+ isActive: undefined;
44
+ }>>> & Readonly<{}>, {
45
+ icon: keyof typeof icons;
46
+ color: string;
47
+ disabled: boolean;
48
+ title: string;
49
+ tooltip: string;
50
+ shortcutKeys: string[];
51
+ customClass: string;
52
+ loading: boolean;
53
+ tooltipOptions: TooltipContentProps;
54
+ action: (value?: any) => void;
55
+ isActive: () => boolean;
56
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
57
+ export default _default;
58
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
59
+ type __VLS_TypePropsToRuntimeProps<T> = {
60
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
61
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
62
+ } : {
63
+ type: import('vue').PropType<T[K]>;
64
+ required: true;
65
+ };
66
+ };
67
+ type __VLS_WithDefaults<P, D> = {
68
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
69
+ default: D[K];
70
+ }> : P[K];
71
+ };
72
+ type __VLS_Prettify<T> = {
73
+ [K in keyof T]: T[K];
74
+ } & {};
@@ -0,0 +1 @@
1
+ export * from './AI';
@@ -0,0 +1,3 @@
1
+ import { Node } from '@tiptap/core';
2
+
3
+ export declare const AttributesSetup: Node<any, any>;
@@ -0,0 +1 @@
1
+ export * from './AttributesSetup';
@@ -0,0 +1,118 @@
1
+ import { Extension } from '@tiptap/core';
2
+ import { CharacterCountOptions } from '@tiptap/extension-character-count';
3
+ import { DropcursorOptions } from '@tiptap/extension-dropcursor';
4
+ import { FocusOptions } from '@tiptap/extension-focus';
5
+ import { HardBreakOptions } from '@tiptap/extension-hard-break';
6
+ import { ListItemOptions } from '@tiptap/extension-list-item';
7
+ import { ParagraphOptions } from '@tiptap/extension-paragraph';
8
+ import { PlaceholderOptions } from '@tiptap/extension-placeholder';
9
+ import { FontFamilyOptions } from '@tiptap/extension-font-family';
10
+ import { TextStyleOptions } from '@tiptap/extension-text-style';
11
+ import { IframeOptions } from './Iframe/Iframe';
12
+ import { TrailingNodeOptions } from './TrailingNode/TrailingNode';
13
+ import { BubbleOptions } from '../components/menus/BasicBubble';
14
+ import { TextBubbleOptions } from './TextBubble';
15
+ import { PageOption } from '../type';
16
+
17
+ /**
18
+ * Represents the interface for options in the base toolkit.
19
+ */
20
+ export interface BaseKitOptions {
21
+ /**
22
+ * Whether to enable the document option
23
+ *
24
+ * @default true
25
+ */
26
+ document: false;
27
+ /**
28
+ * Whether to enable the text option
29
+ *
30
+ * @default true
31
+ */
32
+ text: false;
33
+ /**
34
+ * Whether to enable the Gapcursor
35
+ *
36
+ * @default true
37
+ */
38
+ gapcursor: false;
39
+ /**
40
+ * Dropcursor options or false, indicating whether to enable the drop cursor
41
+ *
42
+ * @default true
43
+ */
44
+ dropcursor: Partial<DropcursorOptions> | false;
45
+ /**
46
+ * character count options or false, indicating whether to enable character count
47
+ *
48
+ * @default true
49
+ */
50
+ characterCount: Partial<CharacterCountOptions> | false;
51
+ /**
52
+ * HardBreak options or false, indicating whether to enable hard breaks
53
+ *
54
+ * @default true
55
+ */
56
+ hardBreak: Partial<HardBreakOptions> | false;
57
+ /**
58
+ * Placeholder options or false, indicating whether to enable placeholders
59
+ *
60
+ * @default true
61
+ */
62
+ placeholder: Partial<PlaceholderOptions> | false;
63
+ /**
64
+ * Paragraph options or false, indicating whether to enable paragraph functionality
65
+ *
66
+ * @default true
67
+ */
68
+ paragraph: Partial<ParagraphOptions> | false;
69
+ /**
70
+ * Focus options or false, indicating whether to enable focus functionality
71
+ *
72
+ * @default true
73
+ */
74
+ focus: Partial<FocusOptions> | false;
75
+ /**
76
+ * ListItem options or false, indicating whether to enable list item functionality
77
+ *
78
+ * @default true
79
+ */
80
+ listItem: Partial<ListItemOptions> | false;
81
+ /**
82
+ * Text Style options or false, indicating whether to enable text style functionality
83
+ *
84
+ * @default true
85
+ */
86
+ textStyle: Partial<TextStyleOptions> | false;
87
+ /**
88
+ * Bubble options, taking `BubbleOptions<BaseKitOptions>` as parameters, indicating whether to enable the bubble functionality
89
+ */
90
+ bubble: Partial<BubbleOptions<BaseKitOptions>>;
91
+ /**
92
+ * Iframe options or false, indicating whether to enable the iframe
93
+ *
94
+ * @default true
95
+ */
96
+ iframe: Partial<IframeOptions> | false;
97
+ /**
98
+ * Trailing node options or false, indicating whether to enable the trailing node
99
+ *
100
+ * @default true
101
+ */
102
+ trailingNode: Partial<TrailingNodeOptions> | false;
103
+ /**
104
+ * textBubble options or false, indicating whether to enable the textBubble
105
+ *
106
+ * @default true
107
+ */
108
+ textBubble: Partial<TextBubbleOptions> | false;
109
+ /**
110
+ * selection options or false, indicating whether to enable the selection
111
+ *
112
+ * @default true
113
+ */
114
+ selection: any | false;
115
+ fontFamily: Partial<FontFamilyOptions> | false;
116
+ page?: PageOption;
117
+ }
118
+ export declare const BaseKit: Extension<BaseKitOptions, any>;
@@ -0,0 +1,6 @@
1
+ import { BlockquoteOptions as TiptapBlockquoteOptions } from '@tiptap/extension-blockquote';
2
+ import { GeneralOptions } from '../../type';
3
+
4
+ export interface BlockquoteOptions extends TiptapBlockquoteOptions, GeneralOptions<BlockquoteOptions> {
5
+ }
6
+ export declare const Blockquote: import('@tiptap/core').Node<BlockquoteOptions, any>;
@@ -0,0 +1 @@
1
+ export * from './Blockquote';
@@ -0,0 +1,6 @@
1
+ import { BoldOptions as TiptapImageOptions } from '@tiptap/extension-bold';
2
+ import { GeneralOptions } from '../../type';
3
+
4
+ export interface BoldOptions extends TiptapImageOptions, GeneralOptions<BoldOptions> {
5
+ }
6
+ export declare const Bold: import('@tiptap/core').Mark<BoldOptions, any>;
@@ -0,0 +1 @@
1
+ export * from './Bold';
@@ -0,0 +1,6 @@
1
+ import { BulletListOptions as TiptapBulletListOptions } from '@tiptap/extension-bullet-list';
2
+ import { GeneralOptions } from '../../type';
3
+
4
+ export interface BulletListOptions extends TiptapBulletListOptions, GeneralOptions<BulletListOptions> {
5
+ }
6
+ export declare const BulletList: import('@tiptap/core').Node<BulletListOptions, any>;
@@ -0,0 +1,35 @@
1
+ import { Editor } from '@tiptap/vue-3';
2
+
3
+ interface Props {
4
+ editor: Editor;
5
+ disabled?: boolean;
6
+ tooltip?: string;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
9
+ disabled: boolean;
10
+ tooltip: string;
11
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
+ disabled: boolean;
13
+ tooltip: string;
14
+ }>>> & Readonly<{}>, {
15
+ disabled: boolean;
16
+ tooltip: string;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
19
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
+ type __VLS_TypePropsToRuntimeProps<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
28
+ type __VLS_WithDefaults<P, D> = {
29
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
+ default: D[K];
31
+ }> : P[K];
32
+ };
33
+ type __VLS_Prettify<T> = {
34
+ [K in keyof T]: T[K];
35
+ } & {};
@@ -0,0 +1 @@
1
+ export * from './BulletList';
@@ -0,0 +1,6 @@
1
+ import { Node } from '@tiptap/core';
2
+ import { GeneralOptions } from '../../type';
3
+
4
+ export interface ClearOptions extends GeneralOptions<ClearOptions> {
5
+ }
6
+ export declare const Clear: Node<ClearOptions, any>;
@@ -0,0 +1 @@
1
+ export * from './Clear';
@@ -0,0 +1,6 @@
1
+ import { CodeOptions as TiptapCodeOptions } from '@tiptap/extension-code';
2
+ import { GeneralOptions } from '../../type';
3
+
4
+ export interface CodeOptions extends TiptapCodeOptions, GeneralOptions<CodeOptions> {
5
+ }
6
+ export declare const Code: import('@tiptap/core').Mark<CodeOptions, any>;
@@ -0,0 +1 @@
1
+ export * from './Code';
@@ -0,0 +1,6 @@
1
+ import { CodeBlockLowlightOptions as TiptapCodeBlockOptions } from '@tiptap/extension-code-block-lowlight';
2
+ import { GeneralOptions } from '../../type';
3
+
4
+ export interface CodeBlockOptions extends TiptapCodeBlockOptions, GeneralOptions<CodeBlockOptions> {
5
+ }
6
+ export declare const CodeBlock: import('@tiptap/vue-3').Node<CodeBlockOptions, any>;
@@ -0,0 +1,68 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ editor: {
3
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["editor"]>;
4
+ required: true;
5
+ };
6
+ node: {
7
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["node"]>;
8
+ required: true;
9
+ };
10
+ decorations: {
11
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["decorations"]>;
12
+ required: true;
13
+ };
14
+ selected: {
15
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["selected"]>;
16
+ required: true;
17
+ };
18
+ extension: {
19
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["extension"]>;
20
+ required: true;
21
+ };
22
+ getPos: {
23
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["getPos"]>;
24
+ required: true;
25
+ };
26
+ updateAttributes: {
27
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["updateAttributes"]>;
28
+ required: true;
29
+ };
30
+ deleteNode: {
31
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["deleteNode"]>;
32
+ required: true;
33
+ };
34
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
35
+ editor: {
36
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["editor"]>;
37
+ required: true;
38
+ };
39
+ node: {
40
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["node"]>;
41
+ required: true;
42
+ };
43
+ decorations: {
44
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["decorations"]>;
45
+ required: true;
46
+ };
47
+ selected: {
48
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["selected"]>;
49
+ required: true;
50
+ };
51
+ extension: {
52
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["extension"]>;
53
+ required: true;
54
+ };
55
+ getPos: {
56
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["getPos"]>;
57
+ required: true;
58
+ };
59
+ updateAttributes: {
60
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["updateAttributes"]>;
61
+ required: true;
62
+ };
63
+ deleteNode: {
64
+ type: PropType<import('@tiptap/vue-3').NodeViewProps["deleteNode"]>;
65
+ required: true;
66
+ };
67
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
68
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from './CodeBlock';
@@ -0,0 +1,6 @@
1
+ import { ColorOptions as TiptapColorOptions } from '@tiptap/extension-color';
2
+ import { GeneralOptions } from '../../type';
3
+
4
+ export interface ColorOptions extends TiptapColorOptions, GeneralOptions<ColorOptions> {
5
+ }
6
+ export declare const Color: import('@tiptap/core').Extension<ColorOptions, any>;
@@ -0,0 +1,48 @@
1
+ import { Editor } from '@tiptap/vue-3';
2
+ import { ButtonViewReturnComponentProps } from '../../../type';
3
+
4
+ interface Props {
5
+ editor: Editor;
6
+ icon?: any;
7
+ tooltip?: string;
8
+ disabled?: boolean;
9
+ action?: ButtonViewReturnComponentProps['action'];
10
+ isActive?: ButtonViewReturnComponentProps['isActive'];
11
+ }
12
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
13
+ icon: undefined;
14
+ tooltip: undefined;
15
+ disabled: boolean;
16
+ action: undefined;
17
+ isActive: undefined;
18
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
19
+ icon: undefined;
20
+ tooltip: undefined;
21
+ disabled: boolean;
22
+ action: undefined;
23
+ isActive: undefined;
24
+ }>>> & Readonly<{}>, {
25
+ icon: any;
26
+ disabled: boolean;
27
+ tooltip: string;
28
+ action: (value?: any) => void;
29
+ isActive: () => boolean;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
31
+ export default _default;
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToRuntimeProps<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
41
+ type __VLS_WithDefaults<P, D> = {
42
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
+ default: D[K];
44
+ }> : P[K];
45
+ };
46
+ type __VLS_Prettify<T> = {
47
+ [K in keyof T]: T[K];
48
+ } & {};
@@ -0,0 +1 @@
1
+ export * from './Color';
@@ -0,0 +1,2 @@
1
+ export declare const Document: import('@tiptap/core').Node<any, any>;
2
+ export default Document;
@@ -0,0 +1 @@
1
+ export * from './Document';
@@ -0,0 +1,58 @@
1
+ import { Extension, Range } from '@tiptap/core';
2
+ import { PluginKey } from '@tiptap/pm/state';
3
+ import { GeneralOptions } from '../../type';
4
+
5
+ declare module '@tiptap/core' {
6
+ interface Commands<ReturnType> {
7
+ search: {
8
+ /**
9
+ * @description Set search term in extension.
10
+ */
11
+ setSearchTerm: (searchTerm: string) => ReturnType;
12
+ /**
13
+ * @description Set replace term in extension.
14
+ */
15
+ setReplaceTerm: (replaceTerm: string) => ReturnType;
16
+ /**
17
+ * @description Set case sensitivity in extension.
18
+ */
19
+ setCaseSensitive: (caseSensitive: boolean) => ReturnType;
20
+ /**
21
+ * @description Reset current search result to first instance.
22
+ */
23
+ resetIndex: () => ReturnType;
24
+ /**
25
+ * @description Find next instance of search result.
26
+ */
27
+ nextSearchResult: () => ReturnType;
28
+ /**
29
+ * @description Find previous instance of search result.
30
+ */
31
+ previousSearchResult: () => ReturnType;
32
+ /**
33
+ * @description Replace first instance of search result with given replace term.
34
+ */
35
+ replace: () => ReturnType;
36
+ /**
37
+ * @description Replace all instances of search result with given replace term.
38
+ */
39
+ replaceAll: () => ReturnType;
40
+ };
41
+ }
42
+ }
43
+ export declare const findAndReplacePluginKey: PluginKey<any>;
44
+ export interface FindAndReplaceOptions extends GeneralOptions<FindAndReplaceOptions> {
45
+ searchResultClass: string;
46
+ disableRegex: boolean;
47
+ }
48
+ export interface FindAndReplaceStorage {
49
+ searchTerm: string;
50
+ replaceTerm: string;
51
+ results: Range[];
52
+ lastSearchTerm: string;
53
+ caseSensitive: boolean;
54
+ lastCaseSensitive: boolean;
55
+ resultIndex: number;
56
+ lastResultIndex: number;
57
+ }
58
+ export declare const FindAndReplace: Extension<FindAndReplaceOptions, FindAndReplaceStorage>;
@@ -0,0 +1 @@
1
+ export * from './FindAndReplace';
@@ -0,0 +1,25 @@
1
+ import { FontFamilyOptions as TiptapFontFamilyOptions } from '@tiptap/extension-font-family';
2
+ import { GeneralOptions } from '../../type';
3
+
4
+ export interface FontFamilyOptions extends TiptapFontFamilyOptions, GeneralOptions<FontFamilyOptions> {
5
+ fontFamilyMap: {
6
+ [key: string]: string;
7
+ };
8
+ }
9
+ declare module '@tiptap/core' {
10
+ interface Commands<ReturnType> {
11
+ fontFamily: {
12
+ /**
13
+ * Set the text font family.
14
+ * CSS font-size
15
+ *
16
+ */
17
+ setFontFamily: (fontFamily: string) => ReturnType;
18
+ /**
19
+ * Unset the font family
20
+ */
21
+ unsetFontFamily: () => ReturnType;
22
+ };
23
+ }
24
+ }
25
+ export declare const FontFamily: import('@tiptap/core').Extension<FontFamilyOptions, any>;
@@ -0,0 +1,65 @@
1
+ import { StyleValue } from 'vue';
2
+ import { Editor } from '@tiptap/vue-3';
3
+ import { ButtonViewReturnComponentProps } from '../../../type';
4
+
5
+ export interface Item {
6
+ title: string;
7
+ icon?: any;
8
+ level?: number;
9
+ isActive: NonNullable<ButtonViewReturnComponentProps['isActive']>;
10
+ action?: ButtonViewReturnComponentProps['action'];
11
+ style?: StyleValue;
12
+ shortcutKeys?: string[];
13
+ disabled?: boolean;
14
+ divider?: boolean;
15
+ default?: boolean;
16
+ }
17
+ interface Props {
18
+ editor: Editor;
19
+ disabled?: boolean;
20
+ color?: string;
21
+ shortcutKeys?: string[];
22
+ maxHeight?: string | number;
23
+ tooltip?: string;
24
+ items?: Item[];
25
+ }
26
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
27
+ disabled: boolean;
28
+ color: undefined;
29
+ maxHeight: undefined;
30
+ tooltip: string;
31
+ shortcutKeys: undefined;
32
+ items: () => never[];
33
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
34
+ disabled: boolean;
35
+ color: undefined;
36
+ maxHeight: undefined;
37
+ tooltip: string;
38
+ shortcutKeys: undefined;
39
+ items: () => never[];
40
+ }>>> & Readonly<{}>, {
41
+ color: string;
42
+ disabled: boolean;
43
+ tooltip: string;
44
+ shortcutKeys: string[];
45
+ maxHeight: string | number;
46
+ items: Item[];
47
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
48
+ export default _default;
49
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
+ type __VLS_TypePropsToRuntimeProps<T> = {
51
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
52
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
53
+ } : {
54
+ type: import('vue').PropType<T[K]>;
55
+ required: true;
56
+ };
57
+ };
58
+ type __VLS_WithDefaults<P, D> = {
59
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
60
+ default: D[K];
61
+ }> : P[K];
62
+ };
63
+ type __VLS_Prettify<T> = {
64
+ [K in keyof T]: T[K];
65
+ } & {};
@@ -0,0 +1 @@
1
+ export * from './FontFamily';
@@ -0,0 +1,32 @@
1
+ import { Extension } from '@tiptap/core';
2
+ import { GeneralOptions } from '../../type';
3
+
4
+ /**
5
+ * Represents the interface for font size options, extending GeneralOptions.
6
+ */
7
+ export interface FontSizeOptions extends GeneralOptions<FontSizeOptions> {
8
+ types: string[];
9
+ /**
10
+ * List of available font size values
11
+ *
12
+ * @default DEFAULT_FONT_SIZE_LIST
13
+ */
14
+ fontSizes: string[];
15
+ }
16
+ declare module '@tiptap/core' {
17
+ interface Commands<ReturnType> {
18
+ fontSize: {
19
+ /**
20
+ * Set the text font size. ex: "12px", "2em", or "small". Must be a valid
21
+ * CSS font-size
22
+ * (https://developer.mozilla.org/en-US/docs/Web/CSS/font-size).
23
+ */
24
+ setFontSize: (fontSize: string) => ReturnType;
25
+ /**
26
+ * Unset the font size
27
+ */
28
+ unsetFontSize: () => ReturnType;
29
+ };
30
+ }
31
+ }
32
+ export declare const FontSize: Extension<FontSizeOptions, any>;