如何为网站添加富文本编辑支持?

时间:2022-01-04 15:49:47

I need some basic CMS functionality with rich text editing. On stack overflow there is a regular textarea edit control, with support for Markdown style syntax formatting. That would be beyond my users, so I want something like a rich edit control that you can type into on the web site. I know it is possible, as loads of sites do it, but I don't know where to start.

我需要一些基本的CMS功能和丰富的文本编辑。在堆栈溢出时,有一个常规的textarea编辑控件,支持Markdown样式语法格式。那将超出我的用户,所以我想要一些像你可以在网站上输入的丰富的编辑控件。我知道这是可能的,因为大量网站都这样做,但我不知道从哪里开始。

3 个解决方案

#1


8  

TinyMCE is probably one of the more popular versions of this sort of thing. You can customize it to fit your needs, in terms of what functionality you want to offer your viewers. a few alternatives (tend to be lighter weight than a full TinyMCE install):

TinyMCE可能是这类东西中比较流行的版本之一。您可以根据自己希望为观众提供的功能来定制它以满足您的需求。一些替代方案(往往比完整的TinyMCE安装重量更轻):

#2


4  

fckeditor is very powerful and configurable.

fckeditor非常强大且可配置。

#3


1  

Yahoo's YUI Rich Text Editor is now out of beta and proves to be well supported across browsers.

雅虎的YUI富文本编辑器现已退出测试版,并证明可以跨浏览器得到很好的支持。

#1


8  

TinyMCE is probably one of the more popular versions of this sort of thing. You can customize it to fit your needs, in terms of what functionality you want to offer your viewers. a few alternatives (tend to be lighter weight than a full TinyMCE install):

TinyMCE可能是这类东西中比较流行的版本之一。您可以根据自己希望为观众提供的功能来定制它以满足您的需求。一些替代方案(往往比完整的TinyMCE安装重量更轻):

#2


4  

fckeditor is very powerful and configurable.

fckeditor非常强大且可配置。

#3


1  

Yahoo's YUI Rich Text Editor is now out of beta and proves to be well supported across browsers.

雅虎的YUI富文本编辑器现已退出测试版,并证明可以跨浏览器得到很好的支持。