You are here

editor.profiles.inc in Editor 6

Same filename and directory in other branches
  1. 5 editor.profiles.inc

Provides default profiles. @author Tj Holowaychuk <http://www.350designs.com/> @package Editor

File

editor.profiles.inc
View source
<?php

/**
 * @file 
 * Provides default profiles.
 * @author Tj Holowaychuk <http://www.350designs.com/>
 * @package Editor
 */

/**
 * Default editor profiles.
 */
function editor_editor_profiles() {
  $profiles = array();

  // Small
  $profile_string = 'bold italic ul li | align_left align_center align_right | link mailto image ';
  $profiles[] = editor_profile_create('small', t('Small'), $profile_string, t('Limits to basic plugins.'));

  // Large
  $profile_string = 'bold italic ul li | align_left align_center align_justify align_right | code php | table link mailto image | undo redo html';
  $profiles[] = editor_profile_create('large', t('Large'), $profile_string, t('All core plugins.'));
  return $profiles;
}

Functions

Namesort descending Description
editor_editor_profiles Default editor profiles.