mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-09 13:15:51 +08:00
feat(editor): add inline packages (#11048)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { AffineReference, ReferencePopup } from './reference-node';
|
||||
|
||||
export function effects() {
|
||||
customElements.define('reference-popup', ReferencePopup);
|
||||
customElements.define('affine-reference', AffineReference);
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
'affine-reference': AffineReference;
|
||||
'reference-popup': ReferencePopup;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user