
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
nelson-editor
Advanced tools
NE是一款简洁的基于react、支持服务端渲染的富文本编辑器
在线demo:戳此
demo中:后端采用koa等;前端采用React+React-Router+Redux+CSS Module等。
npm install nelson-editor --save-dev
import NEditor from 'nelson-editor';
//获取NEditor组件实例
const Editor = NEditor.Editor;
//获取NEditor样式,用于页面显示
const EditorStyle = NEditor.Style;
//安装组件
<Editor ref={e => this.editor = e}
uploadPictureConfig={{
action: '/api/uploadPicture',//本地图片上传地址
format: this.format//本地图片上传后的url格式化方法
}}/>
//用于显示
<div className={style['editor-container']}>
<article ref={e => this.showContent = e} className={EditorStyle['editor-container']}>
</article>
</div>
Editor.val(value:string) 获取/设置编辑器的值
value为空则返回编辑器的值,不为空则设置编辑器的值。
FAQs
Nelson's editor
We found that nelson-editor 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.