-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax error line numbers #59
Comments
yeah, this is because I'm inserting code before the user's code in the We could probably add a onerror to the window inside the iframe code. it On Tue, Oct 13, 2015 at 12:36 PM, Geoffery Miller notifications@github.com
Ian Johnson - 周彦 |
I'll dig into it, thanks for the leads to investigate. |
Request for comments: georules@65ffadb#diff-132135bd3a692d173dafa3b21db2c06fR168 |
Attaching a handler to iframe https://github.com/enjalot/building-blocks/blob/master/public/js/components/renderer.js#L71 did not seem to fire for me. I tried iframe.contentWindow as well, but it did not fire (no complaining about any iframe sandbox security either) |
yeah, from what I can tell you can only listen to the errors from within On Thu, Oct 15, 2015 at 11:33 AM, Geoffery Miller notifications@github.com
Ian Johnson - 周彦 |
I wanted to share a prototype of this, to ask what you think about the method of implementation. The styling needs a lot of work. |
this is great work! looks awesome so far. I shared a couple of comments in On Sun, Oct 18, 2015 at 10:01 AM, Geoffery Miller notifications@github.com
Ian Johnson - 周彦 |
The tooltip has some visual problems, I'm not sure why more than one is being created. I attempted to specify which ReactTooltip to use with data-for and id's as suggested in the docs when you have more than one, but that didn't seem to help. The version of react-tooltip we have is fairly old, I'm not sure if that's an issue. I tried updating it, but it complained about a react peer dependency -- when I updated it it broke everything 😢 I'm a bit new to React, and I think I'm struggling because codemirror is not a react component, and I'm trying to put react components into it. I tried a few ways -- one way by inserting an element with data-tip into an innerHTML, but then you have to mouse over a different ReactTooltip before it will work (I think because it's not firing some kind of update/render for react when manually inserting innerHTML) I also tried creating my own component class, but that's causing tons of components to be readded rather than reused. |
It's hard to find where your error is because the code loaded in from the blob doesn't have a map to the line number you are working on in the editor.
The text was updated successfully, but these errors were encountered: