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

@udecode/plate-list

Package Overview
Dependencies
Maintainers
2
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-list

List plugin for Plate

  • 14.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
85K
increased by63.51%
Maintainers
2
Weekly downloads
 
Created

What is @udecode/plate-list?

@udecode/plate-list is a plugin for the Plate editor, which is a rich text editor framework built on top of Slate. This package provides functionality for creating and managing lists within the editor, including ordered lists, unordered lists, and nested lists.

What are @udecode/plate-list's main functionalities?

Creating Unordered Lists

This code demonstrates how to set up a Plate editor with the list plugin to enable unordered list functionality.

import { createPlateUI, Plate } from '@udecode/plate';
import { createListPlugin } from '@udecode/plate-list';

const plugins = [
  createListPlugin(),
];

const MyEditor = () => (
  <Plate plugins={plugins} />
);

Creating Ordered Lists

This code shows how to configure the Plate editor to support ordered lists using the list plugin.

import { createPlateUI, Plate } from '@udecode/plate';
import { createListPlugin } from '@udecode/plate-list';

const plugins = [
  createListPlugin(),
];

const MyEditor = () => (
  <Plate plugins={plugins} />
);

Nested Lists

This example demonstrates how to enable nested list functionality in the Plate editor using the list plugin.

import { createPlateUI, Plate } from '@udecode/plate';
import { createListPlugin } from '@udecode/plate-list';

const plugins = [
  createListPlugin(),
];

const MyEditor = () => (
  <Plate plugins={plugins} />
);

Other packages similar to @udecode/plate-list

Keywords

FAQs

Package last updated on 07 Jul 2022

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