2

Straight to the point, I need a WYSIWYG module for Drupal 6; here are the requirements:

  • Easy to change the toolbar button
  • Able to add custom style
  • Able to upload image and put into content
  • Able to upload flash and render it inside content
  • Able to upload file and show it as download link inside content

Anybody familiar with Wordpress WYSIWYG editor? That is something like what I want.

2
  • 8
    if you Google "Drupal WYSIWYG" you're 90% there. Mar 16, 2011 at 4:23
  • Hi, wrburgess Just let u know, I been researching a lot in Google and Drupal plugin pages. I know there are lot of plugins offer those functionality that I want but I would like to know other people opinions about this topic.
    – kororo
    Mar 21, 2011 at 22:46

4 Answers 4

4

If you are going to use WYSIWYG you should consider using WYSIWYG Filter to ensure that users do not include markup that you do not want to get through. Without the filter and full html text format enabled users can switch from full html or which other formats you have defined to plain text where they can add whatever markup they want and back to full html to by pass the plain text filter. With WYSIWYG filter you can ensure that bad markup or even corrupt js does not make it through the WYSIWYG editor.

Another way to ensure clean markup is to create your own text format and only enabling the WYSIWYG editors buttons that produce the same markup that you allow through your format.

elFinder is probably the best file manager out there at the moment. I find it's UI is much better than IMCE

3
  • i like ur elFinder suggestion! trying to install CKFinder really pain in the butt.. Now, how do u do embbed media? I found most of the modules are for D6... Sad
    – kororo
    Mar 28, 2011 at 4:54
  • i mark urs is the answer since i like ur elFinder suggestion!
    – kororo
    Mar 28, 2011 at 4:56
  • I haven't used elfinder with FCKeditor but it probably works the same as TinyMCE. Once the module is installed you'll need to enable elFinder in the Buttons and Plugins settings for your WYSIWYG editor.
    – Jepedo
    Mar 28, 2011 at 19:03
5

Use the WYSIWYG module... TinyMCE allows for media to be added such as Flash, so you can use that plugin.

For files/images you can use the Insert module OR IMCE (along with IMCE Wysiwyg API Bridge) to add the images/files to the content.

Remember Google can be a wonderful thing ;)

1
  • I understand about how to upload files but how to render Flash inside the textarea?
    – kororo
    Mar 22, 2011 at 0:47
4

In addition to WYSIWYG with whichever Javascript WYSIWYG library you want to use, you'll probably also want Linkit, Image Browser, etc., etc.

You should probably also make sure that you've got a good HTML cleanup configuration in your input formats and that your WYSIWYG configuration will only generate tags that other filters aren't going to strip out again. You'll also want to make sure that pasting "rich text" from other applications into your WYSIWYG will be treated correctly (cleaning up the junk from Word, normalising style="font-weight:bold" to <strong>, etc.)

Making a useful, reliable, "correct" WYSIWYG configuration requires more than just installing the modules.

4
  • Linkit plugin is good! Thanks for sharing that. do you know any module that has embbed media support?
    – kororo
    Mar 28, 2011 at 4:56
  • @Roberto I'm not sure about Drupal 6, but Media is going to rock for Drupal 7 sites.
    – user413
    Mar 28, 2011 at 7:42
  • is it safe to use this module? since it is still on beta version.
    – kororo
    Mar 28, 2011 at 23:00
  • @Roberto If you need to ask the question, probably not. :-)
    – user413
    Mar 29, 2011 at 0:43
2

I use WYSIWYG, CKEditor, IMCE, and the IMCE WYSIWYG Bridge. You can configure profiles that you assign to roles for various things like HTML filters, confine the user to an upload directory based on their UID (sites/default/files/%uid), and just a lot of other really awesome stuff.

Here is the guide that I found that finally put all of this together for me:

http://himerus.com/blog/himerus/inline-images-drupal-wysiwyg-api-tinymce-and-imce

1
  • hi, thanks for responding my question, sorry.. I will skip IMCE.. It has really basic uploading features, try elFinder, it is cool! All you need just drop the files and install module, it works like charms!
    – kororo
    Mar 28, 2011 at 4:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.