commit 93d3dbfd8fdea60cbb2a1bd31d16604c7fb14b57 Author: Aljaz Grilc Date: Thu Jan 25 14:06:36 2024 +0100 Initial commit diff --git a/index.html b/index.html new file mode 100644 index 0000000..742110d --- /dev/null +++ b/index.html @@ -0,0 +1,16 @@ + + + + + + Editor + + + + + + + diff --git a/online-editor.js b/online-editor.js new file mode 100644 index 0000000..235acba --- /dev/null +++ b/online-editor.js @@ -0,0 +1,5 @@ +window.onload = () => { + const textArea = document.getElementById('besana-editor') + const textAreaValue = textArea.value + console.log(textAreaValue) +} diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..9074cca --- /dev/null +++ b/styles.css @@ -0,0 +1,15 @@ +#besana-editor { + width: 100%; + height: 100%; +} + +/* Mistake types styles */ +.typo-mistake { + text-decoration: underline; + text-decoration-color: red; +} + +.other-mistake { + text-decoration: underline; + text-decoration-color: blue; +}