function wysiwyg_yui_load in Wysiwyg 6
Same name and namespace in other branches
- 5.2 editors/yui.inc \wysiwyg_yui_load()
- 5 editors/yui.inc \wysiwyg_yui_load()
- 6.2 editors/yui.inc \wysiwyg_yui_load()
- 7.2 editors/yui.inc \wysiwyg_yui_load()
Perform additional actions upon loading this editor.
Parameters
$editor: A processed hook_editor() array of editor properties.
$library: The internal library name (array key) to use.
1 string reference to 'wysiwyg_yui_load'
- wysiwyg_yui_editor in editors/
yui.inc - Plugin implementation of hook_editor().
File
- editors/
yui.inc, line 85
Code
function wysiwyg_yui_load($editor, $library) {
drupal_add_css($editor['library path'] . '/menu/assets/skins/sam/menu.css');
drupal_add_css($editor['library path'] . '/button/assets/skins/sam/button.css');
drupal_add_css($editor['library path'] . '/fonts/fonts-min.css');
drupal_add_css($editor['library path'] . '/container/assets/skins/sam/container.css');
drupal_add_css($editor['library path'] . '/editor/assets/skins/sam/editor.css');
}