BertrandBev / code_field

A customizable code text field supporting syntax highlighting
https://bertrandbev.github.io/code_field/
MIT License
232 stars 61 forks source link

Tab character still propagates when editor is in "readonly" mode #33

Open mack-at-pieces opened 2 years ago

mack-at-pieces commented 2 years ago

When the editor is in readonly mode, it seems that when I click the editor and press the "tab" key, the tab character is still inserted into the field. Perhaps I am doing something incorrectly?

Demo Video: https://user-images.githubusercontent.com/30325757/162511423-60811520-5385-4cfa-b8d3-6a4fe0946010.mov

BertrandBev commented 2 years ago

Yep that's not desirable!