The headless rich text editor framework for web artisans.
Go to file
Abdullah Atta 4bca77e4e9
fix: do not use window.open for links in readonly mode (#4073)
* fix: do not use window.open for links in readonly mode

When `contenteditable` is `true`, the browser doesn't allow
direct link opens on clicking the `a` element. This is why we
need to call `window.open` to open our links.

However, when `contenteditable` is `false`, the default
browser mechanism for opening links works and there is no
need for using `window.open`.

* fix: linting errors
2023-07-07 15:31:41 +02:00
.github build(deps): bump actions/checkout from 3.5.0 to 3.5.3 (#4122) 2023-07-07 15:19:07 +02:00
.husky chore: lint only staged files (#2957) 2022-07-06 12:59:02 +02:00
.vscode chore: add default linter for vscode 2023-06-22 19:22:08 +02:00
demos build(deps-dev): bump vite from 2.9.13 to 2.9.16 in /demos (#4109) 2023-07-07 15:19:38 +02:00
docs New Cut Command & Position Mapping for insertContentAt (#4141) 2023-07-07 13:17:13 +02:00
packages fix: do not use window.open for links in readonly mode (#4073) 2023-07-07 15:31:41 +02:00
tests fix(core) Nested chain not preserving dispatch state (#4152) 2023-07-07 11:20:29 +02:00
.editorconfig enable editorconfig for all files 2020-09-25 18:01:53 +02:00
.eslintignore fix lint error 2020-09-30 22:43:58 +02:00
.eslintrc.js Require file extensions for imports and exports (#4001) 2023-06-30 21:03:49 +02:00
.gitignore chore: add Dev demo folder (#3887) 2023-03-27 15:21:03 +02:00
.lintstagedrc.js chore: lint only staged files (#2957) 2022-07-06 12:59:02 +02:00
babel.config.js add @babel/preset-react 2021-02-26 02:40:22 +01:00
CHANGELOG.md v2.1.0-rc.9 2023-06-15 11:52:59 +02:00
CONTRIBUTING.md Link to contribution guidelines in CONTRIBUTING.md 2021-07-04 23:10:09 +02:00
docsearch.config.json integrate typesense 2023-02-08 17:02:19 +01:00
env.d.ts improve typescript setup 2021-09-17 12:43:26 +02:00
lerna.json v2.1.0-rc.9 2023-06-15 11:52:59 +02:00
LICENSE.md Update LICENSE.md 2023-05-10 11:08:48 +02:00
package-lock.json build(deps-dev): bump vite from 2.9.15 to 2.9.16 (#4110) 2023-07-07 15:19:25 +02:00
package.json chore: added dev alias to start 2023-06-21 01:18:29 +02:00
README.md Update README.md 2023-06-07 11:53:14 +02:00
tsconfig.json Move back from tsup/esbuild to rollup (#3720) 2023-02-08 11:12:43 +01: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

Basewell

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.