I didn't.  I had to just live with a text field for now.   The issue has
something to do with letting tinymce know to reset each time... it's only
done once during a page load.

R


On Mon, Oct 1, 2012 at 4:25 AM, Divya Singhvi <[email protected]> wrote:

> I am having the same problem..Did u manage to find a solution??? If
> so,please share
>
>
> On Saturday, July 14, 2012 8:00:06 PM UTC+2, Russell Fine wrote:
>>
>> I need help with a strange "bug".  I have a model with a "description"
>> column that is text, and I have set up tinmyce-rails to show the fields as
>> a :text_editor field.  What's happening is that each time a partial is
>> loaded the first time in the browser window, it has a tinymce editor.  But,
>> if I show that partial again, it is no longer an editor.  For example, If I
>> go to the page and press "Create" to create a record, the new form has a
>> tinymce editor.  I close the form (with or without saving), press "Create"
>> again, and the ui is no longer tinymce.  The same occurs if I edit any
>> record... the first time the record comes up, it's the tinymce editor,
>> subsequent times, no editor just a textarea.
>>
>> What's interesting is that if I refresh the browser window, everything
>> resets, and we are back to the 1st time for each again... each works the
>> first time and fails subsequent times.  Thus, I'm thinking it has something
>> to do with the partials being cached in some way where the tinymce
>> javascript isn't re-processing them again.
>>
>> I'm running this in Rails 3.2.6, Twitter bootstrap, Active Scaffold 3.2.14
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Russell
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "ActiveScaffold : Ruby on Rails plugin" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/activescaffold/-/aD4QOaSzcC8J.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/activescaffold?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to