Update editor.html

This commit is contained in:
Namhyeon Go 2025-04-18 19:31:23 +09:00
parent 05ea48a0be
commit ea412908ef

View File

@ -15,19 +15,16 @@
#container { #container {
border: 1px solid grey; border: 1px solid grey;
height: calc(100% - 167px); height: calc(100% - 167px);
display: flex;
overflow: hidden; overflow: hidden;
} }
#editor { #editor {
float: left; flex: 3;
width: 75%;
height: 100%;
} }
#promptEditor { #promptEditor {
float: left; flex: 1;
width: 25%;
height: 100%;
} }
.banner { .banner {
@ -224,7 +221,7 @@
} }
}; };
const getSuggestions = () => axios.get(`${serverPrefix}completion/${encodeURIComponent(word)}`) const getSuggestions = (word) => axios.get(`${serverPrefix}completion/${encodeURIComponent(word)}`)
.then(response => { .then(response => {
const parser = new XMLParser(); const parser = new XMLParser();
const result = parser.parse(response.data); const result = parser.parse(response.data);