mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 14:28:51 +08:00
feat(editor): footnote inline package (#11049)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { AffineFootnoteNode } from './footnote-node/footnote-node';
|
||||
import { FootNotePopup } from './footnote-node/footnote-popup';
|
||||
import { FootNotePopupChip } from './footnote-node/footnote-popup-chip';
|
||||
|
||||
export function effects() {
|
||||
customElements.define('affine-footnote-node', AffineFootnoteNode);
|
||||
customElements.define('footnote-popup', FootNotePopup);
|
||||
customElements.define('footnote-popup-chip', FootNotePopupChip);
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
'affine-footnote-node': AffineFootnoteNode;
|
||||
'footnote-popup': FootNotePopup;
|
||||
'footnote-popup-chip': FootNotePopupChip;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user