feat: flux to logos

This commit is contained in:
2026-03-15 23:41:10 +01:00
parent 45c387c9e6
commit f67c491deb
6 changed files with 289 additions and 7 deletions

View File

@@ -0,0 +1,17 @@
/**
* BlockNote schema for Logos: default blocks + Flux output block.
*/
import { BlockNoteSchema, defaultBlockSpecs } from '@blocknote/core'
import { createFluxOutputBlock } from './blocks/fluxOutputBlock'
const fluxOutputBlock = createFluxOutputBlock()
export const logosSchema = BlockNoteSchema.create({
blockSpecs: {
...defaultBlockSpecs,
fluxOutput: fluxOutputBlock(),
},
})
export type LogosSchema = typeof logosSchema