News for hackers. Stuff that matters.
Re:Slate.js: Customizeable rich text library inspired by Dra... by kiejo on Monday April 17, 2017 @02:38AM (#14129559)
Have a look at ProseMirror (http://prosemirror.net). It works quite well on Android and iOS and the maintainer is super responsive and has already fixed a lot of Android/iOS specific issues.

Edit: The landing page of the project does not seem to be optimized well for mobile. When on mobile, make sure to try the editor on http://prosemirror.net/examples/basic instead, as the landing page causes some unwanted scrolling for me on mobile.

Re:Slate.js: Customizeable rich text library inspired by Dra... by scottmf on Monday April 17, 2017 @07:47AM (#14130308)
In what way is Draft broken on Android?

Edit: I see now. I've had a look around and this open pr seems to fix it for draftjs:

https://github.com/facebook/draft-js/pull/1013

How are you currently handling Android? We're launching with draftjs in two weeks and need to support Android.

Re:Slate.js: Customizeable rich text library inspired by Dra... by karn09 on Monday April 17, 2017 @08:32AM (#14130474)
On Android there is a high chance your text won't appear, or the keyboard will disappear. Trying to delete text will cause the cursor to jump around if you hold delete down instead of one character at a time. Very frustrating.
Re:Slate.js: Customizeable rich text library inspired by Dra... by 52-6F-62 on Monday April 17, 2017 @10:23AM (#14131048)
The cursor and atomic block deletion issues occur on desktop as well. I filed an issue recently on this very thing.

It seems to be a continuation of the issues with the editor state and DOM falling out of sync.

I can't share the implementation project, but this is the issue: https://github.com/facebook/draft-js/issues/1089 And the component: https://robert-fairley.github.io/draftjs-litho-editor/

(my component was never meant for mobile use, though. Built for a desktop web app.)