Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valid syntax for removal of default ElementContent element #842

Open
chrisrae opened this issue Oct 15, 2020 · 2 comments
Open

Valid syntax for removal of default ElementContent element #842

chrisrae opened this issue Oct 15, 2020 · 2 comments

Comments

@chrisrae
Copy link

Documentation suggests this will remove the default "ElementContent" element - doesn't seem to be the case?

Page:
disallowed_elements:
- DNADesign\Elemental\Models\ElementContent

Element remains when above code is inserted into /app/_config/mysite.yml in SS 4.6 post flush/build

Thank you!

@michalkleiner
Copy link
Contributor

It will remove it from being able to be created (new instances), but it doesn't destroy existing instances.

@DanielTate
Copy link

I had this issue on version 4.0 Upgrading to

        "dnadesign/silverstripe-elemental": "^4.3",

Solved the issue for me. It looks like there was a bug in ElementalAreaExtension and maybe somewhere else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants