Uncaught TypeError: Illegal constructor (version: ^0.17.0)
Closed this issue · 2 comments
Deleted user commented
doodlewind commented
Call this before initializing editors:
import { effects as blocksEffects } from '@blocksuite/blocks/effects';
import { effects as presetsEffects } from '@blocksuite/presets/effects';
blocksEffects();
presetsEffects();
Deleted user commented
Call this before initializing editors:
import { effects as blocksEffects } from '@blocksuite/blocks/effects'; import { effects as presetsEffects } from '@blocksuite/presets/effects'; blocksEffects(); presetsEffects();
有用,解决了
is worked,thanks