![]() ![]() Not only that, but since supports only plaintext, we could never expand our feature set to include richer styles or embedded content. These issues in turn led to poor user experiences, with misaligned backgrounds and broken input. There were also challenges with synchronizing state and DOM, since the plaintext contained no information about the structured mention data. However, this solution led to a poor developer experience, with lots of DOM hacks needed to measure text to autogrow the textarea, keep highlighters positioned properly, and track cursor positions with invisible unicode characters. In the past, we've addressed this format with and background highlighter tags. For instance, within a comment, you might add mentions and hashtags. Rich text is a core part of Facebook products. We're thrilled to share that it now has nearly 4,000 stars. This is a new area for us because we've never open-sourced a rich-text framework, but we were excited to see that within the first couple of hours of it being open-sourced in GitHub, Draft.js received more than 1,000 stars. We open-sourced Draft.js, a React-based rich text editor framework that has been in development since summer 2013. ![]() ![]() One of the event's highlights came from our very own product infrastructure team here at Facebook. This week, 400 engineers from the React community came together for React.js Conf in San Francisco, a two-day conference dedicated to discussing React developer trends while addressing some common challenges to improve the experience for both the developer and the user. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |