thanks @bcworkz yeah that is what i want..
it is a block-group for a newsletter section…
and i incorporated a *styled-warning-sign* to highlight that all edits will change this on all sites…
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* hacky tweak for reusable blocks editing */
/* based on https://www.ads-software.com/support/topic/make-it-less-easy-to-edit-reusable-blocks/#post-14525041 */
/* .wp-block:not(.is-reusable) {
border: 1px dashed #ddd;
} */
.block-library-block__reusable-block-container {
background-color: hsl(300, 100%, 50%);
box-shadow: 0 0 3px 3px hsl(300, 100%, 50%);
border: 3px dashed hsl(180, 100%, 50%);
padding:1px;
}
.block-library-block__reusable-block-container > * {
pointer-events: none;
}
/* .wp-block.is-reusable .wp-block:not(.is-reusable) {
} */
.block-library-block__reusable-block-container.is-selected::before,
.block-library-block__reusable-block-container.has-child-selected::before {
content: 'Rusable Block – Be Careful with editing! → this changes all occurrences of the block.';
font-weight: bold;
font-size: 20px;
padding: 1rem;
}
my i think that should work curiosity is often a bit to active ??
as it is just a one-shot client theme (only this customer will use it..)
for now it is to much additional work.
Thanks for your pointers!!
sunny greetings
stefan