tessl install tessl/npm-tiptap--extension-typography@3.4.0Typography extension for Tiptap that automatically converts common text input patterns into proper typographic characters.
Agent Success
Agent success rate when using this tile
73%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.86x
Baseline
Agent success rate without this tile
85%
Build a rich text editor that accepts file uploads through drag-and-drop and paste operations, with custom processing for different file types.
@generates
/**
* Creates and configures a Tiptap editor with file handling capabilities.
*
* @param element - The DOM element to mount the editor
* @param uploadFile - Async function that uploads a file and returns its URL
* @returns The configured editor instance
*/
export function createFileHandlingEditor(
element: HTMLElement,
uploadFile: (file: File) => Promise<string>
): Editor;
/**
* Uploads a file to the mock endpoint.
*
* @param file - The file to upload
* @returns Promise resolving to the file URL
*/
export function mockUploadFile(file: File): Promise<string>;Provides the core editor functionality and extension system.
Provides basic editor extensions (Document, Paragraph, Text, etc.).
Provides image node support for displaying uploaded images.
Provides file drop and paste event handling capabilities.