mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 02:11:36 +00:00
fix spacing in the editor
This commit is contained in:
parent
f089779045
commit
dcc4276f09
@ -17,7 +17,9 @@
|
|||||||
document.documentElement.className === 'dark'
|
document.documentElement.className === 'dark'
|
||||||
? 'one-dark'
|
? 'one-dark'
|
||||||
: 'github'
|
: 'github'
|
||||||
editor = window.ace.edit(this.editorId)
|
editor = window.ace.edit(this.editorId, {
|
||||||
|
tabSize: 1,
|
||||||
|
})
|
||||||
let contentElement = document.getElementById(
|
let contentElement = document.getElementById(
|
||||||
`text-${this.editorId}`,
|
`text-${this.editorId}`,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user