<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Claudiu Cimpoies</title>
    <description>The latest articles on Forem by Claudiu Cimpoies (@claudiu_cimpoies).</description>
    <link>https://forem.com/claudiu_cimpoies</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2405854%2Fd01c4023-6add-4a2b-bd4d-5480e9252132.jpg</url>
      <title>Forem: Claudiu Cimpoies</title>
      <link>https://forem.com/claudiu_cimpoies</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/claudiu_cimpoies"/>
    <language>en</language>
    <item>
      <title>Building a custom HTML editor for my React blog</title>
      <dc:creator>Claudiu Cimpoies</dc:creator>
      <pubDate>Fri, 13 Mar 2026 07:29:00 +0000</pubDate>
      <link>https://forem.com/claudiu_cimpoies/why-i-stopped-using-tiptap-and-built-my-own-html-editor-3f15</link>
      <guid>https://forem.com/claudiu_cimpoies/why-i-stopped-using-tiptap-and-built-my-own-html-editor-3f15</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc7lyieu5koutqwxfc7cl.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc7lyieu5koutqwxfc7cl.jpg" alt="Building a custom HTML editor for a React blog instead of using Tiptap" width="800" height="597"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While building my personal blog I experimented with Tiptap for the editor.&lt;/p&gt;

&lt;p&gt;After a few weeks I realized something: it solved many problems, but it also introduced complexity I didn’t actually need.&lt;/p&gt;

&lt;p&gt;At first I experimented with &lt;strong&gt;Tiptap&lt;/strong&gt;, which is a very popular solution for rich text editing in React applications. It’s powerful and flexible, but after working with it for a while I realized it introduced more complexity than I actually needed.&lt;/p&gt;

&lt;p&gt;My blog uses a custom content pipeline and a controlled HTML output, so debugging and controlling the generated markup became harder than expected.&lt;/p&gt;

&lt;p&gt;Eventually I decided to take a different approach and build my own lightweight HTML editor.&lt;/p&gt;

&lt;p&gt;The goals were simple:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;full control over the generated HTML
&lt;/li&gt;
&lt;li&gt;predictable formatting output
&lt;/li&gt;
&lt;li&gt;minimal dependencies
&lt;/li&gt;
&lt;li&gt;easier debugging&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Building a custom editor turned out to be a very interesting challenge, especially when dealing with formatting logic, preview rendering and content sanitization.&lt;/p&gt;

&lt;p&gt;I wrote a detailed explanation on my&lt;br&gt;
&lt;a href="https://blog.magic-design.ro" rel="noopener noreferrer"&gt;technical web development blog&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;You can read the full article here:&lt;br&gt;
&lt;a href="https://blog.magic-design.ro/en/development/why-i-removed-tiptap-and-built-a-custom-html-editor" rel="noopener noreferrer"&gt;building a custom HTML editor&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you’re building your own tools or experimenting with custom blog systems,&lt;br&gt;
I’d be curious to hear what approach you chose !&lt;/p&gt;

</description>
      <category>react</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>seo</category>
    </item>
  </channel>
</rss>
