Draft.js and React Native

Has anyone tried connecting DraftJs using React Native. Any ideas how to do this?

https://github.com/facebook/draft-js/issues/138

+4
source share
1 answer

As the link shows, it is hard work to implement a complete new editor of the native version with the current project model. I see a few difficult points:

  • Keyboard and cursor controls. editable contenta lot of help in the project. editable contentalready supported by browsers.
  • The draft model consists of blocks and built-in things. It conforms to the HTML model, which makes the Draft model map for the DOM easy. But the iOS / Android plan does not consist of blocks and built-in things.
  • H5 . CSS , . ? Android/iOS SDK .

, Editor Framework, . , , WebView, H5.

+1

Source: https://habr.com/ru/post/1649344/


All Articles