mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 07:36:42 +08:00
@@ -0,0 +1,14 @@
|
||||
import { GfxViewportElement } from './gfx/viewport-element.js';
|
||||
import { VElement, VLine, VText } from './inline/index.js';
|
||||
import { EditorHost } from './view/index.js';
|
||||
|
||||
export function effects() {
|
||||
// editor host
|
||||
customElements.define('editor-host', EditorHost);
|
||||
// gfx
|
||||
customElements.define('gfx-viewport', GfxViewportElement);
|
||||
// inline
|
||||
customElements.define('v-element', VElement);
|
||||
customElements.define('v-line', VLine);
|
||||
customElements.define('v-text', VText);
|
||||
}
|
||||
Reference in New Issue
Block a user