TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

We rewrote The New York Times' text editing library. Then we open sourced it

3 pointsby hysan3 months ago

1 comment

hysan3 months ago
The original title was too long: “ We rewrote The New York Times’ text editing library. Then we open sourced it. Then we rewrote it again.”<p>Quick summary:<p>- The original NYT library is this one: <a href="https:&#x2F;&#x2F;github.com&#x2F;nytimes&#x2F;react-prosemirror">https:&#x2F;&#x2F;github.com&#x2F;nytimes&#x2F;react-prosemirror</a><p>- This is the author’s rewrite: <a href="https:&#x2F;&#x2F;github.com&#x2F;handlewithcarecollective&#x2F;react-prosemirror">https:&#x2F;&#x2F;github.com&#x2F;handlewithcarecollective&#x2F;react-prosemirro...</a><p>- They rewrote ProseMirror’s renderer in React instead of having a layer sit between the two.<p>- The author answered questions over on Reddit and had good insight into how their rewrite compares to other ProseMirror based libraries: <a href="https:&#x2F;&#x2F;old.reddit.com&#x2F;r&#x2F;reactjs&#x2F;comments&#x2F;1ij7lmb&#x2F;why_i_rebuilt_prosemirrors_renderer_in_react&#x2F;" rel="nofollow">https:&#x2F;&#x2F;old.reddit.com&#x2F;r&#x2F;reactjs&#x2F;comments&#x2F;1ij7lmb&#x2F;why_i_rebu...</a>