@univerjs/drawing

GitHubEdit on GitHub

Shared drawing models, commands, and services for Univer.

import { UniverDrawingPlugin } from '@univerjs/drawing'

univer.registerPlugin(UniverDrawingPlugin, IUniverDrawingConfig)

IUniverDrawingConfig

import type { DependencyOverride } from '@univerjs/core'

export interface IUniverDrawingConfig {
  override?: DependencyOverride
  /**
   * The maximum allowed size of uploaded images in bytes.
   * @default 5 * 1024 * 1024 (5MB)
   */
  allowImageSize?: number
}

Table of Contents

Capalyze