Sign up (with export icon)

enter/utils

Api-module iconmodule

Functions

  • Chevron-right icon

    getCopyOnEnterAttributes( schema, allAttributes ) → IterableIterator<[ string, unknown ]>
    internal

    Returns attributes that should be preserved on the enter keystroke.

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

    Parameters

    schema : ModelSchema

    Model's schema.

    allAttributes : Iterable<[ string, unknown ]>

    Attributes to filter.

    Returns

    IterableIterator<[ string, unknown ]>