facebookarchive / draft-js

A React framework for building text editors.
https://draftjs.org/
MIT License
22.56k stars 2.64k forks source link

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

Closed angry-dan closed 1 year ago

angry-dan commented 1 year ago

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

Feature

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 1 year ago

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