{"id":17967459,"url":"https://github.com/msidolphin/vue-simple-ueditor","last_synced_at":"2026-02-06T15:05:32.310Z","repository":{"id":33024935,"uuid":"149989667","full_name":"msidolphin/vue-simple-ueditor","owner":"msidolphin","description":"a vue vomponent based on ueditor","archived":false,"fork":false,"pushed_at":"2022-12-08T13:25:18.000Z","size":4998,"stargazers_count":0,"open_issues_count":24,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-07T01:56:24.723Z","etag":null,"topics":["ueditor","vue"],"latest_commit_sha":null,"homepage":"","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/msidolphin.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}},"created_at":"2018-09-23T14:01:25.000Z","updated_at":"2020-02-05T03:28:30.000Z","dependencies_parsed_at":"2023-01-14T23:15:55.038Z","dependency_job_id":null,"html_url":"https://github.com/msidolphin/vue-simple-ueditor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/msidolphin/vue-simple-ueditor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msidolphin%2Fvue-simple-ueditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msidolphin%2Fvue-simple-ueditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msidolphin%2Fvue-simple-ueditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msidolphin%2Fvue-simple-ueditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msidolphin","download_url":"https://codeload.github.com/msidolphin/vue-simple-ueditor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msidolphin%2Fvue-simple-ueditor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264027561,"owners_count":23546098,"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":["ueditor","vue"],"created_at":"2024-10-29T14:08:54.394Z","updated_at":"2026-02-06T15:05:32.273Z","avatar_url":"https://github.com/msidolphin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-simple-ueditor\n\n\u003e 基于百度UEditor的Vue组件\n\n## Install\n```bash\nnpm install vue-simple-ueditor -S\n```\n\n## Usage\n\n\n\u003e 复制dist目录下的ueditor到你的项目中（修改了部分源码）\n\n\u003e copy the ueditor in the dist directory to your project (Modified part of the source code)\n\n### import\n```js\nimport 'vue-simple-ueditor/dist/css/vue-ueditor.css'\nimport VueUEditor from 'vue-simple-ueditor'\nVue.use(VueUEditor)\n```\n### use\n```vue\n\u003ctemplate\u003e\n  \u003cdiv id=\"app\"\u003e\n    \u003cueditor v-model=\"value\" ref=\"ueditor\" :options=\"options\" @change=\"onContentChange\"\u003e\u003c/ueditor\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nexport default {\n  name: 'App',\n  data () {\n    return {\n      value: '',\n      options: {\n        UEDITOR_HOME_URL: '/static/ueditor/' // ueditor静态资源目录 默认为/static/ueditor/\n      }\n    }\n  },\n  methods: {\n    onContentChange (content) {\n      console.log('content：' + content)\n    }\n  }\n}\n\u003c/script\u003e\n```\n\n## Props\n\n| attribute | type | description |\n| ------ | ------ | ------ |\n| value | String | v-model |\n| options | Object | ueditor options   http://fex.baidu.com/ueditor/ |\n| focus | Boolean | focus the component |\n| disabled | Boolean | whether component is disabled |\n\n\n## Events\n\n| event | description | params |\n| ------ | ------ | ------ |\n| change | triggers when the value change | content |\n\n## Build Setup\n\n``` bash\n# install dependencies\nnpm install\n\n# serve with hot reload at localhost:8080\nnpm run dev\n\n# build for production with minification\nnpm run build\n\n# build for production and view the bundle analyzer report\nnpm run build --report\n\n# run unit tests\nnpm run unit\n\n# run all tests\nnpm test\n```\n\nFor a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsidolphin%2Fvue-simple-ueditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsidolphin%2Fvue-simple-ueditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsidolphin%2Fvue-simple-ueditor/lists"}