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
We use the classic editor for 99% of projects and the biggest hurdle we have in adopting Gutenberg is that the editor offers too many options to clients who seriously freak out when they are presented with so many choices.
I love the idea of templateLock="contentOnly" as it hides everything from the editor and just allows my client to fill in the content. That's fine for very well-structured layouts, but what if we want to give some freedom in certain containers?
We'd like to have the ability to create patterns that set templateLock="contentOnly" on a block but then 'unset' it at a child block.
Take this simple pattern with 2 columns - I really want to hide all of the containers but then allow the editor to add blocks inside the columns. Sadly templateLock="false" can't override contentOnly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
We use the classic editor for 99% of projects and the biggest hurdle we have in adopting Gutenberg is that the editor offers too many options to clients who seriously freak out when they are presented with so many choices.
I love the idea of
templateLock="contentOnly"
as it hides everything from the editor and just allows my client to fill in the content. That's fine for very well-structured layouts, but what if we want to give some freedom in certain containers?We'd like to have the ability to create patterns that set
templateLock="contentOnly"
on a block but then 'unset' it at a child block.Take this simple pattern with 2 columns - I really want to hide all of the containers but then allow the editor to add blocks inside the columns. Sadly
templateLock="false"
can't overridecontentOnly
.Is there a workaround?
Beta Was this translation helpful? Give feedback.
All reactions