Skip to content

A matching block grid configuration could not be found, When inside a Narrow Container #151

Description

@BenEquate

Which Umbraco.Community.BlockPreview version are you using?

4.0.3

Which Umbraco version are you using? For example: 10.4.0 - don't just write v10

16.0.0

Bug summary

Image

For some reason, no matter what i try and do, i can't get this preview to work at all - Its a Block with a RTE inside.
The narrow container has two areas, one that is 1x3 and another that is 1x9.

The alias of this block is legalRte which is defined in my appsettings.json the same as all the other blocks (That are working fine).

The error messages in console are:
invariant:1 Uncaught (in promise) Context could not be found. (Context Alias: UmbWorkspaceContext with API Alias: default). Controller is hosted on #document-fragment > BLOCK-GRID-PREVIEW

Steps to reproduce

Create a "Narrow Container" and inside set a grid
Then create a text page with a grid property
Inside that grid property, set the areas for both RTE and left-navigation as 1x3 & 1x9
The RTE should say A matching block grid configuration could not be found

Expected result / actual result

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions