brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] [LiveHTML] data-brackets-id code shows up in Chrome #4371

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by dalcala Friday Aug 09, 2013 at 22:23 GMT Originally opened as https://github.com/adobe/brackets/issues/4730


Description: Brackets code shows up in Chrome. I see a bunch of data-brackets-id in the browser.

Repro using Brackets ResearchLiveHTML branch in Git on Mac 10.8.

Repro steps:

  1. I was editing Getting Started index.html and following the scenario tests at the bottom of : https://github.com/adobe/brackets/wiki/Research:-HTML-DOM-Data-Structure. I got to 2. Attributes > Line 61: change "showing" to "displaying".
  2. I wasn't seeing anything change in the browser, so I refreshed Chrome.
  3. My file is here: https://dl.dropboxusercontent.com/u/19296289/livehtml-bug.html

Actual results: Started to see a bunch of data-brackets-id in the browser. If I close Chrome and do Live Preview again, I still see the data-brackets-id in the browser.

livehtml-bug

Expected results: Don't see data-brackets-id in the browser.

Workaround: None?

core-ai-bot commented 3 years ago

Comment by njx Friday Aug 09, 2013 at 22:30 GMT


It looks like this happens when you reload after making any edit. Investigating.

@dalcala - btw, you won't see anything immediately after editing the attributes in that test file, because they don't have visible effects. After changing the alt tag, though, you might try mousing over the image in the browser to see if the alt text has properly changed.

core-ai-bot commented 3 years ago

Comment by njx Tuesday Aug 13, 2013 at 16:21 GMT


FBNC to@dalcala now that the pull request has been merged (in the ResearchLiveHTML branch).

core-ai-bot commented 3 years ago

Comment by njx Wednesday Aug 28, 2013 at 16:24 GMT


Looks like I can't assign this to@dalcala. I'm closing since I verified it was fixed. (@dalcala, if you want to confirm this in current master, you'll need to open dev tools from Brackets first, and in the console, set brackets.livehtml = true in order to turn on the Live HTML functionality.)

core-ai-bot commented 3 years ago

Comment by heyamjoe Wednesday Sep 14, 2016 at 15:58 GMT


Refreshing chrome should do. At least worked for me.

core-ai-bot commented 3 years ago

Comment by gameprogrammingsteven Thursday Nov 03, 2016 at 09:22 GMT


I am totally seeing this, whether I refresh or not. Seems to be incrementing the ID every time I save or similar.

core-ai-bot commented 3 years ago

Comment by ficristo Sunday Nov 06, 2016 at 14:20 GMT


@feitingshadow please open a new issue if you are still seeing it.

Rutab-Khanam commented 2 years ago

There must be some errors in your code that's the reason. You may have missed some attributes. For example, if you don't add alt attribute in img tag then you might see this.