Class

BasicHtmlWriter (engine/dataprocessor)

@ckeditor/ckeditor5-engine/src/dataprocessor/basichtmlwriter

class

Basic HTML writer. It uses the native innerHTML property for basic conversion from a document fragment to an HTML string.

Filtering

Methods

  • getHtml( fragment ) → string

    Returns an HTML string created from the document fragment.

    Parameters

    fragment : DocumentFragment

    Returns

    string