{"id":13514767,"url":"https://github.com/notadd/neditor","last_synced_at":"2025-09-29T00:31:00.569Z","repository":{"id":39786103,"uuid":"79628314","full_name":"notadd/neditor","owner":"notadd","description":"基于 ueditor的更现代化的富文本编辑器，支持HTTPS","archived":true,"fork":false,"pushed_at":"2022-12-05T13:11:22.000Z","size":132696,"stargazers_count":1896,"open_issues_count":26,"forks_count":268,"subscribers_count":51,"default_branch":"master","last_synced_at":"2025-09-11T19:09:26.752Z","etag":null,"topics":["editor","neditor","notadd","ueditor"],"latest_commit_sha":null,"homepage":"https://demo.neditor.notadd.com/","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/notadd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-01-21T06:26:38.000Z","updated_at":"2025-08-31T10:03:12.000Z","dependencies_parsed_at":"2023-01-24T05:30:26.459Z","dependency_job_id":null,"html_url":"https://github.com/notadd/neditor","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/notadd/neditor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notadd%2Fneditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notadd%2Fneditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notadd%2Fneditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notadd%2Fneditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notadd","download_url":"https://codeload.github.com/notadd/neditor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notadd%2Fneditor/sbom","scorecard":{"id":694858,"data":{"date":"2025-08-11","repo":{"name":"github.com/notadd/neditor","commit":"e9c9d48f22c4fc14ad94aba902cbf2354441b020"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":3,"reason":"Found 3/8 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: third-party/snapscreen/UEditorSnapscreen.exe:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":0,"reason":"36 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-wxhq-pm8v-cw75","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-957j-59c2-j692","Warn: Project is vulnerable to: GHSA-8mmm-9v2q-x3f9","Warn: Project is vulnerable to: GHSA-m5pj-vjjf-4m3h","Warn: Project is vulnerable to: GHSA-j383-35pm-c5h4","Warn: Project is vulnerable to: GHSA-rm36-94g8-835r","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-hxm2-r34f-qmc5","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq","Warn: Project is vulnerable to: GHSA-v2p6-4mp7-3r9v","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T03:23:14.245Z","repository_id":39786103,"created_at":"2025-08-22T03:23:14.245Z","updated_at":"2025-08-22T03:23:14.245Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277450938,"owners_count":25819971,"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","status":"online","status_checked_at":"2025-09-28T02:00:08.834Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","neditor","notadd","ueditor"],"created_at":"2024-08-01T05:01:01.514Z","updated_at":"2025-09-29T00:30:58.765Z","avatar_url":"https://github.com/notadd.png","language":"JavaScript","readme":"\r\n\u003cp align=\"center\"\u003e\r\n\u003ca href=\"https://jq.qq.com/?_wv=1027\u0026k=5qVzRh4\" title=\"Notadd 官方技术交流群\"\u003e\u003cimg src=\"https://img.shields.io/badge/QQ%20Group-321735506-6782d6.svg?style=flat-square\"\u003e\u003c/a\u003e\r\n\u003ca href=\"https://travis-ci.org/notadd/neditor\" title=\"Build Status\"\u003e\u003cimg src=\"https://img.shields.io/travis/notadd/neditor/master.svg?style=flat-square\"\u003e\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n## 新版发布\r\n\r\n2.1 发布，此次版本移除了后端相关代码，纯 ajax 提交，请配置 `neditor.config.js` `neditor.service.js`，支持各种后端或者云存储。\r\n\r\n## 捐赠\r\n\r\n该项目需要您的支持， [捐赠](https://gitee.com/notadd/neditor?donate=true)  以支持此项目的发展。\r\n\r\n\r\n## 第一步：下载编辑器\r\n\r\n**方式一：完整安装包 （推荐）**\r\n\r\n* [Neditor.tar.xz](https://github.com/notadd/neditor/raw/gh-pages/neditor.tar.xz)\r\n\r\n**方式二： npm安装**\r\n\r\n`npm i @notadd/neditor -S`\r\n\r\n**方式三：编译安装**\r\n\r\n```shell\r\ngit clone https://github.com/notadd/neditor.git\r\nnpm install\r\nnpm run build\r\n```\r\n\r\n### 第二步：在浏览器打开 index.html ###\r\n\r\n进入到目录 `dist` , 使用浏览器打开文件 `index.html` 。\r\n\r\n如果看到了下面这样的编辑器，恭喜你，初次部署成功！\r\n\r\n![部署成功](https://www.notadd.com/src/neditor-demo.webp)\r\n\r\n## 相关版本\r\n\r\n[Angular 版 Neditor](https://github.com/notadd/ngx-neditor)    \r\n\r\n[Vue 版 Neditor](https://github.com/caiya/vue-neditor-wrap)   【第三方维护】\r\n\r\n[Rails 版 Neditor](https://github.com/zcpdog/neditor_rails)   【第三方维护】\r\n\r\n## 技术支持\r\n\r\n该项目基于 MIT 协议开源，任何组织/企业以及个人都可以免费使用（保留版权）。    \r\n如果您需要额外商业技术支持或者定制编辑器，请联系 QQ：1256985886\r\n\r\n\r\n\r\n其他版本待添加\r\n\r\n### 自定义的参数\r\n\r\n编辑器有很多可自定义的参数项，在实例化的时候可以传入给编辑器：\r\n\r\n```javascript\r\nvar ue = UE.getEditor('container', {\r\n    autoHeight: false\r\n});\r\n```\r\n\r\n配置项也可以通过 `neditor.config.js` 文件修改，具体的配置方法请看 [前端配置项说明](http://fex.baidu.com/ueditor/#start-config1.4 前端配置项说明.md)、[后端配置项说明](http://fex.baidu.com/ueditor/#server-config)\r\n\r\n### 编辑器图片、视频、涂鸦、附件上传service\r\n\r\n编辑器上传逻辑单独在 `neditor.service.js` 文件配置，具体的配置方法见注释\r\n\r\n### 设置和读取编辑器的内容\r\n\r\n通 getContent 和 setContent 方法可以设置和读取编辑器的内容\r\n\r\n```javascript\r\nvar ue = UE.getContent();\r\nue.ready(function(){\r\n    //设置编辑器的内容\r\n    ue.setContent('hello');\r\n    //获取html内容，返回: \u003cp\u003ehello\u003c/p\u003e\r\n    var html = ue.getContent();\r\n    //获取纯文本内容，返回: hello\r\n    var txt = ue.getContentTxt();\r\n});\r\n```\r\n\r\nUeditor 的更多API请看[API 文档](http://ueditor.baidu.com/doc \"ueditor API 文档\")\r\n\r\n##  下载地址\r\n\r\nNeditor 码云： [http://gitee.com/notadd/neditor](http://gitee.com/notadd/neditor \"Neditor github 地址\")\r\n\r\nNeditor github 地址：[http://github.com/notadd/neditor](http://github.com/notadd/neditor \"Neditor github 地址\")\r\n\r\n## 相关链接\r\n\r\nUeditor 官网：[http://ueditor.baidu.com](http://ueditor.baidu.com \"ueditor 官网\")\r\n\r\nUeditor API 文档：[http://ueditor.baidu.com/doc](http://ueditor.baidu.com/doc \"ueditor API 文档\")\r\n\r\n## 详细文档\r\n\r\nUeditor 文档：[http://fex.baidu.com/ueditor/](http://fex.baidu.com/ueditor/)\r\n\r\n注: 对IE8以下版本不再承诺兼容\r\n\r\n\r\n### 关于 HTTPS\r\n\r\n使用了 [又拍云CDN](https://console.upyun.com/register/?invite=r17EYO3BW) 服务，支持跨域 和 https。\r\n\r\n如果有需要，也可将下面域名改成自己的。\r\n```\r\nimgbaidu.b0.upaiyun.com\r\ntingapi.b0.upaiyun.com\r\n```\r\n\r\n## 联系我们 ##\r\n\r\nNeditor官方交流群：257753500\r\n\r\nQQ 群： 321735506\r\n\r\n[issue](http://github.com/notadd/neditor/issues)\r\n\r\n\r\n\r\n## Todo\r\n\r\n### 2.1\r\n\r\n- [x] 将上传封装为 service ，支持非 GraphQL 接口。\r\n- [x] 细节样式修改(美化)\r\n\r\n### 2.2\r\n\r\n- [ ] word 内图片自动上传\r\n- [x] 粘贴图片转为本地图片（图片本地化）\r\n\r\n### 2.3\r\n\r\n- [ ] 上传文件/图片无需后端\r\n\r\n### 3.0\r\n\r\n- [ ] 使用 Typescript 重构\r\n- [ ] 草稿箱功能与离线保存\r\n- [ ] service worker 特性\r\n- [ ] 实现 2.0 的大部分功能\r\n\r\n## 其他项目：Notadd\r\n\r\nhttps://github.com/notadd/notadd\r\n\r\n\r\n ## 感谢提供赞助：\r\n \r\n \r\n \u003ca href=\"https://www.ucloud.cn/site/active/gift.html?ytag=notadd\"\u003e\u003cimg src=\"https://www.notadd.com/src/ucloud_logo.svg\" width=\"150\" /\u003e\u003c/a\u003e \u0026nbsp;\r\n\r\n\r\n","funding_links":[],"categories":["Rich text editor","JavaScript","Repository","27. 富文本编辑器/Markdown编辑器/Markdown解析器"],"sub_categories":["Editor","24.3 Web Sockets"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotadd%2Fneditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotadd%2Fneditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotadd%2Fneditor/lists"}