Allow to drop a structure in an editor text box to create the template