You are here

function tinymce_help in TinyMCE 5

Same name and namespace in other branches
  1. 5.2 tinymce.module \tinymce_help()
  2. 6.2 tinymce.module \tinymce_help()
  3. 6 tinymce.module \tinymce_help()
  4. 1.x tinymce.module \tinymce_help()

Implementation of hook_help().

1 call to tinymce_help()
tinymce_profile_form_build in ./tinymce.module
Return an HTML form for profile configuration.

File

./tinymce.module, line 27
Integrate the TinyMCE editor (http://tinymce.moxiecode.com/) into Drupal.

Code

function tinymce_help($section) {
  switch ($section) {
    case 'admin/settings/tinymce#pages':
      return "node/*\nuser/*\ncomment/*";
    case 'admin/settings/tinymce':
    case 'admin/help#tinymce':
      return t('<p style="font-size:x-small">$Revision$ $Date$</p>' . '<p>TinyMCE adds what-you-see-is-what-you-get (WYSIWYG) html editing to textareas. This editor can be enabled/disabled without reloading the page by clicking a link below each textarea.</p>
                <p>Profiles can be defined based on user roles. A TinyMCE profile can define which pages receive this TinyMCE capability, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor functions.</p>
                <p>Lastly, only users with the <code>access tinymce</code> <a href="!url">permission</a> will be able to use TinyMCE.</p>', array(
        '!url' => url('admin/user/access'),
      ));
  }
}