You are here

function fckeditor_process_input in FCKeditor - WYSIWYG HTML editor 6.2

Same name and namespace in other branches
  1. 5.2 fckeditor.module \fckeditor_process_input()
  2. 6 fckeditor.module \fckeditor_process_input()

Allow more than 255 chars in Allowed HTML tags textfield

1 string reference to 'fckeditor_process_input'
fckeditor_elements in ./fckeditor.module
Implementation of hook_elements(). Replace textarea with FCKeditor using callback function (fckeditor_process_textarea)

File

./fckeditor.module, line 316
FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2008 Frederico Caldeira Knabben

Code

function fckeditor_process_input($element) {
  if ($element['#id'] == 'edit-allowed-html-1') {
    $element['#maxlength'] = max($element['#maxlength'], 1024);
  }
  return $element;
}