This is a simple text editor built using Draft.js within ReactJS. It allows users to create and edit text with various formatting options such as headings, bold, italic, underline, and highlighted text.
- Users can format text using Markdown-like syntax:
- Typing
#
as the first string in a line & pressing space makes the text a Heading 1. - Typing
*
as the first string in a line & pressing space makes the text bold. - Typing
**
as the first string in a line & pressing space makes the text red. - Typing
***
as the first string in a line & pressing space makes the text underline. - Typing
```
and pressing space creates highlighted text.
- Typing
- Users can save their work to local storage and retrieve it upon revisiting the page.
To run this project locally, follow these steps:
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
- Install dependencies using
npm install
. - Start the development server using
npm start
. - Open your browser and go to
http://localhost:3000
to view the app.
- ReactJS
- Draft.js
- HTML/CSS
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.