question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Community Extensions

See original GitHub issue

Hi everyone!

I’ve seen a ton of helpful Gists with custom extensions for Tiptap. It’s amazing what you all come up with! 🥰

Unfortunately, we don’t have the capabilities to maintain all of them in the core packages, but it’s sad to see those gems hidden in some Gists. What if you - the community - could easily provide those as separate npm packages?

Advantages of packages

  • New extensions can be added without a need for approval
  • Extensions can be updated and improved by everyone
  • You can come up with extensions we don’t even understand (👋 Math integration)
  • There is more room for “experimental” extensions, that aren’t stable enough for the core package
  • We can have multiple flavors of extensions (e. g. an Image node including the Upload to S3 mechanic)

Proof of Concept

I built a tiny proof of concept for superscript and subscript, see here: https://github.com/hanspagel/tiptap-extension-superscript https://github.com/hanspagel/tiptap-extension-subscript

Usage:

$ yarn add tiptap-extension-superscript
import { Superscript } from 'tiptap-extension-superscript'

new Editor({
  extensions: [
    new Superscript(),
  ],
})

Examples of community Gists, code snippets, PRs and ideas

Tiptap v2

Tiptap v1

Not needed with Tiptap v2

Roadmap

I think we’d need to do a few things to make that easier for everyone:

  • Build a proof of concept
  • Ask for feedback
  • Figure out testing
  • Publish an extension boilerplate
  • Write a guide
  • Add a list of community extensions to the README

Your feedback

What do you all think? Would you be up to contribute a community extension?

Feel free to post links to Gists of others you’d love to see published as a package.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:129
  • Comments:51 (14 by maintainers)

github_iconTop GitHub Comments

17reactions
wenermecommented, Jun 4, 2022

Here is some extensions https://github.com/wenerme/wode/tree/main/apps/demo/src/components/TipTapWord/extensions

  • classNames, column-count, margin-{left,right,top,bottom}, line-height, font-size, text-indent, letter-spacing
  • video, indent
  • slash command
  • markdown parse, render

Online demo here

https://wode.vercel.app/tiptap

13reactions
davesagcommented, Jul 7, 2021

Two features I am looking for in a Rich Text Editor are

  1. Tracked Changes (not necessarily real-time collaboration, but being able to see - Google Docs / MS Word / Apple Pages style - the changes others have made. and a way to ‘accept’ one, or all changes, and
  2. Commenting (again ala Google Docs / MS Word / Apple Pages)

Commercial RTEs support this kind of thing and it would be amazing to have examples of this in TipTap. Maybe I’ve just not found the right extensions tho.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Community Extensions - KNIME
KNIME Community Extensions offer a wide range of KNIME nodes from different application areas, such as chemo- and bioinformatics, image processing, ...
Read more >
Community Extension Programs, Inc.
Community Extension Programs is proud of our rich history and we are motivated and dedicated to shifting our focus to reaching a larger...
Read more >
Pscx - PowerShell Community Extensions - GitHub
Pscx - PowerShell Community Extensions. This PowerShell module is aimed at providing a widely useful set of additional cmdlets, providers, aliases, filters, ...
Read more >
Communities - Joomla! Extensions Directory
Community Builder (CB) is an extremely flexible and robust social networking solution for Joomla. CB has a huge user base, a long history...
Read more >
Community extensions | LoopBack Documentation
It is recommended to use the extension generator to scaffold a new extension. The following table lists some of the community extensions. See...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Hashnode Post

No results found