Module

engine/view/uielement

@ckeditor/ckeditor5-engine/src/view/uielement

module

Filtering

Classes

  • UIElement

    UI element class. It should be used to represent editing UI which needs to be injected into the editing view If possible, you should keep your UI outside the editing view. However, if that is not possible, UI elements can be used.

Functions

  • injectUiElementHandling( view )

    This function injects UI element handling to the given document.

    A callback is added to document keydown event. The callback handles the situation when right arrow key is pressed and selection is collapsed before a UI element. Without this handler, it would be impossible to "jump over" UI element using right arrow key.

    Parameters

    view : View

    View controller to which the quirks handling will be injected.