🤌 Rich text editor with real-time collaboration (Tiptap)

Need support?

Book a consulting call :telephone_receiver:
Learn how to build your own :books:


Get it here: 🤌 Rich text editor (Tiptap.dev) Plugin | Bubble

:ballet_shoes: Demo
:mag: Editor


Feature requests?

If you want to crowdfund issues: Issues Ā· RicoTrevisan/Tiptap-for-Bubble Ā· GitHub
Pull requests welcome.


Want to support / contribute?

Thanks for asking, that’s very kind of you :heart_hands:. This project is built on top of an open-source stack
Find a way to support the maintainers of these projects (:star: star on Github, :euro: donate, write a kind letter :love_letter:…):

You can also contribute with improving the code, documentation, or helping out others.


Real-time collaboration

Tiptap collaboration demo video

:information_source: You will need an account with either:

Bring & Customize your own menu

Each little feature is accessible via workflows and have individual events that fire immediately. That means that you can create and control your own menu.

Keyboard shortcuts

Both for classical editor and markdown. You can set a paragraph to Heading1 either by typing ⌘ + ⌄ + 1 or by adding # at the beginning of a paragraph.

Elements

  • Paragraphs: bold, italic, underline
  • Headings - from H1 to H6
  • Images
  • Ordered lists
  • Unordered lists
  • Quotes
  • Links
  • Code blocks
  • Horizontal line
  • Text alignment: left, center, right (and :face_vomiting: justify)
  • Text highlighting
  • Tables

Roadmap

Build your own tutorial

Buy it on IndieCourses.


Releases

3.6.0: Mentions :speech_balloon:

  • you can now @ someone
  • the autobind was too aggressive at 250ms, I’ve raised it to Bubble’s normal 2000ms delay.
Previous releases
27 Likes

Looks very nice Rico​:ok_hand: :ok_hand: :ok_hand:

1 Like

nice job @rico.trevisan, tiptap is a huge library so it probably too you some time to get it to work :fire:

5 Likes

There is my teacher, the Plugin Prince himself. Come here, gimme me a bearhug!

3 Likes

Looking very nice Rico!
Congrats!
Does it work with the new resposiveness?

Thanks. Yes, it works with the new responsive engine. The plugin itself is a simple <div> and TipTap does all the filling in.

I’m currently testing out which options are needed. (I currently have all the options turned on which is overkill…)

1 Like

Would be cool if this had some sort of Iframe implemented where you could embed social media post like Twitter post or Youtube Videos.

1 Like

collaboration is not working yet.
will work on that in version 2

:eyes:

4 Likes

v1 is released → Rich text editor -- 🩰 Tiptap.dev Plugin | Bubble

Unfortunately, no collaboration in this version. I’ve gotta harass some more people in the #plugin-builders forum. And @Kayami.

4 Likes

@rico.trevisan I’m having a lot of fun playing around with tiptap (I’m a huge tiptap fan :heart:)

First impressions

  • The freedom to create custom menus is a really nice touch!
  • Ability to output html and json: awesome!

Issue - auto-binding

(some context of usage)

  • I’m using your plugin in a SPA
  • The tiptap editor is inserted into a floating group
  • This floating group is used to create an edit notes.

Problem:

  • When auto-binding is enable, if I view note A, it’s content is loaded (expected behavior);
  • When I view note B, content A is displayed and is saved to note B (not expected behavior);

Work-around:

Requests

My experimentation is still in early stages, but I feel confident that this plugin could very well replace the current RTE plugin used in my project.

Thanks for this plugin :pray:

1 Like

Excellent feedback, thank you!

Yep. Yep. This autobinding business is giving me a proper headache. I posted a question hoping the gods of plugins will help me out.

I’ll certainly add the highlight text feature to the list.

2 Likes

@rico.trevisan back with some more feedback (using version v.1.0.1 ) :smiley:

Issues

:warning: input is enabled option:

  • When check it works as expected;
  • When uncheck it doesn’t work as expected (input is still possible);

:warning: Responsive/layout behavior:
(context of use)

  • I’m using your plugin in a SPA
  • The tiptap editor is inserted into a floating group;
  • This floating group is used to create an edit notes;

I’m under the impression that in order to get inputted content in tiptap element, to scroll in a floating group, you need to enable the option ā€œfit height to contentā€ even though I have inf max height for the element.

Would you consider this to be expected behavior? Try it out yourself by replicating these steps:

In editor:

  1. Create a floating group with scrollable content (e.g: text). Configure the floating group as you would for a SPA (fullcreen);
  2. Create a second floating group and include the tiptap element. Configure the second floating group as you would for a SPA (fullcreen);
  3. Configure the tiptap element to have no max height. Keep the ā€œfit height to contentā€ option unchecked;

In preview:

  1. Insert a few paragraphs of text until text passes page fold;
  2. Try to scroll (it won’t work)

Now, go back to the editor an enable the option ā€œfit height to contentā€. Try to scroll again (it will scroll).

This behavior just doesn’t seem super intuitive (at least for me). Curious to know what you and perhaps others think.

Thanks again! :+1:

1 Like

Excellent feedback. That’s my homework for the weekend.

Can’t believe i just saw this thread… Amazing work man! Can’t wait to see where it goes… +1 for json as input.

1 Like

this is excellent @rico.trevisan. Nice work!

I think I just solved the auto-binding issue.

I want to test it on a real app. To do that I need to publish a new version which will roll out to all of you. I’ll make sure to tag it as BETA. Try it out and let me know.

1 Like

Could you show me your app? What do you mean when input is still possible? Can you type? Or are you referring to the actions (bold, italic, etc.)?

On my demo it seems to work properly.
Properly’ish. Typing input is disabled but actions still work. What’s the right approach / philosophy: who should be responsible to restrict it: the plugin or the Bubble dev?

1 Like

A small quibble from a UI perspective. The cursor doesn’t change to a finger icon when you hover over a url. Not sure if this is under your control.

For the custom menu, can I highlight text and then click a custom menu button to act upon the highlighted text? Is there any docs on how to do this yet?

If I’m using the current Bubble RTE, is there any migration issues?

Lastly, based on previous discussions we’ve had, if I paste in an image, is it stored securely?

Looks great and can’t wait to try it out!

1 Like

Friday night updates :sunglasses:

Just updated to beta version. From my brief testing, it does seem like auto-binding is working as expected! I’ll continue testing though and will report back :+1:

I’m referring to this option:

I’ve just realized that your demo actually has two pages… (index and doc). I completely missed the doc page (default goes to index :sweat_smile:).

I see that you check a value and then based on that, the tiptap element is editable or not. I haven’t tried this approach. I’m just using the option shown in the screenshot above…

In any case, it’s not really a deal breaker for me at the moment, as I can just use an html element to display content vs enable/disabling input within tiptap.