mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 02:21:51 +08:00
chore(editor): reorg packages (#10702)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { AFFINE_SLASH_MENU_WIDGET } from './consts';
|
||||
import { InnerSlashMenu, SlashMenu } from './slash-menu-popover';
|
||||
import { AffineSlashMenuWidget } from './widget';
|
||||
|
||||
export function effects() {
|
||||
customElements.define(AFFINE_SLASH_MENU_WIDGET, AffineSlashMenuWidget);
|
||||
customElements.define('affine-slash-menu', SlashMenu);
|
||||
customElements.define('inner-slash-menu', InnerSlashMenu);
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
[AFFINE_SLASH_MENU_WIDGET]: AffineSlashMenuWidget;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user