function tinymce_config_form

7.x tinymce.module tinymce_config_form()
6.x tinymce.module tinymce_config_form()
4.x tinymce.module tinymce_config_form()
5.x tinymce.module tinymce_config_form()

File

modules/tinymce/tinymce.module, line 94
The TinyMCE module will init TinyMCE (the editor) on appropriate pages. This module is primarily for managing what those pages are.

Code

function tinymce_config_form() {
  $form = array();

  fp_add_css(fp_get_module_path("tinymce") . "/css/tinymce.css");

  $form ["tinymce_include_on_paths"] = array(
    "label" => t("Include on paths:"),
    "type" => "textarea",
    "value" => variable_get("tinymce_include_on_paths", ""),
    "description" => t("Enter FlightPath paths, one per line, where
                      the TinyMCE plugin should be included.  This step is required before you
                      can make use of the textarea_editor element type (see below).
                      <br>Ex:<br>&nbsp; comments<br>&nbsp; content/*
                      <br>
                      Wildcards are also allowed at the END of the path only.
                      Ex: content/* 
                      <br><br>
                      Note: For developers, make sure you specify a <b>type=textarea_editor</b> for fields which
                      should be rendered with TinyMCE.  Use hook_form_alter to change ordinary textareas into textarea_editor."),
  );


  $form ["tinymce_toolbar"] = array(
    "label" => t("Toolbar:"),
    "type" => "textfield",
    "value" => variable_get("tinymce_toolbar", "bold italic underline | cut copy paste | undo redo | alignleft aligncenter | bullist numlist outdent indent | link unlink | removeformat"),
    "description" => t("Enter the toolbar components (based on TinyMCE's documentation) that you would like to as part of TinyMCE.
                        <br>If unsure what to enter, use:
                        <br>&nbsp; &nbsp; bold italic underline | cut copy paste | undo redo | alignleft aligncenter | bullist numlist outdent indent | link unlink | removeformat"),
  );




  return $form;
}