diff --git a/core/modules/ckeditor/ckeditor.module b/core/modules/ckeditor/ckeditor.module old mode 100644 new mode 100755 index 4ca9956..8d206f0 --- a/core/modules/ckeditor/ckeditor.module +++ b/core/modules/ckeditor/ckeditor.module @@ -6,6 +6,24 @@ */ /** + * Implements hook_help(). + */ +function ckeditor_help($path, $arg) { + switch ($path) { + case 'admin/help#ckeditor': + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('The CKEditor module enhances text area fields such as the Long text field with CKEditor, a visual HTML editor, sometimes referred to as a WYSIWYG (What You See Is What You Get) editor. CKEditor is normally configured to have different behavior depending on which text format is being used for the text area, so that it produces appropriate HTML for each text format. CKEditor allows you to control what kind of HTML the content editors can use. It can, for example, be used to disallow embedding external images in the content or fix broken HTML. For more information, see the online documentation for the CKEditor module.', array('@cke_url'=>'http://ckeditor.com', '@doc_url' => 'https://drupal.org/documentation/modules/ckeditor')) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('Configuring CKEditor') . '
'; + $output .= '
' . t('CKEditor can be enabled for text formats, such as Basic HTML and Full HTML. You can add more text formats that use CKEditor or configure the behaviour of the editor in the Text formats and editors configuration page. By configuring the text format you can decide which buttons and CSS styles are available in CKEditor.', array('@url' => url('admin/config/content/formats'))) . '
'; + $output .= '
'; + return $output; + } +} + +/** * Implements hook_library_info(). */ function ckeditor_library_info() {