lyngweb: refactor SiteHighlight to align package structure and add adjustable textarea height
This commit is contained in:
1 parent
391e200f19
commit
9a4131ee3d
4 files changed
+62
-28
No files matched your search
@@ -145,7 +145,9 @@ fun TryLyngPage() {
|
||||
ev.preventDefault()
|
||||
runCode()
|
||||
}
|
||||
}
|
||||
},
|
||||
// Keep current initial size but allow the editor to grow with content
|
||||
autoGrow = true
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@ package net.sergeych.site
|
||||
import net.sergeych.lyng.highlight.HighlightKind
|
||||
import net.sergeych.lyng.highlight.HighlightSpan
|
||||
import net.sergeych.lyng.highlight.SimpleLyngHighlighter
|
||||
import net.sergeych.lyngweb.SiteHighlight
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertContains
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
Reference in new issue
Block a user