Skip to content

Commit 161179f

Browse files
authored
Merge pull request #138 from byoungd/main
feat: add preview img
2 parents b66f525 + 35cb879 commit 161179f

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44

55
`Editable` is an extensible rich text editor framework that focuses on stability, controllability, and performance. To achieve this, we did not use the native editable attribute [~~contenteditable~~](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable), but instead used a custom renderer that allows us to better control the editor's behavior. From now on, you no longer have to worry about cross-platform and browser compatibility issues (such as `Selection`, `Input`), just focus on your business logic.
66

7+
## preview
8+
![preview](/assets/preview.png)
9+
710
You can see a demo here: https://docs.editablejs.com/playground
811

12+
913
---
1014

1115
- Why not use `canvas` rendering?

README.zh-CN.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
Editable 是一个可扩展的富文本编辑器框架,专注于稳定性、可控性和性能。为此,我们没有使用原生的可编辑属性[~~contenteditable~~](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable),而是使用了一个自定义的渲染器,这使得我们可以更好地控制编辑器的行为。从此,您不必再担心跨平台和浏览器兼容性问题(例如`Selection``Input`),只需专注于您的业务逻辑。
44

5+
## 预览
6+
![preview](/assets/preview.png)
7+
58
您可以在此处查看演示:https://docs.editablejs.com/playground
69

710
---

assets/preview.png

252 KB
Loading

0 commit comments

Comments
 (0)