Daniel Spitzer 9093cdfcf5 fix: move React flushSync to microtask (#3188)
To avoid seeing the `Warning: flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.` error, we need to move the `flushSync()` code that avoids automatic batching to a microtask to not fire a lifecycle event `setState()` during rendering.

Fixes warning introduced in #2985
2022-09-13 20:36:35 +02:00
2022-09-11 11:48:25 +02:00
2022-09-11 11:11:52 +02:00
2022-09-10 14:01:00 +02:00
2020-09-30 22:43:58 +02:00
2021-11-11 13:16:52 +01:00
2021-02-26 02:40:22 +01:00
2022-09-11 11:11:52 +02:00
2021-09-17 12:43:26 +02:00
2022-09-11 11:11:52 +02:00
2021-04-27 18:50:51 +02:00
2022-09-11 11:11:52 +02:00
2022-09-10 22:03:16 +02:00
2022-01-25 23:03:39 +01:00
2021-09-20 09:32:39 +02:00

Tiptap

A headless, framework-agnostic and extendable rich text editor, based on ProseMirror.

Build Status Version Downloads License Chat Sponsor

Examples

Have a look at the examples to see tiptap in action.

Documentation

The full documentation is available on www.tiptap.dev.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discuss tiptap on GitHub

Sponsors 💖


überdosis

Rimsys

Complish

Gamma

Storyblok

Reflect

Bitcrowd

Ziff Media

Incyte Studios

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.

Description
No description provided
Readme 30 MiB
Languages
TypeScript 98.2%
JavaScript 1.8%