Facebook from Draft-js Repository

MIT License

Is/should convertToRaw be based on some kind of open standard? #3167

Issue Opened
Angry-dan Opened Issue On Sep 22nd 2022, 11:00


Do you want to request a feature or report a bug?


What is the current behavior?

serialising a draft.js container using convertToRaw is proprietary to draft.js

What is the expected behavior?

What if we defined a standard around convertToRaw, so that it's output could be parsed by other editors, or that we can make some guarantees about compatibility between releases of draft.js. Should this complex format at least be documented in some way?

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?

Good question, I don't know. Has the schema ever been adjusted? Was there an impact when that happened?

Angry-dan commented on 2 months ago


Just found out that Draft.js is going away and I've been living under a rock.

About Repository

A React framework for building text editors.
Language: JavaScript
Star: 22262
Fork: 2672
Watchers: 22262
Open Issues: 960
MIT License
Last updated: 05 Dec 2022