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

Content editor apps UI6 - block availability

    XMLWordPrintable

Details

    • Bug
    • Resolution: Outdated
    • Neutral
    • None
    • 2.1.6
    • None

    Description

      Hello,

      We are currently migrating our custom content editor apps from UI5 to UI6 syntax on the corporate website project, but we ran into the following issue - the block availability does not work as expected. In the block chooser dialog, we see all of the registered blocks from the whole project, even those which are meant to be used in other content-editor apps, etc. The expected behavior would be to show just those blocks defined in the app definition.

      For the following block field definition:
       

      blocks: 
        $type:multiJcrBlock 
        initialBlock:text 
        defaultBlock:text 
        blocks: 
         - text 
         - heading2 
         - code2 
         - ctaHorizontal2 
         - image 
         - video_corp2 
         - html 
         - quote2 
         - list2 
         - infobox 
         - link 
         - faq2 
         - table 
         - line2 
         - lottie

       
       
      We see the following in the block chooser dialog - shows all registered blocks in the repository:

       
      What I have also found is that if I reduce the list of available blocks to something like:
       

      blocks: 
        $type:multiJcrBlock 
        initialBlock:text 
        defaultBlock:text 
        blocks: 
         - text

       
       
      Then in the dropdown, it works fine, but in the block chooser dialog, it still shows all registered blocks.

       
      Thanks a lot for looking into that,
      Krystof
       
       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              lam.nguyen Lam Nguyen Bao
              kraiskub Krystof Raiskub
              AuthorX
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.75d
                    0.75d