# How to disable text selection without using CSS?

**URL:** <https://talk.atomisystems.com/t/how-to-disable-text-selection-without-using-css/8969>\
**Category:** Support Questions\
**Created:** [October 16, 2024, 2:22pm UTC](https://talk.atomisystems.com/t/how-to-disable-text-selection-without-using-css/8969 "2024-10-16T14:22:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanelfranco](https://talk.atomisystems.com/letter_avatar_proxy/v4/letter/j/e36b37/32.png) [@juanelfranco](https://talk.atomisystems.com/u/juanelfranco)\
**Post date:** [October 16, 2024, 2:22pm UTC](https://talk.atomisystems.com/t/how-to-disable-text-selection-without-using-css/8969/1 "2024-10-16T14:22:39Z")

</div>

Hi! is it possible to disable text selection in the whole project?  
I’m using: user-select: none;

But it disables other kinds of interaction.  
Thanks!

---

<div class="post-metadata">

**Author:** ![PhuongThuy\_Le](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/phuongthuy_le/32/6090_2.png) [@PhuongThuy\_Le](https://talk.atomisystems.com/u/PhuongThuy_Le)\
**Post date:** [October 17, 2024, 1:46am UTC](https://talk.atomisystems.com/t/how-to-disable-text-selection-without-using-css/8969/2 "2024-10-17T01:46:46Z")

</div>

Hi Juan,

> [@juanelfranco](#):
>
> But it disables other kinds of interaction.

Please clarify the above point so we can have a better understanding.

BR,  
Thuy

---

<div class="post-metadata">

**Author:** ![juanelfranco](https://talk.atomisystems.com/letter_avatar_proxy/v4/letter/j/e36b37/32.png) [@juanelfranco](https://talk.atomisystems.com/u/juanelfranco)\
**Post date:** [October 17, 2024, 4:30pm UTC](https://talk.atomisystems.com/t/how-to-disable-text-selection-without-using-css/8969/3 "2024-10-17T16:30:52Z")

</div>

thanks, bassically I need that the final user won’t be able to select any text.

 ![text_selection](https://talk.atomisystems.com/uploads/default/original/2X/b/b09eed5aa72297f7b728edaf313ea9c9b832b939.png)

---

<div class="post-metadata">

**Author:** ![PhuongThuy\_Le](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/phuongthuy_le/32/6090_2.png) [@PhuongThuy\_Le](https://talk.atomisystems.com/u/PhuongThuy_Le)\
**Post date:** [October 18, 2024, 3:03am UTC](https://talk.atomisystems.com/t/how-to-disable-text-selection-without-using-css/8969/4 "2024-10-18T03:03:20Z")

</div>

Hi,

Kindly let us know when you set `user-select: none;`, what other problem occurred?  
The more clear you describe, the better support we can provide.

BR,

---

<div class="post-metadata">

**Author:** ![juanelfranco](https://talk.atomisystems.com/letter_avatar_proxy/v4/letter/j/e36b37/32.png) [@juanelfranco](https://talk.atomisystems.com/u/juanelfranco)\
**Post date:** [October 18, 2024, 12:48pm UTC](https://talk.atomisystems.com/t/how-to-disable-text-selection-without-using-css/8969/5 "2024-10-18T12:48:24Z")

</div>

hehe, basically none other interaction “on mouse click” or “on mouse over” occurs.

In other words, there is a different option to using “user-select: none;”?  
Thanks,

---

<div class="post-metadata">

**Author:** ![PhuongThuy\_Le](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/phuongthuy_le/32/6090_2.png) [@PhuongThuy\_Le](https://talk.atomisystems.com/u/PhuongThuy_Le)\
**Post date:** [October 21, 2024, 3:14am UTC](https://talk.atomisystems.com/t/how-to-disable-text-selection-without-using-css/8969/6 "2024-10-21T03:14:53Z")

</div>

Hi,

Setting the CSS `user-select: none;` won’t make kinds of interaction as mouse click or mouse over not occur, @juanelfranco  
Maybe something was set wrong so the issue happened.  
If you want to set for the whole project, you can click on **Edit CSS** and enter:

```auto
* {
    user-select: none;
}

```

BR,  
Thuy
