From 93d3dbfd8fdea60cbb2a1bd31d16604c7fb14b57 Mon Sep 17 00:00:00 2001 From: Aljaz Grilc Date: Thu, 25 Jan 2024 14:06:36 +0100 Subject: [PATCH] Initial commit --- index.html | 16 ++++++++++++++++ online-editor.js | 5 +++++ styles.css | 15 +++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 index.html create mode 100644 online-editor.js create mode 100644 styles.css 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; +}