{"id":14973644,"url":"https://github.com/lunnlew/vue2-tinymce7","last_synced_at":"2026-01-20T00:40:08.766Z","repository":{"id":237133423,"uuid":"793885703","full_name":"lunnlew/vue2-tinymce7","owner":"lunnlew","description":"基于tinymce7适配vue2的富文本编辑器组件","archived":false,"fork":false,"pushed_at":"2024-04-30T07:05:22.000Z","size":298,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T01:33:11.032Z","etag":null,"topics":["tinymce7","vue2"],"latest_commit_sha":null,"homepage":"https://v2t7.forisy.com/","language":"Vue","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/lunnlew.png","metadata":{"files":{"readme":"readme.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-30T03:55:42.000Z","updated_at":"2024-08-16T05:40:37.000Z","dependencies_parsed_at":"2024-04-30T04:56:59.433Z","dependency_job_id":"148fefc8-9a1d-4413-8900-b07d4f0fdd4a","html_url":"https://github.com/lunnlew/vue2-tinymce7","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"3e8cb92834a385f92b4cd05b903edf822edfbe41"},"previous_names":["lunnlew/vue2-tinymce7"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunnlew%2Fvue2-tinymce7","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunnlew%2Fvue2-tinymce7/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunnlew%2Fvue2-tinymce7/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunnlew%2Fvue2-tinymce7/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lunnlew","download_url":"https://codeload.github.com/lunnlew/vue2-tinymce7/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238422861,"owners_count":19469636,"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":["tinymce7","vue2"],"created_at":"2024-09-24T13:49:08.955Z","updated_at":"2025-10-27T02:31:00.971Z","avatar_url":"https://github.com/lunnlew.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 说明\n\n增强 WPS 的图文混合粘贴功能，针对 WORD 或者 WPS 复制后进行粘贴的可能无法处理本地图片文件，自动加上占位图片，以便于手动点击上传\n\n## 安装\n\n```sh\nnpm install --save vue2-tinymce7\n```\n\n## vue dev 额外工作\n\n复制`node_modules/vue2-tinymce7/dist/tinymce`到`public`下\n\n## webpack 构建配置\n\n```js\nconst CopyWebpackPlugin = require(\"copy-webpack-plugin\");\n\nmodule.exports = {\n  // ...\n  plugins: [\n    // ...\n    new CopyWebpackPlugin([\n      { from: \"node_modules/vue2-tinymce7/dist/tinymce\", to: \"tinymce\" },\n    ]),\n  ],\n};\n```\n\n## 全局导入\n\n```js\nimport Vue2Tinymce7Component from \"vue2-tinymce7\";\nVue.use(Vue2TinymceComponent);\n```\n\n## 局部导入\n\n```js\nimport { Vue2Tinymce } from \"vue2-tinymce7\";\n```\n\n## 组件使用\n\n```html\n\u003cVue2Tinymce\n  :value=\"value\"\n  :base_url=\"'/tinymce/'\"\n  @ready=\"onReady\"\n  @inputChange=\"onInputChange\"\n  @editorChange=\"onEditorChange\"\n\u003e\n\u003c/Vue2Tinymce\u003e\n```\n\n## 开发\n\n```sh\n# 安装\nnpm install\n# 构建库\nnpm run build-lib\n# 运行示例\nnpm run serve\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunnlew%2Fvue2-tinymce7","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flunnlew%2Fvue2-tinymce7","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunnlew%2Fvue2-tinymce7/lists"}