When I set a pre element to contenteditable and put focus in it for editing, it receives a dotted border around it that doesn\'t look very nice. The border isn\'t there when foc
Set the outline property to 0px solid transparent;. You might have to set it on the :focus state as well, for example:
0px solid transparent;
:focus
[contenteditable]:focus { outline: 0px solid transparent; }