Now that there are two types of non-functioning "buttons" in this module... it really needs a more thorough documentation, or ReadMe.txt file.

I'm not sure what each of the module options does anymore...

Comments

gregarios’s picture

Priority: Normal » Minor

I see the module description on Drupal gives more details, but the Readme should probably also contain the same info...

geerlingguy’s picture

Status: Active » Needs review

Yeah, true. Will add a little more.

Basically:

This module adds two Buttons / Plugins you can use in your WYSIWYG profiles:

1. Force linebreaks

Using this plugin will make your content always have linebreaks instead of paragraph and break tags. This means that if you disable your WYSIWYG editor, your text will typically display with an extra line between each block of text. This plugin is great for sites that often toggle WYSIWYG editors on and off, as it's much easier to edit content from a WYSIWYG by hand if it doesn't have a ton of <p> and <br /> tags running together.

2. Convert linebreaks

Using this plugin will take content that has linebreaks, but no <p> and <br /> tags, and convert it so it still looks correct in WYSIWYG editors. If you are dealing with legacy content, or want to start using a WYSIWYG editor after you've already added lots of content to your site without one, this plugin will help ease that transition.

The two plugins should NOT be used together (unfortunately, there's no way for us to prevent you from doing that, though). Pick one method of conversion, and stick with it. You can switch between the two, if you'd like, with no harmful effect.

What do you think of that?

gregarios’s picture

I guess my confusion is that the "buttons" it adds don't actually work. I wish one did, so I could use the button to modify the text in the textarea like all the other buttons do.

Aside from that, your documentation looks good in that last post. ;-)

gregarios’s picture

Status: Needs review » Reviewed & tested by the community
geerlingguy’s picture

Assigned: Unassigned » geerlingguy
Status: Reviewed & tested by the community » Fixed

I've added this information to the README.txt file, and committed the change: http://drupalcode.org/project/wysiwyg_linebreaks.git/commit/f386e4e

geerlingguy’s picture

Version: 6.x-1.2 » 7.x-1.x-dev
Status: Fixed » Patch (to be ported)

Needs to go into the 7.x branch as well...

geerlingguy’s picture

geerlingguy’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

artbussy’s picture

Allthough I don't need to know right now, I wondered if the buttons can't be used together per profile or site wide. Maybe you can clearify this in the Readme.txt.

geerlingguy’s picture

Status: Closed (fixed) » Active

Just to bump this back into my list.

geerlingguy’s picture

Status: Active » Fixed

I've added clarifications in the README.txt file - basically, you can set which method you'd like to use per-WYSIWYG-profile:

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.