You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: