I want that when TAB was pressed, the code will be indented. I tried using these functions from this question.
Nothing works because I have 3 textareas.
const htmlField = document.getElementById("html");
const cssField = document.getElementById("css");
const jsField = document.getElementById("js");
One next to the other. When I press TAB, the textarea beside is selected and nothing happens in the original source textarea from the event.