You are here

function ckeditor_page_build in CKEditor - WYSIWYG HTML editor 7

Implements hook_page_build().

File

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

Code

function ckeditor_page_build(&$page) {

  // Add our CSS file that adds common needed classes, such as align-left,
  // align-right, underline, indent, etc.
  $page['page_bottom']['ckeditor']['#attached']['css'] = array(
    drupal_get_path('module', 'ckeditor') . '/css/ckeditor.css' => array(
      'every_page' => TRUE,
    ),
  );
}