tags:

views:

404

answers:

7

Looking through the Drupal contrib modules, and after a few Google searches, it becomes evident that there are any number of choices and combos available to set up a WYSIWYG editor in Drupal. I'm hoping that I can do this as simply and quickly and painlessly as possible, and not have to keep trying out different combos till one actually works right.

Here's what I need:

  1. A basic WYSIWYG editor for the "filtered" input type only.
  2. It doesn't need to have image-insert necessarily, though that might be nice later on...
  3. Simple to set up and maintain.
  4. Needs to work for Content-Profiles, Blog, Forum-post, and a few custom content types.
+2  A: 

Try this module: http://drupal.org/project/wysiwyg

rochal
+7  A: 

Check out the wysiwyg (http://drupal.org/project/wysiwyg) module.. it lets you install and try out a range of different editors, and you can associate different editors to different input types.

Personally, I've found fckeditor a good choice for allowing editors to author content - but I think the final choice is down to personal preference. By using the wysiwyg module you can demo a range.

codeinthehole
+1: WYSIWYG is the best choice, since it lets you use any number of different editors, and switch them out as needed. Choosing an editor will be your bigger problem. If you're willing to commit to just one editor, I would recommend YUI (and the accompanying drupal module) based on your specs.
anschauung
Thanks, I'll try the YUI editor first. I'm sure it's a good thing to have all these different editor choices, but I hate to have to spend all the time finding the best one...
Michael D
I'm personally a huge fan of FCK - really nice module, good profiles for setting what users can do - easy to set up and customize!
Shadi Almosri
I like fckeditor a lot too .. it's pretty easy to skin too .. so it doesn't need to look ugly.
codeinthehole
i recommend the fckeditor evolution which is called CKeditor (http://ckeditor.com/) and is far better than its predecessor
gpilotino
@gpilotino, I've heard it's good - but AFAIK, it hasn't been integrated to function via the wysiwyg module yet..? as soon as it's available I'll definitely try it out.
codeinthehole
there's a patch: http://drupal.org/node/462146 (working for me)
gpilotino
hey nice, thx :)
codeinthehole
btw, better formats (http://drupal.org/project/better_formats) can help you configure per-node-type input formats.
barraponto
A: 

Thanks for the http://drupal.org/project/wysiwyg recommendation. But this thing is just about what I expected. A million configuration choices, and not one of them working right yet. I've already spent 2 hours on it, and have tried: FCKeditor YUI markItUp NicEdit

Setting up YUI from the wysiwyg config page didn't work. When I downloaded the 2 YUI modules and installed, they work, but not with wysiwyg module, and they broke my content profiles when I uninstalled them. So far the only one that actually seems to work is the ugly FCKeditor.

So yes, it's just the time-eater I was expecting and hoping against.

EDIT: Looks like wysiwyg/tinyMCE combo is the ticket. Works and looks okay. Thanks for all the info!

Michael D
You can skin FCKeditor to look nice.. you need to edit fckconfig.js to do so though.
codeinthehole
There is a great presentation here about how to set up http://www.archive.org/details/HowtoeasilysetupanintiutiveWYSIWYGeditorthatsupportsinlineimageplacementusingCCKimagefields
Jeremy French
A: 

I use the WYSIWYG module - be sure to follow the directions closely. FCKEditor and TinyMCE work with it nicely, some of the others one are not working well.

UPDATE - April, 2010 -

Use the CKEDITOR module, very easy. http://drupal.org/project/ckeditor - still alot of choices though.

Zachary
A: 

I totally agree with the people who suggested you to use the WYSIWYG module, but I would like to qualify my answer by briefly explaining the context of the birth of that module.

Drupal - for as much as I love it - has historically sucked at managing any kind of content that is not plain text. Until version 5 came out it was a real pain to handle formatting, not to speak about images. While in the same years WordPress already had an excellent editor shipping with the default installation and Joomla! (Mambo Server, at the time!) was doing pretty well too.

Things greatly improved with D5 and D6 but efforts where put by developers in very different directions, maximising the investment of manpower and minimising the return, each module seriously lacking in different areas. At some point, a certain consensus developed on the idea of creating a standard, pluggable architecture for WYSIWYG in Drupal, possibly to be implemented in the core. A sort of API as they already exist for forms, database, messaging, mailing and pretty much every other core functionality of Drupal.

The WYSIWYG module is the fruit of that effort: that is the module that defines the API which are going to be implemented in the Drupal core.

In other words: the WYSIWYG module is not only the best existing module for what you want to do, but it is also the only one that most probably will be ever ported to D7 and following releases: if you learn how to handle it, you will have peace of mind for a few years to come, and you will have an ever-increasing choice of supported editors.

So I invite you not to give up despite the complexities of the setup. Stack Overflow and the Drupal IRC channels are excellent places to find support if you get stuck.

HTH, best of luck! :)

mac
FCK editor and Tiny MCE has been knocking around for a few years mac, for both drupal 5 and 4, not had any problems with them.
Matt
Mileage may vary according to the project specifications I suppose and both modules have gone a long way since they were first available and you could compare them with Mambo or WP. **I did not mean however to complain about any of those modules**, but purely to explain why the WYSIWYG module is the best choice now (at least in my opinion). Cheers!
mac
A: 

Hi Michael.

To sit along side the wysiwyg module, I also make use of a module called better formats

This modules allows you to further refine which input filter to use by default for each node type. I thought that alone was spot on but, you can also set up per node, which users roles get allocated which filter type.

This means on your blog pages, trusted users can have full html access (which will bring up the wysisywg - on my config) whilst other users just get a bog standard text box.

Once installed, all the options for it can be found in each node type's edit screen.

I make great use of it on my mini community portal for a little town in the UK, Tunstall

Matt
A: 

I had tested several Editors WYSIWIG before and now I can recommend you the FCKeditor with no problem.

Here a how to install video

Here a good user guide

Amirouche Douda

related questions