Module

enter/utils

@ckeditor/ckeditor5-enter/src/utils

module

Filtering

Functions

  • getCopyOnEnterAttributes( schema, allAttributes ) → Iterable.<*>

    Returns attributes that should be preserved on the enter key.

    Filtering is realized based on copyOnEnter attribute property. Read more about attribute properties here.

    Parameters

    schema : Schema
    allAttributes : Iterable.<*>

    attributes to filter.

    Returns

    Iterable.<*>