From d91d1524eb874844ca7a5e8ec9c30da647803c34 Mon Sep 17 00:00:00 2001 From: raclamusi Date: Mon, 1 Jan 2024 13:48:10 +0900 Subject: [PATCH] =?UTF-8?q?[Web]=20=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=83=9C=E3=83=83=E3=82=AF=E3=82=B9=E3=81=AB=E7=94=BB=E5=83=8F?= =?UTF-8?q?=E3=81=8C=E8=B2=BC=E3=82=8A=E4=BB=98=E3=81=91=E3=82=89=E3=82=8C?= =?UTF-8?q?=E3=82=8B=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Siv3D/lib/Web/jslib/Siv3D.TextInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Siv3D/lib/Web/jslib/Siv3D.TextInput.js b/Siv3D/lib/Web/jslib/Siv3D.TextInput.js index 42c589173..ae49c2abd 100644 --- a/Siv3D/lib/Web/jslib/Siv3D.TextInput.js +++ b/Siv3D/lib/Web/jslib/Siv3D.TextInput.js @@ -5,7 +5,7 @@ mergeInto(LibraryManager.library, { siv3dInitTextInput: function() { const textInput = document.createElement("div"); textInput.id = "textinput"; - textInput.contentEditable = true; + textInput.contentEditable = "plaintext-only"; textInput.style.position = "absolute"; textInput.style.width = "100px"; textInput.style.zIndex = -2;