@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
16 lines (15 loc) • 448 B
TypeScript
import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
export interface SnapPointsProps {
$pos?: ResolvedPos | null;
akEditorWideLayoutWidth: number;
allowBreakoutSnapPoints?: boolean;
containerWidth: number;
gridSize: number;
gridWidth: number;
insideInlineLike: boolean;
insideLayout: boolean;
isVideoFile: boolean;
lineLength: number;
offsetLeft: number;
wrappedLayout: boolean;
}