Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
woo-email-editor
Advanced tools
Install ```cmd npm install woo-email-editor html-to-image --save-dev or yarn add woo-email-editor -D ``` Import ```js import WooEmailEditor form "woo-email-editor" ``` Use ```js const wooEmailEditor = new WooEmailEditor({
Install
npm install woo-email-editor html-to-image --save-dev
or
yarn add woo-email-editor -D
Import
import WooEmailEditor form "woo-email-editor"
Use
const wooEmailEditor = new WooEmailEditor({
el: document.getElementById("root"),
appKey:"lsqw50avhp81g4a8iwjljhutewzztq6r",
theme:{
container:"#2C2A39",
drop:"#2C2A39",
card:"#2C2A39",
border:"#fe8033",
fontColor:"rgba(255, 255, 255, 0.85)",
selectedColor:"#fe8033"
},
mergeTags:{}
});
document.getElementById("save").onclick = () => {
const {html,json} = wooEmailEditor.save();
document.getElementById("html").innerHTML = html;
};
document.getElementById("update").onclick = () => {
wooEmailEditor.updateContent({});
};
document.getElementById("theme").onclick = () => {
wooEmailEditor.setTheme("dark");
};
document.getElementById("image").onclick = () => {
wooEmailEditor.getImageBase()
.then(res=>{
console.log(res);
})
.catch(e=>{
console.error(e)
})
};
更新日志
v1.2.5
更正主题色配置
const theme = {
container:"#2C2A39",
drop:"#2C2A39",
card:"#2C2A39",
border:"#fe8033",
fontColor:"rgba(255, 255, 255, 0.85)",
selectedColor:"#fe8033"
}
v1.2.3
添加merge tag 配置
v1.2.1
更改链接地址
v1.2.0
页面细节优化
v1.1.9
添加更深层次的主题色
const theme = {
container:"#2C2A39",
card:"#2C2A39",
cardHeader:"#2C2A39",
border:"#fe8033",
fontColor:"rgba(255, 255, 255, 0.85)",
selectedColor:"#fe8033"
}
v1.1.7
添加主题色功能(dark || light)部分输入组件完善
支持导出blob缩略图
v1.1.3
添加模板功能
FAQs
Install ```cmd npm install woo-email-editor html-to-image --save-dev or yarn add woo-email-editor -D ``` Import ```js import WooEmailEditor form "woo-email-editor" ``` Use ```js const wooEmailEditor = new WooEmailEditor({
The npm package woo-email-editor receives a total of 0 weekly downloads. As such, woo-email-editor popularity was classified as not popular.
We found that woo-email-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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.