
Product
Introducing .NET Support in Socket
Socket now supports .NET (Beta), bringing supply chain security and SBOM accuracy to NuGet and MSBuild-powered C# projects.
draft-js-multiline-list-item-plugin
Advanced tools
This is a plugin for the draft-js-plugins-editor
, a plugin system that sits on top of Draft.js.
By default DraftJS doesn't allow you to have multiline items in lists - when you press Shift+Return
it still adds a new list item.
This plugin adds behaviour to the editor to stay on the same list item and include a so called 'soft newline' into the list item on Shift+Return
press.
npm i --save draft-js-multiline-list-item-plugin
then import the plugin creator function
import createMultilineListItemPlugin from 'draft-js-multiline-list-item-plugin'
const multiLineListItemPlugin = createMultilineListItemPlugin()
This can then be passed into a draft-js-plugins-editor
component:
import createMultilineListItemPlugin from 'draft-js-multiline-list-item-plugin'
import Editor from 'draft-js-plugins-editor'
const multiLineListItemPlugin = createMultilineListItemPlugin()
const plugins = [multiLineListItemPlugin]
<Editor plugins={plugins} />
FAQs
Multiline list item Plugin for DraftJS
The npm package draft-js-multiline-list-item-plugin receives a total of 15 weekly downloads. As such, draft-js-multiline-list-item-plugin popularity was classified as not popular.
We found that draft-js-multiline-list-item-plugin 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.
Product
Socket now supports .NET (Beta), bringing supply chain security and SBOM accuracy to NuGet and MSBuild-powered C# projects.
Research
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.