
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@twp0217/ngx-tinymce
Advanced tools
基于angular(v2+)的tinymce组件
tinymce 和 @twp0217/ngx-tinymcenpm install tinymce @twp0217/ngx-tinymce --save
angular-cli.json中增加tinymce配置"scripts": [
"node_modules/tinymce/tinymce.js",
"node_modules/tinymce/themes/modern/theme.js"
]
NgxTinymceModuleimport { NgxTinymceModule } from "@twp0217/ngx-tinymce";
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FormsModule,
NgxTinymceModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
<ngx-tinymce [(ngModel)]="html"></ngx-tinymce>
在 map 中添加以下配置
map: {
'ngx-tinymce': 'npm:ngx-tinymce/bundles/ngx-tinymce.umd.min.js'
}
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| options | TinymceOptions | { skin_url = "assets/tinymce/skins/lightgray"; } | 配置项 |
onClick
onDblClick
onMouseDown
onMouseUp
onMouseMove
onMouseOver
onMouseOut
onMouseEnter
onMouseLeave
onKeyDown
onKeyPress
onKeyUp
onContextMenu
onPaste
onInit
onFocus
onBlur
onBeforeSetContent
onSetContent
onGetContent
onPreProcess
onPostProcess
onNodeChange
onUndo
onRedo
onChange
onDirty
onRemove
onExecCommand
onPastePreProcess
onPastePostProcess
FAQs
Angular(v2+) tinymce component
The npm package @twp0217/ngx-tinymce receives a total of 1 weekly downloads. As such, @twp0217/ngx-tinymce popularity was classified as not popular.
We found that @twp0217/ngx-tinymce demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.