---
title: "Discussion on \"Building a rich text editor in React with SlateJS\" | Hashnode"
description: "Discussion on \"Building a rich text editor in React with SlateJS\". Building an awesome editor for your React-based web application is by no means easy. But with SlateJS things get much easier. Even with the help of Slate, building a full-featured editor is way more work than we can cover in one blog post, so this po..."
url: "https://hashnode.com/posts/building-a-rich-text-editor-in-react-with-slatejs/5f69f0bf1c935b2e4c615c53"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building a rich text editor in React with SlateJS](https://blog.kitemaker.co/building-a-rich-text-editor-in-react-with-slatejs?utm_source=hashnode&utm_medium=feed)

Building an awesome editor for your React-based web application is by no means easy. But with SlateJS things get much easier. Even with the help of Slate, building a full-featured editor is way more work than we can cover in one blog post, so this po...

Sep 22, 2020 · 11 min read · blog.kitemaker.co  
Updated Jul 7, 2021  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#editor](https://hashnode.com/tag/editor)
-   [#editors](https://hashnode.com/tag/editors)

## Written by

[Kevin Simons](https://hashnode.com/@ksimons)

@ksimons

  
[View profile](https://hashnode.com/@ksimons)

CTO @kitemaker.co

I'm an American living in Oslo

## Responses 4

Markdown supported · ⌘↵ to post

[ikib kilam](https://hashnode.com/@ikib)

[Jul 16, 2021](https://hashnode.com/posts/building-a-rich-text-editor-in-react-with-slatejs/5f69f0bf1c935b2e4c615c53/comment/60f0db4819e3e845d50d051b)

This is an awesome write up. I am wondering, if you have had the chance to write more about working with SlateJS. You mentioned in the blog that you will be, hence the Q. Appreciate your response. And congrats on Kitemaker!

[Kevin Simons](https://hashnode.com/@ksimons)

[Jul 16, 2021](https://hashnode.com/posts/building-a-rich-text-editor-in-react-with-slatejs/5f69f0bf1c935b2e4c615c53/comment/60f0db4819e3e845d50d051b#reply-60f1363519e3e845d50d1071)

Hi! I haven't had a chance yet since we're busy working on some big features for the editor currently. But I there will be more coming!

[ikib kilam](https://hashnode.com/@ikib)

[Jul 16, 2021](https://hashnode.com/posts/building-a-rich-text-editor-in-react-with-slatejs/5f69f0bf1c935b2e4c615c53/comment/60f0db4819e3e845d50d051b#reply-60f1ba99bb67011cb8367770)

Thanks. Keenly looking forward to the write up.,[Kevin Simons](https://hashnode.com/@ksimons)

[Ripul Kumar](https://hashnode.com/@ripul)

[Dec 6, 2020](https://hashnode.com/posts/building-a-rich-text-editor-in-react-with-slatejs/5f69f0bf1c935b2e4c615c53/comment/5fcc6551ef5f84019de7980f)

I am still trying to figure out why we should move from DraftJS to SlateJS. Even saw a comment from Nick Graf that SlateJS is quite good. We've been able to reach 95% of our use case ( [prnt.sc/vwosjx](https://prnt.sc/vwosjx) ) with DraftJS but the remaining 5% seems to be taking an excruciatingly long time & effort because of lack of documentation and almost no community support. We've used & created custom DraftJS plugins which are not available in SlateJS. Can we convert DraftJS saved editor state to convert into SlateJS states easily ? Are there any good plugin system available ? Editor is like a long term investment that a developer makes to develop their platform and it is an incredibly important decision, thoughts and suggestions.

[Kevin Simons](https://hashnode.com/@ksimons)

[Dec 7, 2020](https://hashnode.com/posts/building-a-rich-text-editor-in-react-with-slatejs/5f69f0bf1c935b2e4c615c53/comment/5fcc6551ef5f84019de7980f#reply-5fcddc417d1d8b0b087483b8)

I fully agree that the editor is a long term investment and I'd be VERY hesitant to switch if I was you.

I am not aware of any system for easily switching your document representation to slate from draft.

If I were in your shoes, I'd make a very small proof of concept with slate and only target those things which are causing you a lot of pain in draft. Only if those things turned out to be much easier in slate would I even consider the change. Avoid the rewrite if you can.

[Antonio Gatto](https://hashnode.com/@antoniosmgatto)

[Oct 3, 2020](https://hashnode.com/posts/building-a-rich-text-editor-in-react-with-slatejs/5f69f0bf1c935b2e4c615c53/comment/5f77cf8c7d160d41227d70c8)

Very interesting post !!!! Thanks for share !

[Kevin Simons](https://hashnode.com/@ksimons)

[Oct 5, 2020](https://hashnode.com/posts/building-a-rich-text-editor-in-react-with-slatejs/5f69f0bf1c935b2e4c615c53/comment/5f77cf8c7d160d41227d70c8#reply-5f7ac22d9c3b6e4101217fbd)

Glad you liked it! Thanks very much for reading 🙌 Follow us here or on Twitter if you want more content like this going forward.

[Dinys Monvoisin](https://hashnode.com/@dinmon)

[Sep 23, 2020](https://hashnode.com/posts/building-a-rich-text-editor-in-react-with-slatejs/5f69f0bf1c935b2e4c615c53/comment/5f6b1d251c935b2e4c616aa1)

I was waiting for such an article on SlateJS. When I used Slate for one of my project, it was quite hard to understand the documentation. Quite often, I would need to rely on their examples.

[Kevin Simons](https://hashnode.com/@ksimons)

[Sep 23, 2020](https://hashnode.com/posts/building-a-rich-text-editor-in-react-with-slatejs/5f69f0bf1c935b2e4c615c53/comment/5f6b1d251c935b2e4c616aa1#reply-5f6b1fa0cbf0b22e6d4443a3)

Glad you found it helpful! Follow us on Twitter or here on hashnode to get more articles on Slate in the future 🙌
