ViewDocumentEnterEventData (enter)
@ckeditor/ckeditor5-enter/src/enterobserver
Information about a DOM event in context of the ViewDocument
.
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 : ViewDocument
module:enter/enterobserver~ViewDocumentEnterEventData#document
The instance of the document.
-
readonly inherited
domEvent : InputEvent
module:enter/enterobserver~ViewDocumentEnterEventData#domEvent
The DOM event.
-
readonly inherited
domTarget : HTMLElement
module:enter/enterobserver~ViewDocumentEnterEventData#domTarget
The DOM target.
-
isSoft : boolean
module:enter/enterobserver~ViewDocumentEnterEventData#isSoft
Whether it is a soft enter (Shift+Enter) or a hard enter (Enter).
-
The tree view element representing the target.
-
Instance of the view controller.
Methods
-
inherited
preventDefault() → void
module:enter/enterobserver~ViewDocumentEnterEventData#preventDefault
-
inherited
stopPropagation() → void
module:enter/enterobserver~ViewDocumentEnterEventData#stopPropagation
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features. We appreciate your feedback to help us ensure its accuracy and completeness.