Interface

EnterEventData (enter)

@ckeditor/ckeditor5-enter/src/enterobserver

interface

Information about a DOM event in context of the Document. It wraps the native event, which usually should not be used as the wrapper contains additional data (like key code for keyboard events).

Filtering

Properties

  • readonly inherited

    document : Document

    The instance of the document.

  • readonly inherited

    domEvent : InputEvent

    The DOM event.

  • readonly inherited

    domTarget : HTMLElement

    The DOM target.

  • isSoft : boolean

    Whether it is a soft enter (Shift+Enter) or a hard enter (Enter).

  • readonly inherited

    target : Element

    The tree view element representing the target.

  • readonly inherited

    view : View

    Instance of the view controller.

Methods

  • inherited

    preventDefault() → void

    Prevents the native's event default action.

    Returns

    void
  • inherited

    stopPropagation() → void

    Stops native event propagation.

    Returns

    void