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...
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
Comment #1
gregarios commentedI see the module description on Drupal gives more details, but the Readme should probably also contain the same info...
Comment #2
geerlingguy commentedYeah, 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?
Comment #3
gregarios commentedI 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. ;-)
Comment #4
gregarios commentedComment #5
geerlingguy commentedI've added this information to the README.txt file, and committed the change: http://drupalcode.org/project/wysiwyg_linebreaks.git/commit/f386e4e
Comment #6
geerlingguy commentedNeeds to go into the 7.x branch as well...
Comment #7
geerlingguy commentedCommitted to D7 branch: http://drupalcode.org/project/wysiwyg_linebreaks.git/commit/d24c603
Comment #8
geerlingguy commentedComment #10
artbussy commentedAllthough 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.
Comment #11
geerlingguy commentedJust to bump this back into my list.
Comment #12
geerlingguy commentedI've added clarifications in the README.txt file - basically, you can set which method you'd like to use per-WYSIWYG-profile: