https://github.com/lesnitsky/editr
📝Simple text editor
https://github.com/lesnitsky/editr
Last synced: 11 months ago
JSON representation
📝Simple text editor
- Host: GitHub
- URL: https://github.com/lesnitsky/editr
- Owner: lesnitsky
- License: mit
- Created: 2020-03-12T15:45:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T08:24:48.000Z (about 3 years ago)
- Last Synced: 2025-03-29T14:35:07.208Z (11 months ago)
- Language: TypeScript
- Size: 907 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - editr
README
# Editr
Tiny (125 loc), simple [designMode](https://developer.mozilla.org/en-US/docs/Web/API/Document/designMode) based text editor focused on clean html output
## Shortcuts (macOS)
- `Ctrl+h` – convert to `
`. Hit again to `h2`, `h3` etc.
- `Ctrl+p` – convert to `
`
- `Ctrl+u` – convert to `
- `
- `Ctrl+o` – convert to `
- `
- `Ctrl+d` – convert to `
- `Shift+Enter` – insert new line w/o creating new html node
---
[](https://lesnitsky.dev?utm_source=editr)
[](https://github.com/lesnitsky/editr)
[](https://twitter.com/lesnitsky_dev)