react-highlight-within-textarea icon indicating copy to clipboard operation
react-highlight-within-textarea copied to clipboard

Find an alternative to draft-js

Open bonafideduck opened this issue 3 years ago • 7 comments

From the gitthub page, it is time to search for another implementation.

THIS PROJECT IS CURRENTLY IN MAINTENANCE MODE. It will not receive any feature updates, only critical security bug patches. On 31st December 2022 the repo will be fully archived.

bonafideduck avatar Jul 17 '22 16:07 bonafideduck

https://tiptap.dev/installation/react seems to be on the rise.

mrzmyr avatar Jul 17 '22 17:07 mrzmyr

Tiptap is interesting. I’ve also considered quilljs. I want something as lightweight as possible that at least supports color selectors, hover, and onclick capabilities.

bonafideduck avatar Jul 18 '22 11:07 bonafideduck

Facebook is building Lexical as a successor to Draft.js. On first glance this project looks very interesting to me.

mirkolenz avatar Aug 07 '22 05:08 mirkolenz

I’m leaning towards quilljs because it is hopefully lightweight and could have both a react and vue wrapper around it.

bonafideduck avatar Aug 07 '22 13:08 bonafideduck

I've dropped quilljs from the contenders. It hasn't been updated in 3 years and has pathetic performance vs raw draft.

bonafideduck avatar May 17 '23 00:05 bonafideduck

Prosemirror is what TipTap runs on top of. It currently is well maintained.

bonafideduck avatar May 17 '23 23:05 bonafideduck

Prosemirror and thus tiptap probably won't work. One feature that I would like to keep is the ability to have Component decorators and from my readings, I don't think they would support that. If I just wanted class decorators, Prosemirror would be a nice choice, but then you couldn't add tiptap.

bonafideduck avatar May 18 '23 01:05 bonafideduck