-
-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the purpose of the decorators that were removed in the latest version of 0.17? #8447
Comments
All the customElement decorators are removed because it is hard to tell which lit component is actually used during tree-shaking process. So we replace it with the |
After I manually registered the effects function, I found that the doc-title could be rendered, but the page-editor would throw an error. This is a demo of reproduction. https://github.com/xiaogonggong-w/blocksuite-demo |
You need to call the import { effects as blocksEffects } from '@blocksuite/blocks/effects';
import { effects as presetsEffects } from '@blocksuite/presets/effects';
blocksEffects();
presetsEffects();
// init editor container now |
Missing @coustomElement ('page-editor')
The text was updated successfully, but these errors were encountered: