Simple text editor developed using vanilla JS and Node.js on backend side.
The aim of this project is to develop a simple text editor which supports bolding, italics and bullet points.
The text is stored as a JSON file in assetes/text.json.
It is possible to save the text.
The app does not support Internet Explorer, as it uses the fetch api. If the user's browser is IE, information on browser support is displayed.
- Go to the server directory and type in the terminal
npm install node express
.
After all is installed execute:node server.js
. - Go to the browser and put
index.html
file there.
Top menu:
- B - bolds the selected text,
- I - makes the selected text italic,
- • - adds bullet points,
- 🗑️ (Trash Can emoji) - if any text is selected: removes the text, else: removes the whole text,
- 🧐 (Face with Monocle emoji) - displays manual.
Bottom buttons:
- Save - saves the current text.
- Reset - restores the last saved text.