Installations
npm install ngx-tinymce
Developer Guide
Typescript
No
Module System
ESM
Node Version
22.9.0
NPM Version
10.8.3
Score
76.3
Supply Chain
100
Quality
77.9
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (51.89%)
HTML (36.96%)
JavaScript (7.43%)
CSS (3.71%)
Developer
Download Statistics
Total Downloads
673,780
Last Day
374
Last Week
1,776
Last Month
8,745
Last Year
106,076
GitHub Statistics
80 Stars
39 Commits
15 Forks
5 Watching
8 Branches
4 Contributors
Bundle Size
6.35 kB
Minified
2.16 kB
Minified + Gzipped
Package Meta Information
Latest Version
19.0.0
Package Id
ngx-tinymce@19.0.0
Unpacked Size
35.05 kB
Size
9.03 kB
File Count
10
NPM Version
10.8.3
Node Version
22.9.0
Publised On
23 Nov 2024
Total Downloads
Cumulative downloads
Total Downloads
673,780
Last day
-22.7%
374
Compared to previous day
Last week
-27.6%
1,776
Compared to previous week
Last month
11.4%
8,745
Compared to previous month
Last year
-0.9%
106,076
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
ngx-tinymce
Tinymce Components build with Angular.
DEMO
Installation instructions
Install ngx-tinymce
from npm
1npm install ngx-tinymce --save
Recommend: You will need tinymce.min.js
file via Build Customizer generate.
Import the ngx-tinymce
in to your root AppModule
.
1import { NgxTinymceModule } from 'ngx-tinymce'; 2 3@NgModule({ 4 imports: [ 5 NgxTinymceModule.forRoot({ 6 // Local assets 7 baseURL: './assets/tinymce/', 8 // or cdn 9 baseURL: '//cdnjs.cloudflare.com/ajax/libs/tinymce/5.7.1/', 10 }), 11 ], 12}) 13export class AppModule {}
If the local path should be adding assets configuration in angular.json
:
1"assets": [ 2 { 3 "glob": "**/tinymce.min.js", 4 "input": "./node_modules/tinymce", 5 "output": "assets/tinymce/" 6 } 7]
Standalone
1@Component({ 2 template: `<tinymce />`, 3 imports: [TinymceComponent], 4}) 5export class App
Globa config:
1bootstrapApplication(AppComponent, {
2 providers: [provideTinymce({ baseURL: '//cdn.tiny.cloud/1/no-api-key/tinymce/6/' })],
3});
Usage
1import { Component } from '@angular/core'; 2 3@Component({ 4 selector: 'my-app', 5 template: `<tinymce [(ngModel)]="html"></tinymce>`, 6}) 7export class AppComponent { 8 html = ``; 9}
How to use it with:
angular-cli
please refer to Installation instructions.stackblitz
sample available here.
API
Name | Type | Default | Summary |
---|---|---|---|
config | any | see configure | |
loading | string,TemplateRef | - | Loading status of tinymce |
disabled | boolean | false | Set tinymce mode is readonly if true |
inline | boolean | false | Inline editor |
delay | number | 0 | Delayed rendering, unit is 'millisecond' |
placeholder | string | - | Placeholder for tinymce, NOTE: dependent on tinymce-placeholder |
ready | EventEmitter<any> | - | Tinymce ready callback |
Troubleshooting
Please follow this guidelines when reporting bugs and feature requests:
- Use GitHub Issues board to report bugs and feature requests (not our email address)
- Please always write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.
Thanks for understanding!
License
The MIT License (see the LICENSE file for the full text)
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 2/30 approved changesets -- score normalized to 0
Reason
1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/ci.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
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
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/cipchk/ngx-tinymce/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/cipchk/ngx-tinymce/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/cipchk/ngx-tinymce/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/cipchk/ngx-tinymce/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/cipchk/ngx-tinymce/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/cipchk/ngx-tinymce/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/cipchk/ngx-tinymce/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/cipchk/ngx-tinymce/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/cipchk/ngx-tinymce/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/cipchk/ngx-tinymce/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/cipchk/ngx-tinymce/ci.yml/master?enable=pin
- Info: 0 out of 4 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 7 third-party GitHubAction dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 16 are checked with a SAST tool
Score
3.4
/10
Last Scanned on 2025-02-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 More