tiptap-mui-editor
v1.1.0
Published
A Material-UI (MUI) styled WYSIWYG rich text editor, using Tiptap
Maintainers
Readme
Features:
- :toolbox: An all-in-one
RichTextEditorcomponent to get started immediately (no other components or hooks needed!), or individual modular components to customize to your needs - :sunglasses: Built-in styles for Tiptap’s extensions (text formatting, lists, tables, Google Docs-like collaboration cursors; you name it!)
- :arrow_forward: Composable and extendable menu buttons and controls for the standard Tiptap extensions
- :framed_picture:
ResizableImageextension for adding and resizing images directly in the editor - :anchor:
HeadingWithAnchorextension for dynamic GitHub-like anchor links for every heading you add - :link:
LinkBubbleMenuso adding and editing links is a breeze - :1234:
FontSizeextension for controlling text sizes - :white_square_button:
TableImprovedextension that fixes problems in the underlying TiptapTableextension - :pencil:
TableBubbleMenufor interactively editing your rich text tables - :speech_balloon: General-purpose
ControlledBubbleMenufor building your own custom menus, solving some shortcomings of the TiptapBubbleMenu - And more!
- Demo
- Installation
- Get started
- tiptap-mui-editor extensions and components
- Localization
- Tips and suggestions
- Contributing
Demo
Try it yourself in this CodeSandbox live demo!
Installation
npm install tiptap-mui-editoror
yarn add tiptap-mui-editorThere are peer dependencies on @mui/material and @mui/icons-material (and their @emotion/ peers), and @tiptap/ packages. These should be installed automatically by default if you’re using npm 7+ or pnpm. Otherwise, if your project doesn’t already use those, you can install them with:
npm install @mui/material @mui/icons-material @emotion/react @emotion/styled @tiptap/react @tiptap/extension-heading @tiptap/extension-image @tiptap/extension-table @tiptap/pm @tiptap/coreor
yarn add @mui/material @mui/icons-material @emotion/react @emotion/styled @tiptap/react @tiptap/extension-heading @tiptap/extension-image @tiptap/extension-table @tiptap/pm @tiptap/core
``` -->