TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

3 点作者 hysan4 个月前

1 comment

hysan4 个月前
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>