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.