You are here

function ckeditor_process_input in CKEditor - WYSIWYG HTML editor 6

Allow more than 255 chars in Allowed HTML tags textfield

1 string reference to 'ckeditor_process_input'
ckeditor_elements in ./ckeditor.module
Implementation of hook_elements(). Replace the textarea with CKEditor using a callback function (ckeditor_process_textarea)

File

./ckeditor.module, line 285
CKEditor - The text editor for the Internet - http://ckeditor.com Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.

Code

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