Install tinymce in Drupal 7.

Source: Internet
Author: User
Tags drupal

Original article: http://www.drupalla.com/node/1321

Drupal has always used ckeditor as a text editor. A very powerful editor, but the generatedCodeBut it is difficult to accept. It is often annoying to see spam code similar to the following.

1
<Div> &Nbsp; </Div>

So I tried tinymce and found that it was really good. The generated code was very neat and neat, and the function was no weaker than ckeditor. So I changed the editor.

 

The installation steps are also relatively simple:

1. Install the WYSIWYG module.

 

Go to the http://www.drupalla.com/project/wysiwyg to download Drupal 7 and unzip it to sites/All/moduleswysiwyg under the Drupal website

 

Click to install WYSIWYG

 

2. Set tinymce and WYSIWYG

Click Configure to go to the configuration page.

The WYSIWYG module configuration page is displayed. The key point to note is that we need to install tinymce now. Scroll down until you find the position of tinymce.

Click Download to download tinymce.

You will be taken to the main tinymce download page. Download it to sites/All/libraries.

 

That's it. You have installed tinymce. Now we need to configure it to meet our needs.

3. Configure tinymce

Return to the WYSIWYG module configuration page. You can see the configuration editor project here.

Similar to the following interface:

 

Change "Editor" to tinymce. Click Save ".

Click "edit" to modify the configuration of tinymce.

Click the "buttons and plugins" tab and select the button you want to use. Click "save" and repeat the process for other input formats.

That's simple. Go to "add content". Now you should see the tinymce Editor interface. Is it more concise than ckeditor?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.