You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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
typeis 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 isobject. 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.