In one of my previous articles I showed a small improvement for Editors. They could create a page shortcut using D&D from page tree. This time I’d like to show another feature related with D&D. I implemented functionality of populating local blocks properties from shared block instance. Editor can drop shared block on the local block to copy all properties.
D&D for local blocks preview

Using local blocks D&D

On the Alloy demo site we have SiteLogotypeBlock.

It has two properties Title and Url. We would like to use shared block of a SiteLogotypeBlock type as a template with predefined values.
After creating few instances of SiteLogotypeBlock we can D&D blocks on the start page.
D&D for local blocks

The full source code is available on github. I also created a nuget package.