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.
@patternslib/pat-redactor
Advanced tools
A Patternslib plugin for redactor.
:warning: If you want to build and use this Pattern you need a Redactor 3 release a folder above the checkout of this repository. Redactor is a properitary WYSIWYG editor for the web with a commercial license which cannot be included here.
To convert any textarea to a redactor-enabled editor just give it the class pat-redactor
.
The following key/values are supported in the data-pat-redactor
data attribute:
toolbar-type
with values being standard
, fixed
or air
toolbar-external
with a css-selector value pointing to the external toolbar element.toolbar-fixed-target
with a css-selector pointing to the layer of the toolbar.buttons
as a comma/space separated list of buttons you wish to have available on the editor.air-buttons
the buttons in the air menu by use of if you have specified air
as the toolbar type.allowed-tags
or denied-tags
as a comma/space separated list of allowed/not-allowed html tags.file-upload
as a url where file uploads are going to be posted to.image-upload
as a url where image uploads are going to be posted to.Download redactor.js and unzip the the file in a directory named redactor
one level above this directory.
In your console,
npm install
gulp bower
gulp
5.0.1 (2021-04-23)
FAQs
A pattern for redactor
The npm package @patternslib/pat-redactor receives a total of 1 weekly downloads. As such, @patternslib/pat-redactor popularity was classified as not popular.
We found that @patternslib/pat-redactor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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.