Skip to content

Commit f9719c8

Browse files
committed
Add autocomplete plugin
1 parent ef1d27d commit f9719c8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ The next step is to set up a `template` to link `code-input` to your syntax-high
8484
<!--...-->
8585
<script src="plugins/autodetect.js"></script>
8686
<script src="plugins/indent.js"></script>
87+
<script src="plugins/autocomplete.js"></script>
8788
<!--...-->
8889
<script>
8990
codeInput.registerTemplate("syntax-highlighted",

code-input.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ code-input {
99
top: 0;
1010
left: 0;
1111
display: block;
12+
/* Only scroll inside elems */
13+
overflow: hidden;
1214

1315
/* Normal inline styles */
1416
padding: 8px;

0 commit comments

Comments
 (0)