React.JS - manage content contenteditable div as React components

I am looking for methods to manage contenteditable elements as React components.

Examining Facebook's source through React DevTools extends it by writing a contenteditable comment editor that seems to be fully managed by React.

enter image description here

In the component tree, you can see that the conteneditable update starts updating the tree of components that are child contenteditable .

+7
reactjs contenteditable
source share
2 answers

Facebook just released Draft.js - https://facebook.imtqy.com/draft-js/

+4
source share

update:

Facebook has released a js project that is designed to edit text editors. https://github.com/facebook/draft-js

original answer, which is now deprecated:

We go further, there is nothing special for this.

Here are some examples:

+2
source share

All Articles