Module

clipboard/utils/plaintexttohtml

@ckeditor/ckeditor5-clipboard/src/utils/plaintexttohtml

module

Filtering

Functions

  • plainTextToHtml( text ) → string

    Converts plain text to its HTML-ized version.

    Parameters

    text : string

    The plain text to convert.

    Returns

    string

    HTML generated from the plain text.