feat(editor): add inline packages (#11048)

This commit is contained in:
Saul-Mirone
2025-03-20 13:47:35 +00:00
parent aa620af40f
commit e5e429e7b2
170 changed files with 1337 additions and 804 deletions
@@ -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;
}
}