Community Extension: tiptap-codeless drag handle, file upload and code block pro #7525
namelesserlx
started this conversation in
Community Extensions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi everyone 👋
I'd like to share a small collection of Tiptap v3 extensions I built, focused on providing "zero-boilerplate" building blocks for common editor features.
All extensions are written in TypeScript, designed for React, and published on npm under the
@tiptap-codeless/*scope. Each extension comes with a live demo hosted on GitHub Pages.1. @tiptap-codeless/extension-drag-handle
A global drag handle extension with an insert menu.
It makes it easy to reorder blocks and insert new content blocks from a consistent entry point.
PKbdHImc_compressed.mp4
2. @tiptap-codeless/extension-file-upload
File upload extension with batteries included:
drag & drop and paste support
image preview and resize
pluggable storage backends (e.g. cloud object storage)
focuses on giving you a high-level API instead of boilerplate
npm: https://www.npmjs.com/package/@tiptap-codeless/extension-file-upload
Demo: https://namelesserlx.github.io/tiptap-codeless/file-upload/
Source: https://github.com/namelesserlx/tiptap-codeless/tree/main/packages/extension-file-upload
9KTU6KGS_compressed.mp4
3. @tiptap-codeless/extension-code-block-pro
A “pro” code block experience:
macOS-style header with language select and actions
syntax highlighting via lowlight / highlight.js
better UX for code-heavy documents
npm: https://www.npmjs.com/package/@tiptap-codeless/extension-code-block-pro
Demo: https://namelesserlx.github.io/tiptap-codeless/code-block-pro/
Source: https://github.com/namelesserlx/tiptap-codeless/tree/main/packages/extension-code-block-pro
CPudxbg8_compressed.mp4
Repo and core utilities
All extensions share a small core utilities package:
Feedback, ideas or PRs are very welcome.
Hope this is useful to anyone building richer editors with Tiptap!
Installation
npm i @tiptap-codeless/extension-file-upload
npm i @tiptap-codeless/extension-drag-handle
npm i @tiptap-codeless/extension-code-block-pro lowlight
Usage
Type
Prosemirror plugin
Other
No response
Beta Was this translation helpful? Give feedback.
All reactions