# Rich Text Editor component with floating toolbar

**URL:** <https://community.weweb.io/t/rich-text-editor-component-with-floating-toolbar/21495>\
**Category:** Show and Tell\
**Tags:** custom-components, components\
**Created:** [August 5, 2026, 9:10pm UTC](https://community.weweb.io/t/rich-text-editor-component-with-floating-toolbar/21495 "2026-08-05T21:10:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)\
**Post date:** [August 5, 2026, 9:10pm UTC](https://community.weweb.io/t/rich-text-editor-component-with-floating-toolbar/21495/1 "2026-08-05T21:10:22Z")

</div>

Hello everyone,

I’ve created a new rich text editor component. What it brings is that you have a floating toolbar when the user selects text.

 ![rich-text-editor-frame132](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/3X/2/e/2e19d8fee4624a7ebb76f2f3d64ba9df4fc077c2.jpeg)  
That toolbar is entirely customizable as it is a dropzone. You get access to component actions to interact with the text editor and you also have local context (to know if the selected text already has any formatting for instance)

You have the text styling configuration as you have it on the native rich text editor.

I’ve made a demo app if you want to try it out: [https://rich-text-editor.jptrinh.com](https://rich-text-editor.jptrinh.com)

The component is free to use. You can navigate to the following linkto get the link to the GitHub repo.

> **[Component Detail - wwbox](https://www.wwbox.io/coded-components/jpui-rich-text-editor/)**
>
> The Minimal WeWeb Component Library made by jptrinh

Let me know if you have any feedback!

---

<div class="post-metadata">

**Author:** ![thijs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/thijs/32/13651_2.png) [@thijs](https://community.weweb.io/u/thijs)\
**Post date:** [August 21, 2026, 8:33am UTC](https://community.weweb.io/t/rich-text-editor-component-with-floating-toolbar/21495/2 "2026-08-21T08:33:52Z")

</div>

> [@jptrinh](#):
>
> [Component Detail - wwbox](https://www.wwbox.io/coded-components/jpui-rich-text-editor/)

Hi @jptrinh ,

This is very much what I needed for editing larger documents.

I’ve been trying for quite a while now to import your file into my project, but without any success. So if you don’t mind helping me out:

**Can you please**  **point the way to how to integrate your**  **source.tar.gz file**  **into my Weweb project?**

Note that I think the explanation should be here, but I just can’t figure it out: [Library overview | Documentation](https://docs.weweb.io/libraries/intro-to-libraries.html#components)

Thanks!

---

<div class="post-metadata">

**Author:** ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)\
**Post date:** [August 21, 2026, 9:00am UTC](https://community.weweb.io/t/rich-text-editor-component-with-floating-toolbar/21495/3 "2026-08-21T09:00:55Z")

</div>

Hello @thijs

Oh I though there was a clear tuto in WeWeb to import coded component, but it doesn’t seem so. I can upload a video later to show how I proceed too!

The idea is to bring the component to your own GitHub account.  
You need to then link your Github account to your WeWeb workspace and you’ll be able to access import it in the Coded component tab of your project settings.

 ![CleanShot 2026-08-21 at 17.52.18@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/3X/b/3/b31f6eb70431591bd7c729175b99d63b50f14d8d.png)

**To duplicate the component to your Github:**  
You can follow along Matthew tuto [here](https://youtu.be/1A8wdH5Sb0o?si=SxS_0o795ET5WMc5&t=1330).  
If you go with the source.tar.gz (i’ve just updated the release, so you’ll want to download the newest), you can unzip it and you’ll have the source files of your component to put in your repo.

Alternatively, you can also fork it to your workspace in GitHub directly.

 ![CleanShot 2026-08-21 at 17.48.00@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/3X/c/e/ce46ed43b60fef4d8ebbc3486d1101a659710897.png)

Once it’s imported to your project, it will be accessible in the **Add panel → coded component**

 ![CleanShot 2026-08-21 at 17.53.49@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/3X/9/e/9e4e4c7cc02eca72bd2ddac30ef3f85124827e95.jpeg)

Let me know how that goes. If you’re still stuck, happy to jump on a call to get you started!  
Have a nice day 👋

---

<div class="post-metadata">

**Author:** ![thijs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/thijs/32/13651_2.png) [@thijs](https://community.weweb.io/u/thijs)\
**Post date:** [August 21, 2026, 2:30pm UTC](https://community.weweb.io/t/rich-text-editor-component-with-floating-toolbar/21495/4 "2026-08-21T14:30:43Z")

</div>

> [@jptrinh](#):
>
> Oh I though there was a clear tuto in WeWeb to import coded component, but it doesn’t seem so. I can upload a video later to show how I proceed too!
> 
> The idea is to bring the component to your own GitHub account.  
> You need to then link your Github account to your WeWeb workspace and you’ll be able to access import it in the Coded component tab of your project settings.

Hi @jptrinh, thanks for your explanation!

Only for me, this is too far out of the no-code territory 🙂 .

That’s what it takes to push a Weweb project van good to great I suppose.

For now, I’ll put it on my wishlist.

---

<div class="post-metadata">

**Author:** ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)\
**Post date:** [August 23, 2026, 7:35am UTC](https://community.weweb.io/t/rich-text-editor-component-with-floating-toolbar/21495/5 "2026-08-23T07:35:06Z")

</div>

Let me make a video to show how to bring a coded component to your project. It’s only a few steps but does involve multiple tools and navigating at specific places in WeWeb.  
I’ll probably do it tomorrow, I’ll ping you back!

---

<div class="post-metadata">

**Author:** ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)\
**Post date:** [August 24, 2026, 3:17pm UTC](https://community.weweb.io/t/rich-text-editor-component-with-floating-toolbar/21495/6 "2026-08-24T15:17:48Z")

</div>

Hey @thijs  
Here is the step-by-step on how to import coded components in your workspace. Let me know if that helps!

[![](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/3X/e/0/e0f61a411e34dc5b749015ffeb76585952bc25f1.jpeg "Import coded components in WeWeb") ](https://www.youtube.com/watch?v=w2mFNqOwqCk)

---

<div class="post-metadata">

**Author:** ![thijs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/thijs/32/13651_2.png) [@thijs](https://community.weweb.io/u/thijs)\
**Post date:** [August 25, 2026, 9:09am UTC](https://community.weweb.io/t/rich-text-editor-component-with-floating-toolbar/21495/7 "2026-08-25T09:09:13Z")

</div>

Thank you for this tutorial @jptrinh, you sure know how to make things look easy 🕺 . I just also just noticed you have a rich collection of great videos on youtube, thanks for your efforts!

---

<div class="post-metadata">

**Author:** ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)\
**Post date:** [August 26, 2026, 2:25am UTC](https://community.weweb.io/t/rich-text-editor-component-with-floating-toolbar/21495/8 "2026-08-26T02:25:00Z")

</div>

I’m glad i could be of help! I plan on making newer videos, so let me now if I can assist you on checking items from your wishlist ✅

---

<div class="post-metadata">

**Author:** ![thijs](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/thijs/32/13651_2.png) [@thijs](https://community.weweb.io/u/thijs)\
**Post date:** [August 31, 2026, 8:54am UTC](https://community.weweb.io/t/rich-text-editor-component-with-floating-toolbar/21495/9 "2026-08-31T08:54:02Z")

</div>

Hi @jptrinh , thank you for the invitation. Indeed I have a wishlist.. I hope this excites you:

- How to scroll to a (dynamic) place somewhere in the middle of a page. For example: an item is selected in list A (catalog) and added to list B (selection). When list B gets too long, the list should automatically scroll to the point where it’s inserted (could be at the bottom, but also somewhere in the middle of the list).
- How to create a calendar with draggable/resizable appointments (for planning production capacity in days). Something like the week-view of Outlook calendar. I have already made something like this, but it missed finnese. And Weweb’s custom component is too simple/mismatch for my use case.
- How to create an auth-token-refresh process within Weweb using Xano auth.

Thanks again!
