Skip to content

Why is the data attribute of each block not accessible when getting a block by Index or Id? #1723

Open
@MakarovCode

Description

@MakarovCode

First, this library is awesome!
Is there a specific reason why I can not access the current data structure for a block when doing something like this? Or am I missing something?.

const block = this.api.getBlockByIndex(index)
block.data // data undefined

All I can access from the block object is...

config: (...)
holder: (...)
id: (...)
isEmpty: (...)
name: (...)
selected: (...)
stretched: (...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions