在Rails中进行RTF编辑的最佳选择是什么? [英] What are the best options for Rich Text Editing in Rails?

查看:110
本文介绍了在Rails中进行RTF编辑的最佳选择是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在表单上使用富文本编辑功能,以便管理员更改说明.这样做的最佳选择是什么?

I'd like to use Rich Text Editing in place on forms in order to let admins change instructions. What are the best options for doing this?

[要更加清楚-管理员不是技术人员,但可能希望控制某些格式而不使用标记或标记尽可能少.我希望他们能够使用具有某些格式控制功能的RTE来内联编辑所有AJAXy,然后提交并能够看到最终用户的说明,而无需更改页面.

[To be more clear - the admins are non-technical but may want to control some formatting without using markup or with as little markup as possible. What I'd like is for them to be able to edit inline all AJAXy with an RTE featuring some formatting controls and then submit and be able to see what the instructions will look like to the end user without changing pages.

关于插件方面,我想知道的是哪种Rich Test Editing插件最适合在Rails中使用.最容易实现,最清晰的API,最容易内联使用,等等...]

With Regards to plugins specifically, what I'd like to know is which Rich Test Editing plugins are the best for use in Rails. Easiest to implement, clearest API, easiest to use inline, etc... ]

推荐答案

对于 Tumblon ,我们从 TinyMCE ,但是我们正在切换到Yahoo的富文本编辑器,因为TinyMCE的工作方式存在一些奇怪的问题,并且富文本编辑器文档和默认外观更为出色.

For Tumblon, we started with TinyMCE but we are switching to Yahoo's Rich Text Editor because there were some weird issues with the way TinyMCE worked and because the Rich Text Editor documentation and default look-and-feel is superior.

两者都很容易与Rails集成(毕竟它们只是JavaScript).有插件,但是您实际上并不需要插件.

Both are pretty easy to integrate with Rails (they are just JavaScript, after all). There are plugins, but you don't really need one.

这篇关于在Rails中进行RTF编辑的最佳选择是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆