Socket
Socket
Sign inDemoInstall

tiptap-extension-auto-joiner

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiptap-extension-auto-joiner - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

LICENSE.md

2

package.json
{
"name": "tiptap-extension-auto-joiner",
"description": "joins nearby nodes of the same type like list items",
"version": "0.1.0",
"version": "0.1.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Niclas Gregor",

@@ -28,1 +28,20 @@ # Tiptap Extension: AutoJoiner

It can be extended to join not only lists, but all types of nodes that are next to each other, such as paragraphs or custom nodes.
## Configuration
Optionally, you can also configure which nodes should be joined if they end up next to each other.
By default, only ordered lists are joined with ordered lists and unordered lists are joined with unordered lists.
```js
import AutoJoiner from 'tiptap-extension-auto-joiner'
new Editor({
extensions: [
AutoJoiner.configure({
elementsToJoin: ["paragraph", "myCustomNode"]
}),
],
})
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc