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 defined a contenttype using the 'block' fieldtype like this one:
test:
name: Test
singular_name: Test
singular_slug: test
fields:
title:
label: Global Heading
type: text
description:
label: Global Text
type: html
blocks:
label: Content Elements
type: block
fields:
titlesection:
label: Title Section
fields:
heading:
type: text
textsection:
label: Text Section
fields:
heading:
type: text
description:
type: textarea
videosection:
label: Video Section
fields:
heading:
type: text
video:
type: video
Now, entering some test content and calling /json/test/1 gives this result:
Look at the result. If a block does not contain an element of the previous block the content of the previous block shows up in its successor. Eg. the textsection has no field video but in the json there is one - or the videosection has no field description but in the json there is one...
I guess this might be a bug and should be fixed.
The text was updated successfully, but these errors were encountered:
I defined a contenttype using the 'block' fieldtype like this one:
Now, entering some test content and calling
/json/test/1
gives this result:Look at the result. If a block does not contain an element of the previous block the content of the previous block shows up in its successor. Eg. the textsection has no field video but in the json there is one - or the videosection has no field description but in the json there is one...
I guess this might be a bug and should be fixed.
The text was updated successfully, but these errors were encountered: