You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
Input some content into the <body> tag, like string "first", and observe the changeson the webpage.
Delete the string "first" character-by character , and obeserve the changes on the webpage.
Result:
The changes on the webpage are wired.
At step3, it previews as "f","f fi" "f fi fir"...while I input "first"
At step4, it doesn't delete the character, actually, it seems to add the string behind the previous strings.
Expected:
it should preview as "first" at step3, and it should only preview the string after deleting at step4.
ENV: MAC10.7 and Win8 English OS
Build: 0.31.0-9414
Notes:
This issue not reproduces to default sample file: index.html.
Snapshots;
Please refer to snapshots for details:
Step3:
Step4:
The text was updated successfully, but these errors were encountered:
I wrote a unit test for this case and it passes, so it's not clear why it fails in the browser (since we test to make sure that RemoteFunctions seems to be doing the right thing as well). Looking into it further.
Aha. The issue is that in the actual browser DOM, there's an injected <div> for live highlighting that's screwing things up. I'm guessing we never saw this before because in cases where we were testing typing in an empty document, we would probably first create a tag element and then type text in that, and the tag id would get us to the right place. So this is really specific to text directly inside <body>.
Steps:
<body>
tag, like string "first", and observe the changeson the webpage.Result:
The changes on the webpage are wired.
At step3, it previews as "f","f fi" "f fi fir"...while I input "first"
At step4, it doesn't delete the character, actually, it seems to add the string behind the previous strings.
Expected:
it should preview as "first" at step3, and it should only preview the string after deleting at step4.
ENV: MAC10.7 and Win8 English OS
Build: 0.31.0-9414
Notes:
This issue not reproduces to default sample file: index.html.
Snapshots;
Please refer to snapshots for details:
Step3:
Step4:
The text was updated successfully, but these errors were encountered: