mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 12:06:35 +08:00
205cd7a86d
Closes: BS-2946
13 lines
400 B
TypeScript
13 lines
400 B
TypeScript
import { WidgetViewExtension } from '@blocksuite/std';
|
|
import { literal, unsafeStatic } from 'lit/static-html.js';
|
|
|
|
import { AFFINE_SCROLL_ANCHORING_WIDGET } from './scroll-anchoring.js';
|
|
|
|
export * from './scroll-anchoring.js';
|
|
|
|
export const scrollAnchoringWidget = WidgetViewExtension(
|
|
'affine:page',
|
|
AFFINE_SCROLL_ANCHORING_WIDGET,
|
|
literal`${unsafeStatic(AFFINE_SCROLL_ANCHORING_WIDGET)}`
|
|
);
|