![]() * Add `editor` dependency when registering `BubbleMenuPlugin` When we are initializing editor via the `useEditor` hook with dependencies the `BubbleMenu` component is only registered the first time the editor is initialized. Adding editor to the dependency array registering/unregistering the `BubbleMenuPlugin` fixes this. (I tested exactly this code in our project.) I also added a check that ensures that the menu element referenced via the `useRef` is defined when registering the plugin - otherwise, there is no point in registering the plugin. * Add `editor` dependency when registering `FloatingMenuPlugin` |
||
---|---|---|
.github | ||
.vscode | ||
demos | ||
docs | ||
packages | ||
tests | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
babel.config.js | ||
CONTRIBUTING.md | ||
env.d.ts | ||
lerna.json | ||
LICENSE.md | ||
package.json | ||
README.md | ||
rollup.config.js | ||
tsconfig.json | ||
yarn.lock |
tiptap
A headless, framework-agnostic and extendable rich text editor, based on ProseMirror.
If you’re looking for tiptap 1, click here.
Examples
Have a look at the examples to see tiptap in action.
Documentation
The full documentation is a available on www.tiptap.dev.
Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
Sponsors 💖
überdosis |
Rimsys |
CosmicMind |
![]() Complish |
Gamma |
Storyblok |
Reflect |
Bitcrowd |
Ziff Media |
Incyte Studios |
restruct |
dotCMS |
iFixit, @shodgson, Markee Co., Makelog, Zephir, IT Xpert AG, ApostropheCMS, Novadiscovery, Omics Data Automation, Gretel, Flow Mobile, Ycode, DocIQ and hundreds of awesome inviduals.
Using tiptap in production? Invest in the future of tiptap and become a sponsor!
Contributing
Please see CONTRIBUTING for details.
Contributors
Sam Willis, Brian Hung, Dirk Holtwick, Sam Duvall, Christoph Flathmann, Erick Wilder, Marius Tolzmann, jjangga0214, Maya Nedeljkovich, Ryan Bliss, Gregor and many more.
License
The MIT License (MIT). Please see License File for more information.