谷歌闭包编辑器/所见即所得

发布于 2024-09-10 17:40:05 字数 224 浏览 10 评论 0原文

有人有使用 Google Closure Editor/WYSIWYG 的经验吗?我正在考虑从 CKEDITOR 迁移到 Google Closure Editor/WYSIWYG。理想情况下,我很想使用 etherpad 编辑器,但似乎没有人将编辑器与所有应用程序分开。

无论如何,对于 Google Closure Editor/WYSIWYG,有谁知道,它是否支持 Google Docs 中看到的实时协作方面?

Does anyone have experience with Google Closure Editor/WYSIWYG? I'm thinking of moving from CKEDITOR to Google Closure Editor/WYSIWYG. Ideally I'd love to use the etherpad editor but it doesn't appear that anyone has separated the editor from all the app.

Anyhow, for Google Closure Editor/WYSIWYG, does anyone know, does it support the real-time collaborative aspects seen in Google Docs?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

酸甜透明夹心 2024-09-17 17:40:05

Google Closure 编辑器是内置浏览器编辑功能的包装器。因此,它与其他富文本编辑器(如 TinyMCE、CKEditor 等)类似。它的功能不如其中任何一个丰富,但它更小、速度更快。 Gmail(最著名的是)和各种其他 Google 产品都使用基本编辑器。

公共 Google Closure 编辑器中没有任何内容可以支持 Google Docs 风格的实时协作。话虽如此,它有一个插件模型,使您能够添加新功能。如果没有充分了解 Google Closure 的使用,我不建议采取这样的做法。

直到最近,该编辑器还被 Google 文档使用。然而,核心浏览器编辑技术的局限性成为创新的障碍,因此他们构建了自己的编辑界面[1,2](代号Kix)。此编辑表面不包含在 Closure Library 中。

  1. https://drive.googleblog.com/ 2010/04/a-rebuilt-more-real-time-google.html
  2. https://drive.googleblog.com/2010/05/whats- Different-about-new-google-docs.html

The Google Closure editor is a wrapper around the built-in browser editing capabilities. It is thus similar to other rich text editors like TinyMCE, CKEditor, etc. It is less feature-rich than either of those, but it's smaller and faster. The base editor is used by Gmail (most notably) and various other Google properties.

There is nothing within the public Google Closure editor to enable Google Docs style real-time collaboration. With that said, it has a plugin model which enables you to add new functionality. I would not recommend taking something like this on without a solid understanding of working with Google Closure.

Until recently, the editor was also used by Google Docs. However, the limitations of core browser editing technology became a barrier to innovation, so they built their own editing surface[1,2] (codenamed Kix). This editing surface is not included in Closure Library.

  1. https://drive.googleblog.com/2010/04/a-rebuilt-more-real-time-google.html
  2. https://drive.googleblog.com/2010/05/whats-different-about-new-google-docs.html
赢得她心 2024-09-17 17:40:05

它可能不会持续太久,但 github 上有一个独立版本的 kix up:
https://github.com/benjamn/kix-standalone

It might not last, but there is a standalone version of kix up on github:
https://github.com/benjamn/kix-standalone

森罗 2024-09-17 17:40:05

EtherPad Lite 是迄今为止我见过的最可行的选择:

https://github.com/ether/etherpad -lite

就我个人而言,我更喜欢这个,因为:

  1. 它是开源的
  2. 你可以托管自己的
  3. 几乎没有服务器端依赖项 (Node.js)
  4. 它有一个 API,因此你可以用任何语言构建你的应用程序

尝试窃取谷歌的工作或许不是一个好的长期计划。 (我也不相信拥有客户端库实际上对您有帮助,在实时协作功能方面,这在很大程度上取决于服务器端。)

EtherPad Lite is the most viable option I've seen so far:

https://github.com/ether/etherpad-lite

Personally I favor this one, because:

  1. It's open source
  2. You can host your own
  3. Has few server-side dependencies (Node.js)
  4. It has an API, so you can build your app in any language

Attempting to steal Google's work is probably not a good long-term plan. (I'm also not convinced that having the client-side libraries actually helps you, in terms of the real-time collaboration feature, which depends heavily on the server-side.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文