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
Not sure if this is a bug or expected behavior- feel free to close if it's the latter.
I've got a model that has a rich text field with an embedded entry. When I call #raw on an instance of that model, the output contains the entry ruby object:
$ MyModel.raw{"sys"=>{...},"fields"=>{"richTextField"=>{"data"=>{},"content"=>[{"data"=>{},"content"=>[{"data"=>{},"marks"=>[],"value"=>"","nodeType"=>"text"}],"nodeType"=>"paragraph"},
...
# Right here{"data"=>{"target"=><RelatedFile[relatedFiles]id=‘1JZpjo5NYPjYlvIZiIM8w5’>},"content"=>[],"nodeType"=>"embedded-entry-block"},],"nodeType"=>"document"}}}
Should this just be the JSON of the API response instead?
The text was updated successfully, but these errors were encountered:
Not sure if this is a bug or expected behavior- feel free to close if it's the latter.
I've got a model that has a rich text field with an embedded entry. When I call
#raw
on an instance of that model, the output contains the entry ruby object:Should this just be the JSON of the API response instead?
The text was updated successfully, but these errors were encountered: