fix spacing in the editor

This commit is contained in:
Saeed Vaziry 2024-03-29 10:07:14 +01:00
parent f089779045
commit dcc4276f09

View File

@ -17,7 +17,9 @@
document.documentElement.className === 'dark'
? 'one-dark'
: 'github'
editor = window.ace.edit(this.editorId)
editor = window.ace.edit(this.editorId, {
tabSize: 1,
})
let contentElement = document.getElementById(
`text-${this.editorId}`,
)