Skip to content

BlockSuite API Documentation / @blocksuite/inline / baseTextAttributes

Variable: baseTextAttributes

const baseTextAttributes: ZodObject<{ bold: ZodCatch<ZodNullable<ZodOptional<ZodLiteral<true>>>>; code: ZodCatch<ZodNullable<ZodOptional<ZodLiteral<true>>>>; italic: ZodCatch<ZodNullable<ZodOptional<ZodLiteral<true>>>>; link: ZodCatch<ZodNullable<ZodOptional<ZodString>>>; strike: ZodCatch<ZodNullable<ZodOptional<ZodLiteral<true>>>>; underline: ZodCatch<ZodNullable<ZodOptional<ZodLiteral<true>>>>; }, "strip", ZodTypeAny, { bold: null | true; code: null | true; italic: null | true; link: null | string; strike: null | true; underline: null | true; }, { bold: unknown; code: unknown; italic: unknown; link: unknown; strike: unknown; underline: unknown; }>

Defined in

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