Docs
Basic Marks
Basic Marks
Set of essential text formatting options.
Plugins:
BoldPlugin
forbold
markItalicPlugin
foritalic
markUnderlinePlugin
forunderline
markStrikethroughPlugin
forstrikethrough
markSubscriptPlugin
forsubscript
markSuperscriptPlugin
forsuperscript
markCodePlugin
forcode
mark
Installation
npm install @udecode/plate-basic-marks
Usage
import { BasicMarksPlugin } from '@udecode/plate-basic-marks/react';
const plugins = [
// ...otherPlugins,
BasicMarksPlugin,
];
Keyboard Shortcuts
Key | Description |
---|---|
Cmd + B | Toggle the bold formatting for the selected text. |
Cmd + I | Toggle the italic formatting for the selected text. |
Cmd + U | Toggle the underline formatting for the selected text. |
Cmd + E | Toggle the code formatting for the selected text. |
Cmd + Shift + X | Toggle the strikethrough formatting for the selected text. |
Cmd + , | Toggle the subscript formatting for the selected text. |
Cmd + . | Toggle the superscript formatting for the selected text. |
Plugins
BasicMarksPlugin
BoldPlugin
Options
Collapse all
Node properties to delete.
CodePlugin
Options
Collapse all
Node properties to delete.
ItalicPlugin
Options
Collapse all
Node properties to delete.
UnderlinePlugin
Options
Collapse all
Node properties to delete.
StrikethroughPlugin
Options
Collapse all
Node properties to delete.
SubscriptPlugin
Options
Collapse all
Node properties to delete.
SuperscriptPlugin
Options
Collapse all
Node properties to delete.
Build your editor even faster
Complete, deployable AI-powered template with backend.
All components included.
Customizable and extensible.
Get all-accessCustomizable and extensible.