R.mikolajuk (talk | contribs) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
# Unzip the downloaded [http://drupal.org/project/ckeditor CKEditor module] to the <code>"sites/all/modules"</code> directory. It should now contain a "ckeditor" directory. | # Unzip the downloaded [http://drupal.org/project/ckeditor CKEditor module] to the <code>"sites/all/modules"</code> directory. It should now contain a "ckeditor" directory. | ||
# Enable CKEditor module in the <code>"Administration > Modules > User Interface"</code> section. | # Enable CKEditor module in the <code>"Administration > Modules > User Interface"</code> section. | ||
− | # Grant permissions for | + | # (Optional) Grant permissions for customizing/administering CKEditor in the <code>"Administration > People > Permissions"</code> section. |
# Adjust CKEditor profiles in the <code>"Administration > Configuration > Content Authoring > CKEditor"</code> section. | # Adjust CKEditor profiles in the <code>"Administration > Configuration > Content Authoring > CKEditor"</code> section. | ||
#: Profiles determine what options are available to users based on the Text Format system. | #: Profiles determine what options are available to users based on the Text Format system. | ||
Line 12: | Line 12: | ||
#: If you are going to use CKEditor with Filtered HTML input format, please read also the [[../Inline_Styles|HTML Filters and Inline Styling]] section. | #: If you are going to use CKEditor with Filtered HTML input format, please read also the [[../Inline_Styles|HTML Filters and Inline Styling]] section. | ||
# To have better control over line breaks, you may disable the Line break converter for a given Text Format in the <code>"Administration > Configuration > Content authoring > Text formats"</code> section (recommended). | # To have better control over line breaks, you may disable the Line break converter for a given Text Format in the <code>"Administration > Configuration > Content authoring > Text formats"</code> section (recommended). | ||
− | # Modify the <code><ckeditor_module>/ckeditor.config.js</code> file to customize it to your needs (optional). All configuration options are listed in the [http://docs.ckeditor.com/#!/api/CKEDITOR.config | + | # Modify the <code><ckeditor_module>/ckeditor.config.js</code> file to customize it to your needs (optional). All configuration options are listed in the [http://docs.ckeditor.com/#!/api/CKEDITOR.config CKEditor 4 documentation] |
Latest revision as of 09:25, 26 January 2015
- Unzip the downloaded CKEditor module to the
"sites/all/modules"
directory. It should now contain a "ckeditor" directory. - Enable CKEditor module in the
"Administration > Modules > User Interface"
section. - (Optional) Grant permissions for customizing/administering CKEditor in the
"Administration > People > Permissions"
section. - Adjust CKEditor profiles in the
"Administration > Configuration > Content Authoring > CKEditor"
section.- Profiles determine what options are available to users based on the Text Format system.
- For the Rich Text Editing to work you also need to configure Text Formats for the users that may access Rich Text Editing. Either grant those users Full HTML access or use the following tags:
- <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <caption> <tbody> <tr> <td> <em> <b> <u> <i> <strong> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <param> <strike>
- If you are going to use CKEditor with Filtered HTML input format, please read also the HTML Filters and Inline Styling section.
- To have better control over line breaks, you may disable the Line break converter for a given Text Format in the
"Administration > Configuration > Content authoring > Text formats"
section (recommended). - Modify the
<ckeditor_module>/ckeditor.config.js
file to customize it to your needs (optional). All configuration options are listed in the CKEditor 4 documentation