-
Notifications
You must be signed in to change notification settings - Fork 218
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
Drag and Drop ignores allowedContentTypes and deniedContentTypes #1306
Comments
Hi @monosize |
Do you have any idea how to fix this issue, at least temporarily |
I'm trying to fix this issue by following hook For now it works for content inserted to page columns. You will get error and element is not moved/copied to denied page But I have no idea how to fix it for Flux grid. When I use any hook
Place where I stuck is here. At this place I would need to know Any ideas where is set |
Check this prototyped plugin UPDATE: drag&drop, copy/move should work now |
I've noticed that column variable In |
Feel free to test dw-content-protector extension |
If dragging an element into a flux:grid which has a defined
allowedContentTypes
ordeniedContentTypes
, the defintions are ignored and the element is added to the column.Only a insert over the element wizard checks the valid content type!
Idea
data-allowed-content-types="fluidcontent_content"
ordata-denied-content-types="fluidcontent_content"
and if needed withdata-allowed-fluidcontent="Vendor.Extension:ContentElement.html"
data-content-type="fluidcontent_content" data-fluidcontent-type="Vendor.Extension:ContentElement.html"
The text was updated successfully, but these errors were encountered: