This template provides a minimal setup for a Document Editor built with React and Vite. It integrates CKEditor to deliver a user-friendly layout and rich text editing capabilities.
- Rich Text Editing: The CKEditor integration offers a customizable toolbar, enabling easy formatting, image insertion, and content management.
- File Import/Export: Import
.docx
documents and export your work in Word or PDF formats for seamless compatibility. - Fast Development: Built with Vite, this project utilizes fast refresh for an efficient development process.
Make sure you have Node.js and npm installed on your machine.
-
Clone the repository:
git clone https://github.com/SoorajVp/InkEdit.git
-
Navigate to the project folder:
cd InkEdit
-
Update environment credentials:
- Create a
.env
file in the root of your project.
InkEdit/ ├── server/ ├── src/ ├── .env ├── package.json └── ...
- Add your environment variables in the
.env
file:
VITE_CKEDITOR_LICENSE_KEY = 'YOUR_LICENSE_KEY' VITE_CKBOX_TOKEN_URL = 'YOUR_CKBOX_TOKEN_URL'
- Create a
-
Install dependencies:
npm install
-
To start the development server:
npm run dev
-
Navigate to the server folder:
cd server
-
Install server dependencies:
npm install
-
Start the backend server:
npm run dev
- CKEditor Documentation - Official documentation for CKEditor.
- Vite Documentation - Official guide for Vite.