谷歌闭包编辑器/所见即所得
有人有使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Google Closure 编辑器是内置浏览器编辑功能的包装器。因此,它与其他富文本编辑器(如 TinyMCE、CKEditor 等)类似。它的功能不如其中任何一个丰富,但它更小、速度更快。 Gmail(最著名的是)和各种其他 Google 产品都使用基本编辑器。
公共 Google Closure 编辑器中没有任何内容可以支持 Google Docs 风格的实时协作。话虽如此,它有一个插件模型,使您能够添加新功能。如果没有充分了解 Google Closure 的使用,我不建议采取这样的做法。
直到最近,该编辑器还被 Google 文档使用。然而,核心浏览器编辑技术的局限性成为创新的障碍,因此他们构建了自己的编辑界面[1,2](代号Kix)。此编辑表面不包含在 Closure Library 中。
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.
它可能不会持续太久,但 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
EtherPad Lite 是迄今为止我见过的最可行的选择:
https://github.com/ether/etherpad -lite
就我个人而言,我更喜欢这个,因为:
尝试窃取谷歌的工作或许不是一个好的长期计划。 (我也不相信拥有客户端库实际上对您有帮助,在实时协作功能方面,这在很大程度上取决于服务器端。)
EtherPad Lite is the most viable option I've seen so far:
https://github.com/ether/etherpad-lite
Personally I favor this one, because:
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.)