Skip to content

BlockSuite API Documentation / @blocksuite/blocks / EditorSettingSchema

Variable: EditorSettingSchema

const EditorSettingSchema: ZodObject<object, "strip", ZodTypeAny, object, object> = NodePropsSchema

Type declaration

affine:edgeless-text

affine:edgeless-text: ZodDefault<ZodObject<object, "strip", ZodTypeAny, object, object>>

affine:note

affine:note: ZodDefault<ZodObject<object, "strip", ZodTypeAny, object, object>>

brush

brush: ZodDefault<ZodObject<object, "strip", ZodTypeAny, object, object>>

connector

connector: ZodDefault<ZodObject<object, "strip", ZodTypeAny, object, object>>

shape:diamond

shape:diamond: ZodDefault<ZodObject<object, "strip", ZodTypeAny, object, object>>

shape:ellipse

shape:ellipse: ZodDefault<ZodObject<object, "strip", ZodTypeAny, object, object>>

shape:rect

shape:rect: ZodDefault<ZodObject<object, "strip", ZodTypeAny, object, object>>

shape:roundedRect

shape:roundedRect: ZodDefault<ZodObject<object, "strip", ZodTypeAny, object, object>>

shape:triangle

shape:triangle: ZodDefault<ZodObject<object, "strip", ZodTypeAny, object, object>>

text

text: ZodDefault<ZodObject<object, "strip", ZodTypeAny, object, object>>

Defined in

packages/blocks/src/root-block/configs/editor-settings.ts:5