{"id":19057410,"url":"https://github.com/femessage/v-editor","last_synced_at":"2025-06-17T14:34:13.244Z","repository":{"id":54367287,"uuid":"164103410","full_name":"FEMessage/v-editor","owner":"FEMessage","description":"📝Write md or rich text easily","archived":false,"fork":false,"pushed_at":"2021-02-23T02:43:32.000Z","size":14587,"stargazers_count":21,"open_issues_count":12,"forks_count":15,"subscribers_count":4,"default_branch":"dev","last_synced_at":"2025-04-17T17:36:18.664Z","etag":null,"topics":["editor","oss","rich-text","upload-images"],"latest_commit_sha":null,"homepage":"https://femessage.github.io/v-editor/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FEMessage.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-04T12:13:05.000Z","updated_at":"2023-09-04T06:00:13.000Z","dependencies_parsed_at":"2022-08-13T13:31:19.653Z","dependency_job_id":null,"html_url":"https://github.com/FEMessage/v-editor","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FEMessage%2Fv-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FEMessage%2Fv-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FEMessage%2Fv-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FEMessage%2Fv-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FEMessage","download_url":"https://codeload.github.com/FEMessage/v-editor/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250567900,"owners_count":21451518,"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":["editor","oss","rich-text","upload-images"],"created_at":"2024-11-08T23:57:02.291Z","updated_at":"2025-04-24T05:22:22.500Z","avatar_url":"https://github.com/FEMessage.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# v-editor\n\n[![Build Status](https://travis-ci.com/FEMessage/v-editor.svg?branch=master)](https://travis-ci.com/FEMessage/v-editor)\n[![NPM Download](https://img.shields.io/npm/dm/@femessage/v-editor.svg)](https://www.npmjs.com/package/@femessage/v-editor)\n[![NPM Version](https://img.shields.io/npm/v/@femessage/v-editor.svg)](https://www.npmjs.com/package/@femessage/v-editor)\n[![NPM License](https://img.shields.io/npm/l/@femessage/v-editor.svg)](https://github.com/FEMessage/v-editor/blob/master/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/FEMessage/v-editor/pulls)\n[![Automated Release Notes by gren](https://img.shields.io/badge/%F0%9F%A4%96-release%20notes-00B2EE.svg)](https://github-tools.github.io/github-release-notes/)\n\n根据 [ckeditor5](https://github.com/ckeditor/ckeditor5) 以及 [upload-to-ali](https://github.com/femessage/upload-to-ali) 封装的轻量级富文本编辑器。\n\n![view.png](https://i.loli.net/2020/02/03/5J8Holf2vqrGSwu.png)\n\n## Table of Contents \u003c!-- omit in toc --\u003e\n\n- [Feature](#feature)\n- [Demo](#demo)\n- [Install](#install)\n- [Quick start](#quick-start)\n- [Links](#Links)\n- [License](#license)\n- [Contributors](#contributors)\n\n## Feature\n\n- **oss 上传**：整合了上传组件，只需配置 OSS 的基本信息([配置参考](https://github.com/FEMessage/upload-to-ali/blob/dev/README-zh.md#dotenv))，即可将图片或文件上传到 oss，支持截图粘贴上传\n- **添加网络图片**：可以使用 markdown 图片语法(`![]()`)快速添加网络图片，也可以直接粘贴添加\n- **全屏编辑**：可以让编辑器覆盖整个页面\n\n[⬆ Back to Top](#table-of-contents)\n\n## Demo\n\n- [doc and online demo](https://femessage.github.io/v-editor/)\n\n[⬆ Back to Top](#table-of-contents)\n\n## Install\n\n```sh\n# 上传图片功能依赖upload-to-ali组件\nyarn add @femessage/upload-to-ali @femessage/v-editor\n```\n\n[⬆ Back to Top](#table-of-contents)\n\n## Quick start\n\n```vue\n//step1 确保oss配置 //step2 在需要使用该渲染器的.vue文件中\n\u003ctemplate\u003e\n  \u003cv-editor v-model=\"content\" /\u003e\n\u003c/template\u003e\n\u003cscript\u003e\nimport VEditor from '@femessage/v-editor'\nexport default {\n  components: {\n    VEditor\n  },\n  data() {\n    return {\n      content: ''\n    }\n  }\n}\n\u003c/script\u003e\n```\n\n[⬆ Back to Top](#table-of-contents)\n\n## Links\n\n- [插件开发指南](https://www.yuque.com/docs/share/d52c00bf-d379-45c6-955f-8eb218a4dabf)\n\n[⬆ Back to Top](#table-of-contents)\n\n## License\n\n[MIT](./LICENSE)\n\n[⬆ Back to Top](#table-of-contents)\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\n\u003c!-- prettier-ignore --\u003e\n\u003ctable\u003e\u003ctr\u003e\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/kunzhijia\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/4848041?v=4\" width=\"100px;\" alt=\"kunzhijia\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ekunzhijia\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/FEMessage/v-editor/commits?author=kunzhijia\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/FEMessage/v-editor/issues?q=author%3Akunzhijia\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/FEMessage/v-editor/commits?author=kunzhijia\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/listars\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/20613509?v=4\" width=\"100px;\" alt=\"listars\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003elistars\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/FEMessage/v-editor/issues?q=author%3Alistars\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/FEMessage/v-editor/commits?author=listars\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\u003ctd align=\"center\"\u003e\u003ca href=\"https://donaldshen.github.io/portfolio\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/19591950?v=4\" width=\"100px;\" alt=\"Donald Shen\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDonald Shen\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/FEMessage/v-editor/issues?q=author%3Adonaldshen\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/FEMessage/v-editor/commits?author=donaldshen\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\u003ctd align=\"center\"\u003e\u003ca href=\"http://levy.work\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/9384365?v=4\" width=\"100px;\" alt=\"levy\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003elevy\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#review-levy9527\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e \u003ca href=\"#infra-levy9527\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"#ideas-levy9527\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffemessage%2Fv-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffemessage%2Fv-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffemessage%2Fv-editor/lists"}