@tldraw/editor
Classes
- App
- ErrorBoundary
- StateNode
- TLArrowUtil
- TLBookmarkUtil
- TLBoxTool
- TLBoxUtil
- TldrawEditorConfig
- TLDrawUtil
- TLEmbedUtil
- TLFrameUtil
- TLGeoUtil
- TLGroupUtil
- TLHighlightUtil
- TLImageUtil
- TLLineUtil
- TLNoteUtil
- TLShapeUtil
- TLTextUtil
- TLVideoUtil
- WeakMapCache
Functions
- blobAsString
- containBoxSize
- correctSpacesToNbsp
- createAssetShapeAtPoint
- createBookmarkShapeAtPoint
- createEmbedShapeAtPoint
- createShapesFromFiles
- dataTransferItemAsString
- dataUrlToFile
- defaultEmptyAs
- downloadDataURLAsFile
- ErrorScreen
- fileToBase64
- getEmbedInfo
- getEmbedInfoUnsafely
- getFileMetaData
- getImageSizeFromSrc
- getIncrementedName
- getMediaAssetFromFile
- getResizedImageDataUrl
- getSplineForLineShape
- getSvgAsDataUrl
- getSvgAsDataUrlSync
- getSvgAsImage
- getSvgAsString
- getSvgPathFromStroke
- getSvgPathFromStrokePoints
- getTextBoundingBox
- getVideoSizeFromSrc
- hardResetApp
- HTMLContainer
- isAnimated
- isGeoShape
- isGIF
- isNoteShape
- isSerializable
- isShapeWithHandles
- LoadingScreen
- loopToHtmlElement
- matchEmbedUrl
- matchUrl
- normalizeWheel
- openWindow
- preventDefault
- refreshPage
- releasePointerCapture
- rotateBoxShadow
- setPointerCapture
- setPropsForNextShape
- setRuntimeOverrides
- snapToGrid
- SVGContainer
- TldrawEditor
- uniqueId
- useContainer
- usePrefersReducedMotion
- useQuickReactor
- useReactor
Variables
- ACCEPTED_ASSET_TYPE
- ACCEPTED_IMG_TYPE
- ACCEPTED_VID_TYPE
- ARROW_LABEL_FONT_SIZES
- Canvas
- checkFlag
- defaultEditorAssetUrls
- EVENT_NAME_MAP
- FONT_ALIGNMENT
- FONT_FAMILIES
- FONT_SIZES
- getValidHttpURLList
- GRID_STEPS
- ICON_SIZES
- INDENT
- isImage
- isSvgText
- isValidHttpURL
- LABEL_FONT_SIZES
- ROTATING_SHADOWS
- runtime
- STYLES
- TEXT_PROPS
- truncateStringWithEllipsis
- useApp
Interfaces
- AppOptions
- ErrorBoundaryProps
- ErrorSyncedStore
- InitializingSyncedStore
- ReadySyncedStore
- StateNodeConstructor
- TLBaseEventInfo
- TLClipboardModel
- TldrawEditorProps
- TLEditorComponents
- TLEventHandlers
- TLEventMap
- TLShapeUtilConstructor
TypeAliases
- AnimationOptions
- ClipboardPayload
- EditorAssetUrls
- EmbedResult
- HTMLContainerProps
- OnBeforeCreateHandler
- OnBeforeUpdateHandler
- OnChildrenChangeHandler
- OnClickHandler
- OnDoubleClickHandleHandler
- OnDoubleClickHandler
- OnDragHandler
- OnEditEndHandler
- OnHandleChangeHandler
- OnResizeEndHandler
- OnResizeHandler
- OnResizeStartHandler
- OnRotateEndHandler
- OnRotateHandler
- OnRotateStartHandler
- OnTranslateEndHandler
- OnTranslateHandler
- OnTranslateStartHandler
- RequiredKeys
- SVGContainerProps
- SyncedStore
- TLBoxLike
- TLCancelEvent
- TLCancelEventInfo
- TLChange
- TLClickEvent
- TLClickEventInfo
- TLCLickEventName
- TLCommand
- TLCommandHandler
- TLCompleteEvent
- TLCompleteEventInfo
- TLCopyType
- TLEasingType
- TLEventInfo
- TLEventMapHandler
- TLEventName
- TLExportType
- TLHistoryEntry
- TLInterruptEvent
- TLInterruptEventInfo
- TLKeyboardEvent
- TLKeyboardEventInfo
- TLKeyboardEventName
- TLMark
- TLPinchEvent
- TLPinchEventInfo
- TLPinchEventName
- TLPointerEvent
- TLPointerEventInfo
- TLPointerEventName
- TLPointerEventTarget
- TLResizeHandle
- TLResizeInfo
- TLResizeMode
- TLSelectionHandle
- TLShapeUtilFlag
- TLTickEvent
- TLWheelEvent
- TLWheelEventInfo
- UiEnterHandler
- UiEvent
- UiEventType
- UiExitHandler