Skip to main content

Basic Marks

createBasicMarksPlugin#

Returns a list of the following plugins:

  • createBoldPlugin() for the bold mark
  • createItalicPlugin() for the italic mark
  • createUnderlinePlugin() for the underline mark
  • createStrikethroughPlugin() for the strikethrough mark
  • createSubscriptPlugin() for the subscript mark
  • createSuperscriptPlugin() for the superscript mark
  • createCodePlugin() for the code mark

Installation#

npm install @udecode/plate-basic-marks

Usage#

Live Editor
Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^

Source Code#