@samhammer/tiptob
Advanced tools
| import type { Editor } from "@tiptap/core"; | ||
| export type ButtonKey = string | { | ||
| name: string; | ||
| attributes?: object; | ||
| } | { | ||
| attributes: object; | ||
| } | { | ||
| isActive: (editor: Editor) => boolean; | ||
| }; |
| import { Extension } from "@tiptap/core"; | ||
| interface FontSizeOptions { | ||
| types: string[]; | ||
| } | ||
| declare module "@tiptap/core" { | ||
| interface Commands<ReturnType> { | ||
| fontSize: { | ||
| setFontSize: (fontSize: string) => ReturnType; | ||
| unsetFontSize: () => ReturnType; | ||
| }; | ||
| } | ||
| } | ||
| export declare const FontSizeExtension: Extension<FontSizeOptions, any>; | ||
| export {}; |
@@ -9,2 +9,3 @@ import ImageExtension from "./plugins/Image/ImageExtension"; | ||
| import { SignatureExtension } from "./plugins/SignaturePlaceholder/SignatureExtension"; | ||
| import { FontSizeExtension } from "./plugins/FontSize/FontSizeExtension"; | ||
| interface CustomHTMLElement extends HTMLElement { | ||
@@ -14,2 +15,2 @@ editor: Editor; | ||
| } | ||
| export { ImageExtension, KnowledgeExtension, SelectionDecoration, TableBubbleMenuExtension, ExtendedHighlight, TokenExtension, SignatureExtension, type CustomHTMLElement }; | ||
| export { ImageExtension, KnowledgeExtension, SelectionDecoration, TableBubbleMenuExtension, ExtendedHighlight, TokenExtension, FontSizeExtension, SignatureExtension, type CustomHTMLElement, }; |
+1
-1
| { | ||
| "name": "@samhammer/tiptob", | ||
| "version": "2.3.32", | ||
| "version": "2.3.33", | ||
| "description": "TipTap ToolBox", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2527176
0.53%19
11.76%15772
1.16%