mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 12:03:51 +08:00
Adding dynamicly resolved Parts in Content Item
--HG-- branch : dev
This commit is contained in:
@@ -92,7 +92,7 @@ namespace Orchard.DesignerTools.Services {
|
||||
var dumper = new ObjectDumper(6);
|
||||
var el = dumper.Dump(context.Shape, "Model");
|
||||
using (var sw = new StringWriter()) {
|
||||
el.WriteTo(new XmlTextWriter(sw) {Formatting = Formatting.Indented});
|
||||
el.WriteTo(new XmlTextWriter(sw) {Formatting = Formatting.None});
|
||||
context.Shape._Dump = sw.ToString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user