如何在rails中实现编辑/格式化文本区域 [英] how to implement editing/formating text area in rails

查看:35
本文介绍了如何在rails中实现编辑/格式化文本区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现如图所示的文本框(文本区域).我知道简单的文本区域,但不知道这种类型的文本区域,它提供格式、编号功能,因为我是 Rails 新手,请帮助我

i want to implement text box(text area) as shown in picture .I know the simple textarea but dont know this type of text area which gives formatting ,numbering facility,Since iam new to rails plz help me

推荐答案

这不是 Rails 提供的,但是有很多 javascript wysiwyg 插件可以解决这个问题.这对我来说很有效:https://github.com/spohlenz/tinymce-rails

This is not something that Rails provides, but there are many javascript wysiwyg plugins that solve this problem. This has worked well for me before: https://github.com/spohlenz/tinymce-rails

这篇关于如何在rails中实现编辑/格式化文本区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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