Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
slate-edit-blockquote
Advanced tools
A Slate plugin to handle keyboard events in blockquotes. Blockquotes can contain blocks.
npm install slate-edit-blockquote
Natural keybindings:
import EditBlockquote from 'slate-edit-blockquote'
const plugins = [
EditBlockquote()
]
This plugin accepts options to redefine the following block types:
[type: String]
— type for blockquotes[typeDefault: String]
— type for default block in blockquote.slate-edit-blockquote
exports utilities and changes:
utils.isSelectionInBlockquote
plugin.utils.isSelectionInBlockquote(value: Value) => Boolean
Return true if selection is inside a blockquote (and it can be unwrap).
changes.wrapInBlockquote
plugin.changes.wrapInBlockquote(change: Change) => Change
Wrap current block in a new blockquote.
changes.unwrapBlockquote
plugin.changes.unwrapBlockquote(change: Change) => Change
Unwrap from current blockquote if any.
[0.5.0] - 2017-11-08
FAQs
A Slate plugin to handle keyboard events in blockquotes.
The npm package slate-edit-blockquote receives a total of 160 weekly downloads. As such, slate-edit-blockquote popularity was classified as not popular.
We found that slate-edit-blockquote demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Security News
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.