Closed AJDBenner closed 9 years ago
My strong suspicion is that we're running this through the slowparse/htmlhint stuff, and the DOM is different enough to cause things to break. Can you try disabling the HTMLHint extension and see if you can reproduce?
When reproducing this error with HTMLHinter turned off you still receive the "data-brackets-id=1 not found" error
@AJDBenner Does that cause any functionality to break?
That's probably another issue related to things moving around in the preview DOM, and not finding elements to highlight--I wouldn't read it as part of the other error. Note, too, that in your screenshot above, the errors are coming from two different pages: the errorDisplay.js
is in the editor, and the other ones are within a blob URL, meaning it's running in the preview.
So eliminating the HTMLHint makes this go away?
Eliminating the HTMLHint makes the "Uncaught TypeError" go away, but the "data-brackets-id=1 not found" error still remains. It doesn't seem to break anything in the live preview though.
Actually, I'm mistaken. After changing the CSS in the widget, if you close the widget and click on the <p> tag element this error is displayed.
If you try to change the content within the <p> tag after this error the live preview is broken and displays this error.
Moving out of PPP
This issue is filed upstream, but it seems to act differently with upstream than with Bramble. https://github.com/adobe/brackets/issues/10773
@AJDBenner I can't get this error to reproduce in our latest bramble code. Can you confirm?
It still reproduces for me.
STR:
<p> tag
like this <style>p {color: red; }</style>
<p> tag
and change the contentI see. I was testing using an external style sheet. So it appears the issue is only present using internal CSS.
I have filed this bug upstream https://github.com/adobe/brackets/issues/10773
This is no longer occuring.
If you open the inline CSS widget for a HTML element with CSS applied to it and edit the CSS in the widget you get this console error.