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
Â
Â