Skip to content

"TypeError: Failed to construct 'HTMLElement': Illegal constructor" while trying to bootstrap a project using EdgelessEditor in Preset with Vue #8927

Closed Answered by OpenBitSack
KhangGEH asked this question in Q&A
Discussion options

You must be logged in to vote

import {effects as blocksEffects } from '@blocksuite/blocks/effects'
import {effects as presetsEffects} from '@blocksuite/presets/effects'

blocksEffects()
presetsEffects()

You should add this code before initializing editor

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@KhangGEH
Comment options

@KhangGEH
Comment options

@KhangGEH
Comment options

@mingfang
Comment options

Answer selected by KhangGEH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants