fix(web): remove contenteditable=true from top level element (#922)

Setting `contenteditable=true` causes spurious edits of that element
(when pressing dead keys using the BEPO or AZERTY keyboard).
This commit is contained in:
Alex Yusiuk
2025-08-26 18:19:20 -04:00
committed by GitHub
parent 9e23597c50
commit a996d02a66
@@ -759,13 +759,7 @@
class:capturing-inputs={capturingInputs}
style={wrapperStyle}
>
<div
bind:this={screenViewer}
class="screen-viewer"
style={viewerStyle}
contenteditable={isFirefox}
onpaste={ffOnPasteHandler}
>
<div bind:this={screenViewer} class="screen-viewer" style={viewerStyle} onpaste={ffOnPasteHandler}>
<canvas
bind:this={canvas}
onmousemove={getMousePos}