fix: hide original textarea to prevent browser form restoration artifact
- Add display:none to initial textarea (CodeMirror replaces it) - Add autocomplete=off to prevent browser from restoring old form values 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -49,7 +49,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="editor-content">
|
<div class="editor-content">
|
||||||
<textarea id="code-input" class="code-input" spellcheck="false"></textarea>
|
<!-- Textarea is replaced by CodeMirror; autocomplete off prevents browser form restoration -->
|
||||||
|
<textarea id="code-input" class="code-input" spellcheck="false" autocomplete="off" style="display: none;"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hint-area" id="hint-area">
|
<div class="hint-area" id="hint-area">
|
||||||
|
|||||||
Reference in New Issue
Block a user