Type Editor / @type-editor/menu / menu-items/file-upload-item
menu-items/file-upload-item
Functions
| Function | Description |
|---|---|
Creates a menu item for uploading and managing file attachments in the editor. This menu item provides functionality to:
When the selection is empty, files are inserted as thumbnail previews (if available) or as text links. When text is selected, the file mark is applied to the selection. Example typescript |