Gathering detailed insights and metrics for @yosgo/editor
Gathering detailed insights and metrics for @yosgo/editor
npm install @yosgo/editor
Typescript
Module System
53.7
Supply Chain
77.1
Quality
79.2
Maintenance
50
Vulnerability
99.3
License
TypeScript (100%)
Total Downloads
2,648
Last Day
1
Last Week
11
Last Month
41
Last Year
197
2 Stars
20 Commits
2 Watching
4 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
1.1.23
Package Id
@yosgo/editor@1.1.23
Unpacked Size
31.08 kB
Size
8.66 kB
File Count
14
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
11
Compared to previous week
Last month
4,000%
41
Compared to previous month
Last year
-46.6%
197
Compared to previous year
2
3
The editor use React, Typescript, react-quill
styled-components is peerDependencies. If you don't install styled-components yarn add styled-components
first.
yarn add @yosgo/editor
props | required | type | description |
---|---|---|---|
value | yes | string | 編輯器中的內容,html 的字串內容 |
onChange | yes | function (html: string) => void | 當編輯器改變時取得 html 內容,並執行自訂函式 |
mode | no | string "normal", "simple" | 簡單模式僅支援粗體、文字超連結、圖片、影片。預設為正常模式 |
imgurClientId | no | string | 圖片上傳至指定 imgur application。無此屬性編輯器僅提供貼上圖片網址的功能 |
props | required | type | description |
---|---|---|---|
html | yes | string | 顯示 HTML 內容。透過 Viewer 元件,讓編輯情境與查看情境時的內容樣式保持一致 |
Issue | 相關連結 | 狀態 |
---|---|---|
react-quill build issue solve with "esModuleInterop": true | Link | 修正 |
react-quill build issue solve with "resolutions": {"@types/quill": "1.3.6" } | Link | 修正 |
extra lines | Link | 修正 |
BlockEmbed cause copy paste error | Link | 修正 |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/20 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
11 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More