refactor(editor): remote selection widget (#9408)

This commit is contained in:
Saul-Mirone
2024-12-28 08:47:09 +00:00
parent 1e4b1807be
commit b96a03b283
22 changed files with 135 additions and 32 deletions
@@ -0,0 +1,17 @@
import { AFFINE_DOC_REMOTE_SELECTION_WIDGET } from './doc';
import { AffineDocRemoteSelectionWidget } from './doc/doc-remote-selection';
import {
AFFINE_EDGELESS_REMOTE_SELECTION_WIDGET,
EdgelessRemoteSelectionWidget,
} from './edgeless';
export function effects() {
customElements.define(
AFFINE_DOC_REMOTE_SELECTION_WIDGET,
AffineDocRemoteSelectionWidget
);
customElements.define(
AFFINE_EDGELESS_REMOTE_SELECTION_WIDGET,
EdgelessRemoteSelectionWidget
);
}