Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
gmail 使用开源的closure-libary(由google 制作)。一些文档可以在这里找到:
https://developers.google.com/closure/library/
使用closure-libary创建的编辑器示例,与gmail编辑器非常相似(例如链接部分),可以在这里找到:
https://google.github.io/closure-library/source/closure/goog/demos/editor/editor.html< /a>
gmail uses the open source closure-libary (made by google). Some documentation can be found here:
https://developers.google.com/closure/library/
An example of an editor created with the closure-libary, much similar to the gmail editor (e.g. the link part), can be found here:
https://google.github.io/closure-library/source/closure/goog/demos/editor/editor.html
我自己按照 Banzor 的建议使用 TinyMCE,但这里有一些其他替代方案,各有其优势:
I use TinyMCE myself as Banzor suggests but here are a few other alternatives eash with their own strengths:
我用的是TinyMCE。它可能是最强大的 JavaScript 版本,并且具有非常干净的标记!整个用户界面也是可定制的。他们在 TinyMCE 网站 上有很多信息,
这是 jQuery 版本:TINYMCE 插件
I use TinyMCE. It is probably the most powerful JavaScript version and it has really clean markup! The entire UI is customizable too. They have alot of info on the TinyMCE website
Here is the jQuery version: TINYMCE plugin
谢谢丹尼斯,
但是最近gmail有一个非常好的定制功能!
新的gmail文本编辑选项
因此有一个像上面这样的简单代码,也可以从右到左识别自动从左到右语言。
Thanks Dennis,
But recently there is a very well customized feature for gmail!
New gmail text editing options
Hence is there a simple code like above and also can recognize right to left and left to right languages automatically.