ace editor

This commit is contained in:
Jan Prochazka
2021-03-07 10:17:05 +01:00
parent c6e95dbb6a
commit 00d5b25baa
6 changed files with 23 additions and 25 deletions

View File

@@ -5,12 +5,12 @@
let clientHeight;
</script>
<div bind:clientWidth bind:clientHeight>
<div bind:clientWidth bind:clientHeight class="ace-container">
<AceEditorCore {...$$props} width={clientWidth} height={clientHeight} />
</div>
<style>
div {
.ace-container {
position: absolute;
left: 0;
top: 0;