Uploaded image for project: 'Content Editor'
  1. Content Editor
  2. CONTEDIT-196

Configured blocks in an app(yaml) are not taken into account

    XMLWordPrintable

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:

      1. Go to Resources app and to stories.app file (/stories-app/apps/stories.yaml)
      2. Scroll down to the block's definition, see that for are defined (text, image, video, externalLink)
      3. Go to Stories app and see the options available in the block (6, see previous image).
      4. Go to Resources app and to stories.app file (/stories-app/apps/stories.yaml)
      5. Change configuration of the block section to allow just one type of block, for example text.
        blocks:
                - text
        
      6. Save and go to stories app, close it and open again, nothing changes.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              miruela Mercedes Iruela
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD