{"id":17176183,"url":"https://github.com/wanglin2/canvas-editor-demo","last_synced_at":"2025-04-13T16:21:35.604Z","repository":{"id":112672282,"uuid":"597934905","full_name":"wanglin2/canvas-editor-demo","owner":"wanglin2","description":"一个基于canvas实现的富文本编辑器demo，仅仅是demo。","archived":false,"fork":false,"pushed_at":"2023-06-29T01:11:02.000Z","size":337,"stargazers_count":75,"open_issues_count":1,"forks_count":18,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-27T07:11:46.935Z","etag":null,"topics":["canvas","canvas-editor"],"latest_commit_sha":null,"homepage":"https://wanglin2.github.io/canvas-editor-demo/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wanglin2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-06T02:55:45.000Z","updated_at":"2025-03-26T07:37:32.000Z","dependencies_parsed_at":"2024-11-07T22:02:40.142Z","dependency_job_id":"c1df2577-ed87-4110-8f4b-490d3e136726","html_url":"https://github.com/wanglin2/canvas-editor-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanglin2%2Fcanvas-editor-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanglin2%2Fcanvas-editor-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanglin2%2Fcanvas-editor-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanglin2%2Fcanvas-editor-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wanglin2","download_url":"https://codeload.github.com/wanglin2/canvas-editor-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741845,"owners_count":21154386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canvas","canvas-editor"],"created_at":"2024-10-14T23:59:28.092Z","updated_at":"2025-04-13T16:21:35.599Z","avatar_url":"https://github.com/wanglin2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 使用canvas实现富文本编辑器demo\n\n支持编辑纯文本，支持设置字体、字号、颜色、背景颜色、删除线、下划线、行高。\n\n支持输入、删除、回车\n\n支持选区，选区支持删除和替换\n\n实现原理可参考文章：[如何用canvas实现一个富文本编辑器](https://juejin.cn/post/7245922875181826108)。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwanglin2%2Fcanvas-editor-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwanglin2%2Fcanvas-editor-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwanglin2%2Fcanvas-editor-demo/lists"}