Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
FB are no longer supporting Draft.js; perhaps we should switch to Slate.js or similar #6477
i think it effectively does support entities via plugins, which are trivial to write. I’ve made a stab at this in my spare time on matrix-org/matrix-react-sdk#1890. It so far going fairly well: first of all commenting out all the Draft stuff, getting it working again pre-RTE but with Slate, and then uncommenting the Draft stuff again as it’s ported to Slate. So far Slate feels way nicer to work with, and has already fixed various weird races when trying to type and paste into the editor where characters would appear out of order, which was driving me nuts.