#6 new

Adds <br> after absolutely every element.

Reported by joey | July 3rd, 2009 @ 01:26 PM

This is my current init setup.
It doesn't seem to matter what settings I use.

uses_tiny_mce :class => 'mceEditor',

            :options => { :theme => 'advanced',
                          :theme_advanced_layout_manager => 'SimpleLayout',
                          :theme_advanced_toolbar_location => 'top',
                          :theme_advanced_buttons1 => 'bold, italic, underline, strikethrough, separator, bullist, numlist, separator, justifyleft, justifycenter, justifyright, justifyfull, separator, outdent, indent, separator, link, unlink, separator, blockquote, code, image, separator, formatselect',
                          :theme_advanced_buttons2 => '',
                          :theme_advanced_buttons3 => '',
                          :content_css => '',
                          :apply_source_formatting => 'true',
                          :remove_redundant_brs => 'true',
                          :cleanup => 'true',
                          :convert_newlines_to_brs => 'false',
                          :force_br_newlines => 'false',
                          :force_p_newlines => 'true'

Comments and changes to this ticket

  • joey

    joey July 3rd, 2009 @ 01:54 PM

    Ahh nevermind. I'm an idiot.
    I had <%= simple_format article.body %> instead of <%= article.body %>.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Ruby on Rails plugin that allows easy implementation of the TinyMCE editor into your applications.

People watching this ticket