Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Kjablonska/Text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

14 Commits

Repository files navigation

Text editor

Simple text editor developed using vanilla JS and Node.js on backend side.

Description

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.

Run&build

  1. Go to the server directory and type in the terminal npm install node express.
    After all is installed execute: node server.js.
  2. Go to the browser and put index.html file there.

Options

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.

Demo

alt text

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /