UNPKG

@atlaskit/editor-common

Version:

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

5 lines (4 loc) 433 B
import type { EditorView } from '@atlaskit/editor-prosemirror/view'; import type { EditorAnalyticsAPI } from '../analytics'; import { type ACTION_SUBJECT_ID } from '../analytics'; export declare const getDomRefFromSelection: (view: EditorView, actionSubjectId: ACTION_SUBJECT_ID.PICKER_MEDIA | ACTION_SUBJECT_ID.PICKER_TABLE_SIZE | ACTION_SUBJECT_ID.PICKER_EMOJI, editorAnalyticsAPI?: EditorAnalyticsAPI) => HTMLElement | undefined;