Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Having trouble opening a document saved by the editor #66

Description

@eltiare

I'm using a component to get the whole document to save when the user submits the form. The codebase for the relevant part is pretty short, so here's the gist of the editor component and its output:

https://gist.github.com/eltiare/c101eccef99e20a6b99bc90929537125

I'm getting errors saying that type is undefined, which of course everything below the top level the attribute does not exist on any of the objects. Instead, the name of the attribute is object. I've narrowed it down to this, but I am not sure what the proper behavior is supposed to be - or if I'm getting bitten because I am not getting the current document in the correct way.

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