Hello,

I have tried out the two main wysiwyg editors (fckeditor, tinymce) but when I am at the end of the line and hit enter, they always skip a blank line and go to create a new paragraph.

I really need some simple stuff - bold, italic, underline and easy linking, but the skipping lines is really annoying...
I really clean formating, so even though its not a new paragraph, it might need a new line.

I have played with filtered html / full html but when typing in the editor, I still get the lines - so less techy people will get it wrong and it won't look like what they put in.

The other thing the editors seem to do is mess up text that is already on the site...

Any suggestions for me?
My current thinking is heading towards a simple bbcode with buttons editor but still exploring, plus just found quicktags and bbcode modules which I will try out.

Thanks for your help!

Comments

jmmolina’s picture

It's logical they create paragraphs because new lines are just evil. Why do you want to create new lines instead of paragraphs ? If it's for an enumeration, go for a list. Not that using lines instead of paragraphs will clutter the design of your documents. You can update all your paragraphs by changing one single style, I'm not sure it can be done when using lines.

Most word processors work like the WYSIWYG HTML editor modules.

sambtaylor’s picture

This is a stupid comment. There are times when single line breaks are needed. I need them. And there should be a way to get them.

dwees’s picture

I've worked out an integration of the OpenWYSIWYG editor, and it does what you are looking for. I'm trying to get in touch with the creators of this editor to see if I can post a slightly modified version of their work up somewhere and when I do get in touch with them, I'll put up my module.

Dave

dman’s picture

As with most wysiwyg editors, and MS Word, And Open Office, and Wordpad ...
Shift-enter gives you a simple newline without paragraph blocking it.
... in tinyMCE, anyway. I imagine FCK does too.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

tk501’s picture

Knowing the shift-enter thing is my solution.

Must have been spending too much time on simple textareas and emails to notice that word does the same as tinymce!

My major usage was for dot points to be on the next line instead of being in their own paragraph.

Dave, if that does come through with openWYSIWYG I would still be interested.

Thanks again!

dwees’s picture

No word from the OpenWYSIWYG people, and I hear jQuery will be publishing an editor soon, which will probably be superior anyway. I'm going to hang off on releasing this as a module.

Dave

My site: http://www.unitorganizer.com/myblog

drupalnesia’s picture

Download here: http://drupal.org/project/openwysiwyg

After some discussions and fix the conflict to jQuery now you can try this module. Any feature will be available in next version soon. To make this editor works in Drupal I need to change the source-code, therefore the module including all scripts.

Please try and let me see what we can improve to this nice WYSIWYG editor.