Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

LiveEditing: edits within <script> tag in .html file are not reflected in the browser #5656

Open
busykai opened this issue Oct 23, 2013 · 3 comments

Comments

@busykai
Copy link
Contributor

busykai commented Oct 23, 2013

Page is refreshed when an external .js file is saved, it is not refreshed though if a <script> tag is edited within an .html file. Simple test case:

<html><head></head><body>
<h1>Hello <span id="mynameis">Fred</span></h1>
<script>document.getElementById("mynameis").innerHTML="John";</script>
</body></html>

Steps:

  1. Create a file with the above contents.
  2. Start LiveEditing
  3. Replace John with Bob
  4. Save (*)

Result: page stays the same.
Expected: page is refreshed

(*) I'm not sure if it should be refreshed on save or as the cursor leaves the region, but certainly not on each keystroke. :)

@ghost ghost assigned dangoor Oct 24, 2013
@njx
Copy link
Contributor

njx commented Oct 24, 2013

Medium priority to @dangoor

@redmunds
Copy link
Contributor

See also #7497.

@busykai
Copy link
Contributor Author

busykai commented Apr 3, 2015

@dangoor, reassigned to myself.

busykai added a commit that referenced this issue Apr 3, 2015
Does not work in case of a single browser because of #10821.
humphd pushed a commit to mozilla/brackets that referenced this issue May 15, 2015
Does not work in case of a single browser because of adobe#10821.
humphd pushed a commit to mozilla/brackets that referenced this issue May 20, 2015
Does not work in case of a single browser because of adobe#10821.
humphd pushed a commit to mozilla/brackets that referenced this issue May 26, 2015
Does not work in case of a single browser because of adobe#10821.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants