-
Notifications
You must be signed in to change notification settings - Fork 310
Losing code when toggling Code/Design view #61
Comments
Can confirm the issue. The version of designer on the web site needs to be updated. |
I am also experiencing same issue in chrome Version 36.0.1985.125 m on windows vista |
We pushed an update yesterday that installs designer from the latest release version:
This error repos for me locally after running a server. A new release should clear up the API changes between master/release. |
That's due to this: https://github.com/Polymer/ShadowDOM/issues/476 |
Yea, it's blowing up on me too, both my own designer, and the hosted demo designer. |
This is happening on http://www.polymer-project.org/tools/designer/ Just going switching between the code view and document view. Without adding any components to a blank designer.... Chrome 36 and Canary 38.0.2108.0 |
Can confirm this issue as well. Chrome |
Same issue on Firefox 31 (64bit Linux) and Chromium 34 (64bit Linux) |
If this helps at all, the last good version was Here's the diff between the two, if that helps as well: 0.3.2...0.3.3 |
@jarrodldavis Thanks, that really helps. SMH. I'm too tired to be coding... |
Confirmed on Ubuntu 14.04 and Chrome 38. |
Any workarounds or eta on this issue? Even my local copy of 0.3.4 stopped working. As we are on the bleeding edge with you, the visual designer has become important for us to adopt polymer components and rapidly prototype UI's. Based on @jarrodldavis comment maybe we need to revert back to 0.3.2 for the time being? |
I don't know if this helps. But I would like to add that when I try to use a link like this one: |
This should now be fixed with the latest site push and 0.3.5. Holler if you see otherwise. |
Allow dragging of elements right when they’re selected.
I noticed this issue between 7/29/2014 and 7/30/2014. If you just navigate to a fresh designer view you can reproduce it: http://www.polymer-project.org/tools/designer/
Drag a Core Card onto the page, click to toggle code/design view and examine the code. Click again to return to design view and your canvas will be blank. Click to code view again and your code is gone. I am seeing this in Chrome 36.0.1985.125m (today's latest) and Firefox 31 (if that's interesting.)
Upon toggling back from code view to design view, the following exception is caught in the Chrome dev console:
Exception caught during observer callback: TypeError: undefined is not a function
at x-meta.Polymer.ensureMeta (http://www.polymer-project.org/tools/designer/components/x-meta/x-meta.html:151:47)
at design-host.Polymer.loadElementImports (http://www.polymer-project.org/tools/designer/elements/design-host/design-host.html:122:22)
at design-host.Polymer.loadHtml (http://www.polymer-project.org/tools/designer/elements/design-host/design-host.html:96:12)
at design-canvas.Polymer.loadHtml (http://www.polymer-project.org/tools/designer/elements/design-canvas/design-canvas.html:549:21)
at design-frame.Polymer.loadHtml (http://www.polymer-project.org/tools/designer/elements/design-frame/design-frame.html:62:19)
at designer-element.Polymer.loadHtml (http://www.polymer-project.org/tools/designer/elements/designer-element/designer-element.html:434:19)
at designer-element.Polymer.codeToDesign (http://www.polymer-project.org/tools/designer/elements/designer-element/designer-element.html:332:10)
at designer-element.Polymer.selectedChanged (http://www.polymer-project.org/tools/designer/elements/designer-element/designer-element.html:277:12)
at designer-element.g.invokeMethod (http://www.polymer-project.org/tools/designer/components/polymer/polymer.js:12:13312)
at designer-element.g.notifyPropertyChanges (http://www.polymer-project.org/tools/designer/components/polymer/polymer.js:12:11598)
The text was updated successfully, but these errors were encountered: