mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Dumping the model in Shape Tracing
--HG-- branch : dev
This commit is contained in:
@@ -8,7 +8,9 @@ namespace Orchard.DesignerTools.Services {
|
||||
}
|
||||
|
||||
public void Created(ShapeCreatedContext context) {
|
||||
if (context.ShapeType != "Layout" && context.ShapeType != "DocumentZone") {
|
||||
if (context.ShapeType != "Layout"
|
||||
&& context.ShapeType != "DocumentZone"
|
||||
) {
|
||||
context.Shape.Metadata.Wrappers.Add("ShapeTracing_Wrapper");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user