Module

clipboard/utils/viewtoplaintext

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

module

Filtering

Functions

  • viewToPlainText( viewItem ) → string

    Converts view item and all of its children to plain text.

    Parameters

    viewItem : DocumentFragment | Item

    View item to convert.

    Returns

    string

    Plain text representation of viewItem.