简体   繁体   English

使用TinyMCE是网页上WYSIWYG编辑器的首选?什么是好的选择?

[英]is using TinyMCE a top choice for WYSIWYG editor on a webpage? What are good alternatives?

is using TinyMCE a top choice for WYSIWYG editor on a webpage? 使用TinyMCE是网页上WYSIWYG编辑器的首选? What are good alternatives? 什么是好的选择?

some comparison seems to show that TinyMCE is one of the most compatible across browsers: 一些比较似乎表明TinyMCE是跨浏览器最兼容的之一:

http://geniisoft.com/showcase.nsf/WebEditors http://geniisoft.com/showcase.nsf/WebEditors

TinyMCE is a great choice. TinyMCE是一个很好的选择。 I've used it in commercial offerings with good results. 我在商业产品中使用它并取得了良好的效果。 I'm also looking at FCKEditor for a new project specifically because of the integrated file upload and rumors that it has better XSS protection. 我也正在考虑FCKEditor一个新项目,因为它集成了文件上传和传言它有更好的XSS保护。 Frankly, I'm not sure either one is sufficient to protect against XSS (you may have to supplement with something like http://htmlpurifier.org/ if that is a concern). 坦率地说,我不确定任何一个足以防止XSS(如果这是一个问题,你可能需要补充http://htmlpurifier.org/之类的东西)。

I've been using FCKEditor with ASP.NET for years and have found it very easy to customize and configure. 我多年来一直在使用FCKEditor和ASP.NET,并且发现它很容易定制和配置。 It's very stable and the intergrated upload feature is a plus. 它非常稳定,并且集成的上传功能是一个优点。 http://www.fckeditor.net/ http://www.fckeditor.net/

This is one of the best in my opinion: 这是我认为最好的之一:

http://www.openwebware.com/ http://www.openwebware.com/

TinyMCE and FCKeditor are the top two WYSIWYG editors in terms of popularity. 就流行度而言,TinyMCE和FCKeditor是WYSIWYG的两大编辑。 They are both feature-rich and highly customizable. 它们功能丰富且可高度自定义。 In my opinion TinyMCE is the easiest to use and maintain of the myriad different options, and still gets my vote after 4 years of usage. 在我看来,TinyMCE是最容易使用和维护的无数不同选项,并且在使用4年后仍然可以获得我的投票。 YUI is another nice choice worth evaluating, as are the others listed above. YUI是值得评估的另一个不错的选择,以及上面列出的其他选择。 I've listed the demo pages for each below: 我已经列出了以下每个的演示页面:

I'm liking this Stack Overflow one as well though, +1 to the crew. 我也喜欢这个Stack Overflow,但是给船员+1。
-EDIT- but then -1 because you treated me like a spammer with only 1 allowed hyperlink... -EDIT-然后-1,因为你把我当成垃圾邮件发送者只有1个允许的超链接...

HTH HTH
Jeff M. 杰夫M.

Nicedit is useful for some simple text areas and it has a somewhat clean javascript api. Nicedit对于一些简单的文本区域很有用,它有一些有点干净的javascript api。

There is a list of other possible richtext boxes here . 还有其他可能的富文本框的列表在这里

如果您在后端使用PHP或ASP.NET,请查看SPAW编辑器

Why not try the Stackoverflow site's solution? 为什么不尝试Stackoverflow站点的解决方案?

you can find details in Stackoverflow's blog post here : Potential Markup and Editing Choices 你可以在Stackoverflow的博客文章中找到详细信息: 潜在的标记和编辑选择

TinyMCE was the editor that we chose when we were making an internal staff website. TinyMCE是我们在制作内部员工网站时选择的编辑。 The nice part about it was all the keyboard shortcuts (probably found in other editors) and that it was the same editor used inside of WordPress. 关于它的好处是所有键盘快捷键(可能在其他编辑器中找到),并且它是在WordPress中使用的相同编辑器。

We were very happy with how the site turned out, and kept the editor. 我们对该网站的结果非常满意,并保留了编辑。 I would recommend TinyMCE for your project. 我会为你的项目推荐TinyMCE。

As many have said here, FCKEditor is a good alternative. 正如许多人在这里所说,FCKEditor是一个很好的选择。 However, pay attention to the licensing models of the editors especially if you're planning on using them for a commercial, closed-source application. 但是,要注意编辑的许可模式,特别是如果您计划将它们用于商业的闭源应用程序。

http://tinymce.moxiecode.com/license.php http://tinymce.moxiecode.com/license.php

TinyMCE is just LGPL. TinyMCE只是LGPL。

http://ckeditor.com/license http://ckeditor.com/license

CKEditor (the most recent manifestation of FCK Editor) has a separate Closed Distribution License which may cost you some moulah... CKEditor(FCK编辑器的最新版本)有一个单独的封闭式分发许可证,可能会花费你一些moulah ...

I like the feature set and theme of FCKEditor/CKEditor better than TinyMCE but I often end up using TinyMCE due to it being a little simpler to handle in terms of licensing. 我喜欢FCKEditor / CKEditor的功能集和主题比TinyMCE更好,但我经常最终使用TinyMCE,因为它在许可方面稍微简单一些。

No one has mentioned the CuteEditor yet. 还没有人提到过CuteEditor It's got a silly name, but it's actually quite nice to work with. 它有一个愚蠢的名字,但它实际上很好用。 It's not free, but an enterprise license (which allows you to use it on any number of servers, dev workstations etc) is only 900 bucks or something ridiculously cheap. 它不是免费的,但是企业许可证(允许你在任意数量的服务器,开发工作站等上使用它)只有900美元或者非常便宜的东西。 I believe it's only availble for ASP.Net and classic ASP, though I could be wrong. 我相信它只适用于ASP.Net和经典ASP,尽管我可能错了。

TinyMCE and similar editors are not suitable for non-technical people who are likely to mess up the markup. TinyMCE和类似的编辑器不适合那些可能搞乱标记的非技术人员。 Specially when said non-techy people copy formatted text from word into the RTE on the web page, thinking it's the most natural thing to do. 特别是当所述非技术人员将格式化文本从单词复制到网页上的RTE时,认为这是最自然的事情。

If you're audience is technical, something like markdown (as used here on SO) is more suitable. 如果您的观众是技术性的,那么像markdown(在SO上使用的)更合适。

If they're non-technical, let them use WYMeditor (WYM = what you mean), and provide some sort of a tutorial/explanation so they can use it. 如果他们是非技术性的,让他们使用WYMeditor (WYM =你的意思),并提供某种教程/解释,以便他们可以使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM