Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Exist in editable range #16

Closed
hxtree opened this issue Jan 30, 2020 · 1 comment
Closed

Exist in editable range #16

hxtree opened this issue Jan 30, 2020 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@hxtree
Copy link
Collaborator

hxtree commented Jan 30, 2020

There should be a component setting to state whether or not a component can exist in an editable region.

For example, you don't want a web editor adding a <block name="MainMenu"/> to a <div> that is editable.

Not sure where this setting should reside. Probably within the Component itself. Perhaps ACL concerning the Component would suffice.

$component->allow_in_editable_region = false;

This would check if any parents featured an attribute that indicated whether or not it was editable. Perhaps <div editable="true"> or <div region="wysiwyg">, etc.

@hxtree hxtree added enhancement New feature or request help wanted Extra attention is needed labels Jan 30, 2020
@hxtree
Copy link
Collaborator Author

hxtree commented May 29, 2020

Outside scope of LHTML processing

@hxtree hxtree closed this as completed May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant