Skip to content

Commit

Permalink
Merge pull request #138 from byoungd/main
Browse files Browse the repository at this point in the history
feat: add preview img
  • Loading branch information
big-camel authored Sep 5, 2023
2 parents b66f525 + 35cb879 commit 161179f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@

`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.

## preview
![preview](/assets/preview.png)

You can see a demo here: https://docs.editablejs.com/playground


---

- Why not use `canvas` rendering?
Expand Down
3 changes: 3 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

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

## 预览
![preview](/assets/preview.png)

您可以在此处查看演示:https://docs.editablejs.com/playground

---
Expand Down
Binary file added assets/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 161179f

Please sign in to comment.