Wordgard:来自 ProseMirror 创建者的全新浏览器端富文本编辑器
Wordgard: In-browser rich-text editor from the creator of ProseMirror

原始链接: https://wordgard.net/

Wordgard [wɜrd-gɑrd] 名词:用于培育文字的花园。 这是一款开源的 JavaScript 库,用于实现浏览器端的富文本编辑器。Wordgard 提供了一套用于构建内容编辑器的工具。它并非自由格式的 HTML 编辑器,而是由你精确控制所支持内容类型的编辑器。其主要特点在于强大的编程接口,这使其成为构建定制化编辑器(甚至是复杂、高要求编辑器)的坚实基础。 Wordgard 在 MIT 许可协议下开源。它目前在 code.haverbeke.berlin 上进行开发。非常欢迎提交错误报告,但不接受 Pull Request。 如果你将 Wordgard 用于商业用途,我们存在一种社交(而非法律)层面的期望,即希望你能资助其维护工作。请从这里开始。 如需讨论项目或提出问题,最好在论坛上进行。错误报告应通过问题跟踪器提交。

ProseMirror 的创作者 Marijn Haverbeke 推出了一个新的浏览器内富文本编辑器:**Wordgard**。 Hacker News 上的讨论澄清道,Wordgard 并非直接的“ProseMirror 2.0”,而是基于新的设计见解和架构经验所进行的迭代。Haverbeke 强调他将继续维护 ProseMirror,并指出对于那些认为 Wordgard 的设计选择更符合其需求的用户来说,它是一个可选的替代方案。 在技术层面,Wordgard 使用了自定义文档模型,而不是仅依赖于在各浏览器中依然存在许多 Bug 的 `contenteditable` API。尽管用户对其较高的“迁移成本”存有疑虑,但支持者们对其简化的架构和精确的事务处理表示赞赏。 社区也称赞了该项目高质量的手绘风格设计,以及其不依赖外部组件的特性。虽然该项目尚处于早期阶段,且目前在移动端还存在一些稳定性问题,但开发者们将其视为 Web 编辑领域的一次重大演进。Haverbeke 重申了他对开源稳定性的承诺,并指出 ProseMirror 的 MIT 协议确保了即使他的个人重心转向 Wordgard 等新迭代,该项目依然能够长久存在。
相关文章

原文

Wordgard [wɜrd-gɑrd] noun A garden for cultivating words. Open-source JavaScript library implementing an in-browser rich-text editor.

Wordgard provides a set of tools for building content editors. It is not a free-form HTML editor, but one where you control precisely what kind of content you support.

Its main distinguishing feature is a powerful programming interface that makes the library a good foundation for customized editors—even complex, demanding ones.

Wordgard is open source under a permissive license (MIT). It is being developed on code.haverbeke.berlin. Bug reports are very welcome. Pull requests are not accepted.

If you are using Wordgard commercially, there is a social (but no legal) expectation that you help fund its maintenance. Start here.

Discussing the project or asking questions is best done on the forum. Bugs should be reported through the issue tracker.

联系我们 contact @ memedata.com