Details
-
Bug
-
Resolution: Not an issue
-
Neutral
-
None
-
1.1.5, 1.2
-
None
Description
By default, stories.yaml is configured to allow just four kind of blocks:
blocks:
- text
- image
- video
- externalLink
But, in stories app you can use all the OOTB available blocks:

Also, if the definition is modified, for instance, to allow just one kind of block:
blocks:
- text
Nothing changes and all the available blocks can be used.
NOTE: if no blocks are defined in the app yaml, the option of blocks should not appear.
Steps to reproduce:
- Go to Resources app and to stories.app file (/stories-app/apps/stories.yaml)
- Scroll down to the block's definition, see that for are defined (text, image, video, externalLink)
- Go to Stories app and see the options available in the block (6, see previous image).
- Go to Resources app and to stories.app file (/stories-app/apps/stories.yaml)
- Change configuration of the block section to allow just one type of block, for example text.
blocks: - text - Save and go to stories app, close it and open again, nothing changes.
Checklists
Acceptance criteria