Mixin

ElementApiMixin (core/editor/utils)

@ckeditor/ckeditor5-core/src/editor/utils/elementapimixin

mixin

Implementation of the ElementApi.

Filtering

Properties

  • readonly

    sourceElement : HTMLElement

    The element on which the editor has been initialized.

Methods

  • updateSourceElement( data )

    Updates the editor source element's content with the data.

    Parameters

    data : String

    The data that should be used to update the source element. By default, it is taken directly from the existing editor instance.