
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
jsEdit is a wysiwyg-editor entirely written in JavaScript.
It currently only supports plain-text and basic HTML-support (plus adding of images, but no resizing).
RTF and Markdown-support are planned as long time targets.
The best supported browser is chrome/chromium, but Firefox and Edge are also supported.
Every browser that supports HTML5, CSS3 and some ES6 should be fine too.
IE is currently not supported.
import JsEdit from 'jsedit';
editor = new JsEdit(document.body);
You could also specify a config-object:
editor = new JsEdit(document.body, {
onSave: (content, mime) => {
console.log('save ', content, ' as ', mime);
},
menu: {
disable: ['newFile', 'loadFile']
}
});
This config-object would mark the newFile and loadFile as disabled (you could style them like you want, they get the CSS-class 'menu__entry--disabled') and listen to the onSave-event.
Currently you could disable the following MenuEntries:
You could listen to the following events:
The current milestones could be found here. I manage this project in my free time. Because of this I will not upload a roadmap.
I will work on this project when i want to work on it, but feel free to send a merge-request.
FAQs
An editor completely written in JavaScript.
We found that jsedit 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.