Skip to content

referenceBlock cannot be used in CMS update? #2247

@debuysserk

Description

@debuysserk

I'm trying to remove the page title in the Design tab of a CMS page by using this xml code :
<referenceBlock name="page.main.title" remove="true"/>

But after saving, it says :
Please correct the XML data and try again. Element 'referenceBlock': This element is not expected. Expected is one of ( referenceContainer, container, update, move ). Line: 1

The xml does work, tried it out in the cms_index_index.xml. Using referenceContainer is not correct in this case.

Bug or am I missing something?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions