I am attempting to build a textarea that has the capability to display multiple colors. To achieve this, I created a div and used the following JavaScript code:
element.unselectable = 'off';
element.contentEditable = true;
Now, the div can be edited, but when I click on it, it displays a strange outline. Does anyone know how to disable this outline? Click here for an image showing the outline issue