New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@udecode/plate-basic-marks

Package Overview
Dependencies
Maintainers
2
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-basic-marks

Basic marks plugin for Plate

  • 3.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
132K
increased by9.32%
Maintainers
2
Weekly downloads
 
Created

What is @udecode/plate-basic-marks?

@udecode/plate-basic-marks is a plugin for the Plate editor that provides basic text formatting marks such as bold, italic, underline, and strikethrough. It allows developers to easily integrate these text formatting options into their Plate-based rich text editors.

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

Bold

This feature allows you to add bold formatting to your text. The code sample demonstrates how to import and create the bold plugin and add it to the Plate editor configuration.

import { createBoldPlugin } from '@udecode/plate-basic-marks';

const boldPlugin = createBoldPlugin();

// Add the plugin to your Plate editor configuration
const plugins = [boldPlugin];

Italic

This feature allows you to add italic formatting to your text. The code sample demonstrates how to import and create the italic plugin and add it to the Plate editor configuration.

import { createItalicPlugin } from '@udecode/plate-basic-marks';

const italicPlugin = createItalicPlugin();

// Add the plugin to your Plate editor configuration
const plugins = [italicPlugin];

Underline

This feature allows you to add underline formatting to your text. The code sample demonstrates how to import and create the underline plugin and add it to the Plate editor configuration.

import { createUnderlinePlugin } from '@udecode/plate-basic-marks';

const underlinePlugin = createUnderlinePlugin();

// Add the plugin to your Plate editor configuration
const plugins = [underlinePlugin];

Strikethrough

This feature allows you to add strikethrough formatting to your text. The code sample demonstrates how to import and create the strikethrough plugin and add it to the Plate editor configuration.

import { createStrikethroughPlugin } from '@udecode/plate-basic-marks';

const strikethroughPlugin = createStrikethroughPlugin();

// Add the plugin to your Plate editor configuration
const plugins = [strikethroughPlugin];

Other packages similar to @udecode/plate-basic-marks

Keywords

FAQs

Package last updated on 15 Sep 2021

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