Module

utils/dom/getrangefrommouseevent

@ckeditor/ckeditor5-utils/src/dom/getrangefrommouseevent

module

Filtering

Functions

  • getRangeFromMouseEvent( domEvent ) → Range | null

    Returns a DOM range from a given point specified by a mouse event.

    Parameters

    domEvent : object

    The mouse event.

    Returns

    Range | null

    The DOM range.