简体   繁体   English

web 页面上的富文本编辑器

[英]Rich Text Editor on a web page

I am trying to add a rich text editor in my web page where users can write reviews and format what they have written...something similar to the editor in which we write our posts on this site... can anyone point me to the right direction regarding this...any tutorial that would help me build such a component... Also i want a free product....(Forgot to mention earlier...)我正在尝试在我的 web 页面中添加富文本编辑器,用户可以在其中撰写评论并格式化他们所写的内容...类似于我们在本网站上撰写帖子的编辑器...任何人都可以指出我关于这个的正确方向......任何可以帮助我构建这样一个组件的教程......我也想要一个免费的产品......(忘了前面提到......)

Something in the likes of TinyMCE or FCKeditor , perhaps.可能是TinyMCEFCKeditor之类的东西。

They're quite complete, and customisable.它们非常完整,可定制。

The editor used on Stack Overflow is the WMD Editor . Stack Overflow 上使用的编辑器是WMD Editor

The current version used on the site has been updated by Jeff Attwood and other site users and you can read about it here and get a copy of the code for your own site. Jeff Attwood 和其他站点用户已经更新了站点上使用的当前版本,您可以在此处阅读获取您自己站点的代码副本

I think you'd be better off using (and perhaps modifying) an existing component rather than writing your own from scratch.我认为您最好使用(并且可能修改)现有组件,而不是从头开始编写自己的组件。

I've been using the Telerik r.ad Editor , and been very happy with it.我一直在使用Telerik r.ad Editor ,对它非常满意。

after much research here is what i did...经过大量研究,这就是我所做的......

i needed a control that was free and easy to use..all the editors that i went through came with a licence so i decided to make my own control!!!!我需要一个免费且易于使用的控件。我使用的所有编辑器都带有许可证,所以我决定自己制作控件!!!!

well..i couldnt do that on my own so i used the help of a few sites....好吧..我自己做不到,所以我使用了一些网站的帮助....

javascript Rich Text Editorsjavascript 富文本编辑器

http://aspalliance.com/1092_Rich_Text_Editor_Part_I http://aspalliance.com/1092_Rich_Text_Editor_Part_I

http://ws.aspalliance.com/1092_Rich_Text_Editor_Part_II and a few others too... http://ws.aspalliance.com/1092_Rich_Text_Editor_Part_II和其他一些......

so the best option for me was to build my own control so that i could customize it according to my needs....所以对我来说最好的选择是构建我自己的控件,以便我可以根据我的需要对其进行自定义....

here is yet another one: NicEdit这是另一个: NicEdit

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

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