Johannes is a lightweight block based text editor written in TypeScript. It ships without any front end framework dependencies and focuses on providing an easy to embed editing experience. The project powers a small demo application included in this repository and can be integrated into other web applications.
- Pure TypeScript – no additional framework dependencies are required.
- Block based editing with support for paragraphs, headings, tables and more.
- Undo/redo support using a
Memento
implementation. - Syntax highlighted code blocks via
highlight.js
.
Install dependencies and start the development server:
npm install
npm start
To build the production bundle run:
npm run build
The project contains Jest unit tests. Execute them with:
npm test
src/
– TypeScript sources and style sheetsdemo/
– static files used by the demo applicationtests/
– helper files for unit tests
Please see CONTRIBUTING.md for guidelines on how to propose changes and run the project locally.
This project is released under the MIT License.