IDE copy paste space converted to tabs


I am using self-hosted GitLab 15.10.7. Each time I copy some text and paste into the editor, the blank spaces are converted into tabs. How can I disable this behavior?

Best regards

Any idea anyone? Is there really no way to solve this problem?