{"id":0,"registry":{"0":{"shape":{"__isSmartRef__":true,"id":1},"submorphs":[],"scripts":[],"_ClipMode":"auto","derivationIds":["3ABFAB66-3E1D-4B57-B4D3-DBF0D37DCE60","D3CB6A05-D42B-419A-992D-1DDF9DDED959","034779AD-D220-487C-A85D-C8C72ED576E0"],"id":"A62D47E6-D416-4F59-9C68-57A81AD83D78","droppingEnabled":true,"halosEnabled":true,"_StyleClassNames":["Morph","HtmlWrapperMorph","selectable"],"eventHandler":{"__isSmartRef__":true,"id":2},"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":3},"name":"HTMLWrapperMorph","prevScroll":[0,0],"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":1,"htmlString":"<div style=\"margin: 10px\">\n  <h2>This content is plain HTML</h2>\n  <p>This is a <span style=\"cursor: pointer; color:green; text-decoration: underline\" onclick=\"lively.ide.browse('lively.morphic.HtmlWrapperMorph', null, 'lively.morphic.AdditionalMorphs')\">HTMLWrapperMorph</span> that allows to embed pure HTML in Lively.</p>\n</div>\n","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10},"__LivelyClassName__":"lively.morphic.HtmlWrapperMorph","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)"},"1":{"_BorderWidth":0,"stringifiedShapeNode":"<div xmlns=\"http://www.w3.org/1999/xhtml\" data-lively-morphid=\"A62D47E6-D416-4F59-9C68-57A81AD83D78\" class=\"Morph HtmlWrapperMorph selectable\" id=\"null\" style=\"overflow: auto; border: 0px solid rgb(204, 0, 0); padding: 0px; width: 400px; height: 300px; position: absolute; left: 0px; top: 0px; background-color: rgb(200, 200, 200);\"><div style=\"margin: 10px\">\n  <h2>This content is plain HTML</h2>\n  <p>This is a <span style=\"cursor: pointer; color:green; text-decoration: underline\" onclick=\"lively.ide.browse('lively.morphic.HtmlWrapperMorph', null, 'lively.morphic.AdditionalMorphs')\">HTMLWrapperMorph</span> that allows to embed pure HTML in Lively.</p>\n</div>\n</div>","__serializedExpressions__":["_Padding","_Position","_Extent","_Fill","extent"],"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(400.0,300.0)","_Fill":"Color.rgb(200,200,200)","extent":"lively.pt(400.0,300.0)"},"2":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3":{"partName":"HTMLWrapperMorph","requiredModules":[],"partsSpaceName":"PartsBin/HTML/","comment":"A morph that renders arbitrary HTML. Makes integrations of non-morphic content straightforward. Look inside the menu to open an HTML editor or export the content as an HTML document.","changes":[{"__isSmartRef__":true,"id":4},{"__isSmartRef__":true,"id":5},{"__isSmartRef__":true,"id":6},{"__isSmartRef__":true,"id":7},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":9}],"migrationLevel":8,"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Thu Jul 17 2014 12:02:11 GMT-0700 (PDT)\")"},"4":{"author":"robertkrahn","message":"Fixed reset as suggested by Rick. Thanks Rick!","id":"C9389773-D839-4E3C-AF10-28F6282541BB","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jul 17 2014 12:02:10 GMT-0700 (PDT)\")"},"5":{"author":"robertkrahn","message":"no comment","id":"4B305BE4-1B35-4BBB-ABCE-D255D563CBD9","__serializedExpressions__":["date"],"date":"new Date(\"Wed Feb 12 2014 15:34:42 GMT-0800 (PST)\")"},"6":{"author":"robertkrahn","message":"no comment","id":"FC45EDD5-3632-41E9-8CCF-1E7BF0F5B7FA","__serializedExpressions__":["date"],"date":"new Date(\"Wed Feb 12 2014 15:35:06 GMT-0800 (PST)\")"},"7":{"author":"robertkrahn","message":"clipped","id":"D4A9A56A-16E6-4D3D-9B42-425F9CE8E8B6","__serializedExpressions__":["date"],"date":"new Date(\"Wed Feb 12 2014 16:29:30 GMT-0800 (PST)\")"},"8":{"author":"robertkrahn","message":"clipped","id":"287FA9C0-4815-46CD-B588-28102199A3F0","__serializedExpressions__":["date"],"date":"new Date(\"Wed Feb 12 2014 16:29:38 GMT-0800 (PST)\")"},"9":{"__serializedExpressions__":["date"],"author":"rick","message":"added a few helper scripts","id":"A9AF9642-F781-4A08-A0D1-9590A65517C0","date":"new Date(\"Fri Sep 05 2014 08:25:26 GMT-0700 (PDT)\")"},"10":{"reset":{"__isSmartRef__":true,"id":11},"setHTMLString":{"__isSmartRef__":true,"id":14},"init":{"__isSmartRef__":true,"id":17},"displayHTML":{"__isSmartRef__":true,"id":20}},"11":{"varMapping":{"__isSmartRef__":true,"id":12},"source":"function reset() {\n    this.init();\n    this.displayHTML();\n}","funcProperties":{"__isSmartRef__":true,"id":13},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12":{"this":{"__isSmartRef__":true,"id":0}},"13":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Sep 05 2014 08:24:33 GMT-0700 (PDT)\")"},"14":{"varMapping":{"__isSmartRef__":true,"id":15},"source":"function setHTMLString(htmlString) {\n    this.htmlString = htmlString;\n    this.displayHTML();\n    \n}","funcProperties":{"__isSmartRef__":true,"id":16},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15":{"this":{"__isSmartRef__":true,"id":0}},"16":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Sep 05 2014 08:24:45 GMT-0700 (PDT)\")"},"17":{"varMapping":{"__isSmartRef__":true,"id":18},"source":"function init() {\n    this.htmlString = \"<div style=\\\"margin: 10px\\\">\\n\"\n+ \"  <h2>This content is plain HTML</h2>\\n\"\n+ \"  <p>This is a <span style=\\\"cursor: pointer; color:green; text-decoration: underline\\\" onclick=\\\"lively.ide.browse('lively.morphic.HtmlWrapperMorph', null, 'lively.morphic.AdditionalMorphs')\\\">HTMLWrapperMorph</span> that allows to embed pure HTML in Lively.</p>\\n\"\n+ \"</div>\\n\"\n}","funcProperties":{"__isSmartRef__":true,"id":19},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"18":{"this":{"__isSmartRef__":true,"id":0}},"19":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Sep 05 2014 08:21:50 GMT-0700 (PDT)\")"},"20":{"varMapping":{"__isSmartRef__":true,"id":21},"source":"function displayHTML() {\n    this.setClipMode(\"auto\");\n    this.jQuery().html(this.htmlString);\n}","funcProperties":{"__isSmartRef__":true,"id":22},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"21":{"this":{"__isSmartRef__":true,"id":0}},"22":{"__serializedExpressions__":["timestamp"],"user":"rick","timestamp":"new Date(\"Fri Sep 05 2014 08:22:21 GMT-0700 (PDT)\")"},"isSimplifiedRegistry":true}}