UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

8 lines (7 loc) 336 B
import type { Transaction } from '@atlaskit/editor-prosemirror/state'; import type { Predicate } from '../types'; export declare function isTextAtPos(pos: number): (props: { tr: Transaction; }) => boolean; export declare function isLinkAtPos(pos: number): Predicate; export declare const getLinkPreferencesURLFromENV: () => string;