Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tiptap/extension-bullet-list

Package Overview
Dependencies
Maintainers
2
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-bullet-list

[![Version](https://img.shields.io/npm/v/@tiptap/extension-bullet-list.svg?label=version)](https://www.npmjs.com/package/@tiptap/extension-bullet-list) [![Downloads](https://img.shields.io/npm/dm/@tiptap/extension-bullet-list.svg)](https://npmcharts.com/c

  • 2.0.0-alpha.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1M
increased by3.37%
Maintainers
2
Weekly downloads
 
Created

What is @tiptap/extension-bullet-list?

@tiptap/extension-bullet-list is an extension for the Tiptap editor that allows users to create and manage bullet lists within their rich text content. It provides a straightforward way to add, edit, and manipulate bullet lists, making it easier to organize content in a structured manner.

What are @tiptap/extension-bullet-list's main functionalities?

Add Bullet List

This feature allows you to add a bullet list to your Tiptap editor. The code initializes the editor with the BulletList extension and then toggles the bullet list on the focused editor.

import { BulletList } from '@tiptap/extension-bullet-list';

const editor = new Editor({
  extensions: [
    BulletList,
  ],
});

editor.chain().focus().toggleBulletList().run();

Toggle Bullet List

This feature allows you to toggle a bullet list on and off within the editor. The code focuses on the editor and toggles the bullet list state.

editor.chain().focus().toggleBulletList().run();

Check if Selection is Bullet List

This feature checks if the current selection in the editor is a bullet list. The code returns a boolean indicating whether the selection is a bullet list.

const isBulletList = editor.isActive('bulletList');

Other packages similar to @tiptap/extension-bullet-list

Keywords

FAQs

Package last updated on 19 Nov 2020

Did you know?

Socket

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.

Install

Related posts

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