mad
I'm not 100% how to use the masks.
I have a snippet called footer.php in which there is a variable @{ phoneNumber }.
I can see how this variable shows up in the "General data and Files" in the "Default Template Settings" and it sets the variable on each page the snipet is used.
However I can also override this by editing the @{ phoneNumber } variable on each page.
As this is confusing to users will masks turn off the ability to edit @{ phoneNumber } on each page? so its ONLY editable in the "General data and Files" area?
To use this, would I add the following to my theme.json?
masks": {
"page": ["phoneNumber"]
}
to mask the variable from the pages.
and i would use
"shared": ["variableName"]
to mask a variable from the "General Data and Files" Default template settings??
But i cant the above to work.