用于Ruby on Rails的BBCode [英] BBCode for Ruby on Rails

查看:144
本文介绍了用于Ruby on Rails的BBCode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我正在组织一个简单的论坛。我想让我的用户有限的格式选项和BBCode将是很多我的用户。知道我确实不是第一个想用BBCode与RoR我GOOGLE了,但无法找到一个简单的教程,如何创建一个接受BBCode的编辑器,也没有一种方法来解析和显示BBCode格式的输入。



任何帮助或指南,将不胜感激!

解决方案

试试 bb-ruby 。它的网页上的文档似乎是非常清晰和直接。

So I'm putting together a simple forum. I'd like to allow my users limited formatting options and BBCode would be plenty for my users. Knowing that I'm assuredly not the first one to want to use BBCode with RoR I googled but couldn't find a straight forward tutorial on how to create a editor which accepts BBCode nor a way to parse and display BBCode formatted input.

Any help or guides would be appreciated!

解决方案

You should give bb-ruby a try. Its documentation on the web page seems to be very clear and straightforward.

这篇关于用于Ruby on Rails的BBCode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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