Hi, i have this strange behaviour with ActiveScaffold (last commit on
git://
github.com/activescaffold/active_scaffold.git) and TinyMCE (last
commit on git://
github.com/kete/tiny_mce.git) when rails validate
Object attributes.
class ProductsController < ApplicationController
uses_tiny_mce
active_scaffold :product do |config|
.....
config.columns[:description].form_ui = :text_editor
.....
end
end
1) when create a new Product i have the correct TinyMCE advanced text
editor.
2) when click on create (with validations error on some attributes) i
have the new rendered from with validations errors, but now the
TinyMCE text editor is a normal textarea.
3) when click on create for the second time i have the correct TinyMCE
advanced text editor, but the button (x) for close form disappear!
Thanks for help