Skip to content

EditorOptions

Properties

allowAutoScroll

allowAutoScroll: boolean

Source

editor.ts:24


allowCreateTextOnCanvas

allowCreateTextOnCanvas: boolean

Source

editor.ts:25


allowCreateTextOnConnector

allowCreateTextOnConnector: boolean

Source

editor.ts:26


defaultHandlerId

defaultHandlerId: null | string

Source

editor.ts:21


handlers

handlers: Handler[]

Source

editor.ts:20


imageResize

imageResize: object

maxHeight?

optional maxHeight: number

maxWidth?

optional maxWidth: number

quality?

optional quality: number

Source

editor.ts:27


keymap

keymap: KeyMap

Source

editor.ts:22


keymapEventTarget

keymapEventTarget: null | EventTarget

Source

editor.ts:23


onReady()

onReady: (editor) => void

Parameters

editor: Editor

Returns

void

Source

editor.ts:32