On Lunes, 26 de Julio de 2010 10:33:24 Bruce Yao escribió: > I have installed tiny_mce plugin correctly. > When I create new or update, the mce control can show the table correctly. > But I show the data,it can't work properly.
Oh sorry, I didn't read you were talking about show action. Add an override in your helper to show the data without escaping: def data_column(record) record.data end > > On Mon, Jul 26, 2010 at 3:02 PM, Sergio Cambra .:: entreCables S.L. ::. < > > [email protected]> wrote: > > On Viernes, 23 de Julio de 2010 11:51:44 bruceyao escribió: > > > I use tinymce with AS. just like this > > > #use tinymce > > > config.columns["data"].form_ui = :text_editor > > > config.columns[:data].options = {:rows => '30', :cols => '100'} > > > Now I insert a table into data when create.But when I show data,It > > > show > > > "<table border="0" cellspacing="0" cellpadding="0" width="100%"> > > > <tbody> > > > <tr valign="top"> ..." > > > How can I show the table correctly.Thank You for your attention . > > > > Have you installed tiny_mce plugin or gem? > > > > > > -- > > Sergio Cambra .:: entreCables S.L. ::. > > Mariana Pineda 23, 50.018 Zaragoza > > T) 902 021 404 F) 976 52 98 07 E) [email protected] > > > > -- > > 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]<activescaffold%2Bunsubscribe@ > >googlegroups.com> . > > For more options, visit this group at > > http://groups.google.com/group/activescaffold?hl=en. -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] -- 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.
