Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

fix(editor): allow text selection and input in editable elements (#1209)

nguyenmuoi157f942ea168dee
diff --git a/src/styles/global.css b/src/styles/global.css
index dbb9e1f43..40eb27037 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -41,6 +41,8 @@ html[data-selection-lock] *:not([data-selection-scope], [data-selection-scope] *
input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"]),
textarea,
[contenteditable="true"] {
+ -webkit-user-select: text;
+ user-select: text;
cursor: text;
}