I have rails_admin backend and am using
gem 'bootstrap-wysihtml5-rails'
In config/initializers/rails_admin.rb I have following field description
config.model Article do
edit do
field :detail_text, :wysihtml5
end
end
After this I get the following error in my admin area:
Unsupported field datatype: wysihtml5
Rails: 3.2.3 Ruby: 2.0.0
How can I fix it?
I am used another gem and it works fine
gem 'bootstrap-wysihtml5-rails'
and wrote in rails_admin.rb
RailsAdmin.config do |config|
config.model Team do
edit do
field :description, :text do
bootstrap_wysihtml5 true
end
end
end
end