Skip to content

BlockSuite API Documentation / @blocksuite/inline / baseTextAttributes

Variable: baseTextAttributes

const baseTextAttributes: ZodObject<Object, "strip", ZodTypeAny, Object, Object>

Type declaration

bold

bold: ZodCatch<ZodNullable<ZodOptional<ZodLiteral<true>>>>

code

code: ZodCatch<ZodNullable<ZodOptional<ZodLiteral<true>>>>

italic

italic: ZodCatch<ZodNullable<ZodOptional<ZodLiteral<true>>>>

link: ZodCatch<ZodNullable<ZodOptional<ZodString>>>

strike

strike: ZodCatch<ZodNullable<ZodOptional<ZodLiteral<true>>>>

underline

underline: ZodCatch<ZodNullable<ZodOptional<ZodLiteral<true>>>>

Source

packages/framework/inline/src/utils/base-attributes.ts:3