Gathering detailed insights and metrics for editorjs-paragraph-with-alignment
Gathering detailed insights and metrics for editorjs-paragraph-with-alignment
npm install editorjs-paragraph-with-alignment
Typescript
Module System
Node Version
NPM Version
77.6
Supply Chain
98.2
Quality
75.5
Maintenance
100
Vulnerability
100
License
JavaScript (61.27%)
HTML (20.42%)
CSS (18.31%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
483,210
Last Day
655
Last Week
2,695
Last Month
12,782
Last Year
180,683
MIT License
48 Stars
82 Commits
20 Forks
18 Branches
9 Contributors
Updated on Mar 02, 2025
Minified
Minified + Gzipped
Latest Version
3.0.0
Package Id
editorjs-paragraph-with-alignment@3.0.0
Size
166.86 kB
NPM Version
6.14.4
Node Version
12.18.0
Published on
Apr 06, 2021
Cumulative downloads
Total Downloads
This is useful editorjs-alignment-blocktune
version | Description |
---|---|
@2.x | support alignment left/center/right |
@3.x | support alignment left/center/right/justify |
Get the package
1npm i --save editorjs-paragraph-with-alignment@3.x
Include module at your application
1const Paragraph = require('editorjs-paragraph-with-alignment');
dist
from repositorydist/bundle.js
file to your page.https://cdn.jsdelivr.net/npm/editorjs-paragraph-with-alignment@3.0.0
The Paragraph tool is included at editor.js by default, so you don't need to connect it manually.
If you want to connect your customized version of this tool, do not forget to use the initialBlock
option of the editor config.
Add a new Tool to the tools
property of the Editor.js initial config.
1var editor = EditorJS({ 2 ... 3 4 tools: { 5 ... 6 paragraph: { 7 class: Paragraph, 8 inlineToolbar: true, 9 }, 10 } 11 12 ... 13});
The Paragraph Tool supports these configuration parameters:
Field | Type | Description |
---|---|---|
placeholder | string | The placeholder. Will be shown only in the first paragraph when the whole editor is empty. |
preserveBlank | boolean | (default: false ) Whether or not to keep blank paragraphs when saving editor data |
Field | Type | Description |
---|---|---|
text | string | paragraph's text |
alignment | string | left/center/right/justify |
1{ 2 "type" : "paragraph", 3 "data" : { 4 "text" : "Check out our projects on a <a href=\"https://github.com/codex-team\">GitHub page</a>.", 5 "alignment": "left" 6 } 7}
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 2/27 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
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
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
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
15 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-03-03
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 MoreLast Day
25.2%
655
Compared to previous day
Last Week
-5.2%
2,695
Compared to previous week
Last Month
2.3%
12,782
Compared to previous month
Last Year
0.4%
180,683
Compared to previous year