ea.getAttributes

Description #

Allows to add extra data into the extraProps of a block on save.

Arguments #

  • extraProps – object – object of extra props

Located #

src/register/add-filter.js

Example #

addFilter(
    'ea.getAttributes',
    'namespace',
    (extraProps) => return extraProps
);