๐ Introducing editor-elsolya โ A Universal Rich Text Editor for the Modern Web
After working across multiple frontend stacks, one problem kept coming back again and again:
Why do we still need a different editor for every framework?
Today, Iโm excited to introduce editor-elsolya โ a framework-agnostic Rich Text Editor, built as a Web Component, designed to run everywhere the web runs.
๐ One Editor. Every Framework.
Install once:
npm i editor-elsolya
Use anywhere:
No wrappers. No framework lock-in. No compromises.
๐ง Why Web Components?
editor-elsolya is built as a native Web Component, which means:
โ Works with React, Vue, Angular, Nuxt, Next, Svelte, Solid, Astro, and Vanilla JS
โ Uses standard HTML & DOM APIs
โ Zero dependency on framework internals
โ Safe for SSR environments (Next.js / Nuxt)
โ Future-proof by web standards, not libraries
โจ Core Features
๐ Rich Text Editing powered by contenteditable
๐งฉ Native Custom Element:
๐ Two-way data flow
Get / set content via value
Listen to changes via native CustomEvent
โก Instant integration โ no config required
๐ Framework-independent architecture
๐ง Optional Adapters
React adapter (editor-elsolya/react)
Vue adapter with v-model support (editor-elsolya/vue)
๐ฅ SSR-friendly
Runs only in the browser
Safe imports on the server
๐ฏ TypeScript-ready
๐ชถ Lightweight & performant
๐ API Overview
value: string โ get / set editor HTML
disabled: boolean โ enable / disable editing
Event: change
e.detail.html
Pure DOM. No framework magic.
๐ Built for Real-World Teams
This editor is ideal for:
Teams maintaining multiple frontend stacks
Design systems & shared UI libraries
Micro-frontend architectures
SaaS platforms with evolving tech stacks
Anyone tired of rewriting editors for every framework
๐ Architecture Highlights
Built on native Web Platform APIs
No heavy editor engines
No hidden global state
Easy to extend (toolbar, themes, plugins)
Designed for long-term maintainability
๐ฎ Roadmap
Coming next:
๐จ Theme & CSS variables
๐ผ Image upload support
๐ Plugin system
โ๏ธ Configurable toolbar
๐ฆ Smaller bundle & tree-shaking
๐ค Open Source
This project is open for feedback, ideas, and contributions.
If you care about clean architecture, web standards, and developer experience, Iโd love to hear your thoughts.
๐ Get started
npm i editor-elsolya
One editor.
Every framework.
Built on web standards.
https://www.npmjs.com/package/editor-elsolya
ูู ุงูู
ูุงูู ุนุฌุจุชู ู
ู
ูู ุชุฏุนู
ูู ููุง
https://www.linkedin.com/posts/ahmed-niazy-maher-gad-elsolya-506507394_webcomponents-javascript-typescript-activity-7420592395328614400-RTzA?utm_source=share&utm_medium=member_desktop&rcm=ACoAAGDlLhYBuSmwE3MG1I6cEGDf7QWvWr7KXcw

Top comments (2)
If its so easy, put a live demo online, or on CodePen or JSFiddle or the like.
JSFidlle can easily be displayed here in your blog
Some comments may only be visible to logged-in visitors. Sign in to view all comments.