![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@udecode/plate-basic-marks
Advanced tools
@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.
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];
slate-react is a package that provides React components and hooks for building rich text editors with Slate. It offers similar text formatting capabilities such as bold, italic, underline, and strikethrough. However, it requires more manual setup compared to @udecode/plate-basic-marks, which provides pre-configured plugins for these functionalities.
draft-js is a framework for building rich text editors in React. It provides a set of tools and plugins for text formatting, including bold, italic, underline, and strikethrough. While it offers a high level of customization, it can be more complex to set up compared to @udecode/plate-basic-marks.
quill is a powerful, open-source WYSIWYG editor built for the modern web. It includes built-in support for text formatting options like bold, italic, underline, and strikethrough. Quill is more of a standalone editor, whereas @udecode/plate-basic-marks is a plugin specifically for the Plate editor.
This package implements the following basic marks plugins:
Check out Basic Marks.
FAQs
Basic marks plugin for Plate
We found that @udecode/plate-basic-marks demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.