mirror of https://github.com/gorhill/uBlock.git
[codemirror] use inputStyle=contenteditable for better select-all performance
This commit is contained in:
parent
d2be9aeb0b
commit
34efe9d6f2
|
@ -36,6 +36,7 @@ var cmEditor = new CodeMirror(
|
|||
document.getElementById('userFilters'),
|
||||
{
|
||||
autofocus: true,
|
||||
inputStyle: 'contenteditable',
|
||||
lineNumbers: true,
|
||||
lineWrapping: true,
|
||||
styleActiveLine: true
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
document.getElementById('content'),
|
||||
{
|
||||
autofocus: true,
|
||||
inputStyle: 'contenteditable',
|
||||
lineNumbers: true,
|
||||
lineWrapping: true,
|
||||
readOnly: true,
|
||||
|
|
Loading…
Reference in New Issue